Address Contract Verified
Address
0xe5dF2430bD1B14D3fb9050ef368a94e9477642b4
Balance
0 ETH
Nonce
1
Code Size
10984 bytes
Creator
0x120A7fE3...5970 at tx 0xfc82a1e4...f39c04
Indexed Transactions
0
Contract Bytecode
10984 bytes
0x608060405260043610610169575f3560e01c8063553fe05d116100d05780638ea5220f11610089578063a9059cbb11610063578063a9059cbb14610524578063ab3b554514610560578063dd62ed3e14610588578063f2fde38b146105c457610170565b80638ea5220f1461049457806395d89b41146104be578063a457c2d7146104e857610170565b8063553fe05d146103b057806370a08231146103da578063715018a61461041657806374c9f6031461042c578063751039fc146104545780638da5cb5b1461046a57610170565b80632dc0562d116101225780632dc0562d146102905780632e8fa821146102ba578063313ce567146102e4578063395093511461030e5780634a62bb651461034a5780634fbee1931461037457610170565b806306fdde0314610174578063095ea7b31461019e57806316697fc5146101da57806318160ddd146102025780631816467f1461022c57806323b872dd1461025457610170565b3661017057005b5f80fd5b34801561017f575f80fd5b506101886105ec565b6040516101959190611cbf565b60405180910390f35b3480156101a9575f80fd5b506101c460048036038101906101bf9190611d70565b61067c565b6040516101d19190611dc8565b60405180910390f35b3480156101e5575f80fd5b5061020060048036038101906101fb9190611e0b565b61069e565b005b34801561020d575f80fd5b506102166106fe565b6040516102239190611e58565b60405180910390f35b348015610237575f80fd5b50610252600480360381019061024d9190611e71565b610707565b005b34801561025f575f80fd5b5061027a60048036038101906102759190611e9c565b610824565b6040516102879190611dc8565b60405180910390f35b34801561029b575f80fd5b506102a4610852565b6040516102b19190611efb565b60405180910390f35b3480156102c5575f80fd5b506102ce610877565b6040516102db9190611e58565b60405180910390f35b3480156102ef575f80fd5b506102f861087d565b6040516103059190611f2f565b60405180910390f35b348015610319575f80fd5b50610334600480360381019061032f9190611d70565b610885565b6040516103419190611dc8565b60405180910390f35b348015610355575f80fd5b5061035e6108bb565b60405161036b9190611dc8565b60405180910390f35b34801561037f575f80fd5b5061039a60048036038101906103959190611e71565b6108ce565b6040516103a79190611dc8565b60405180910390f35b3480156103bb575f80fd5b506103c46108eb565b6040516103d19190611efb565b60405180910390f35b3480156103e5575f80fd5b5061040060048036038101906103fb9190611e71565b610910565b60405161040d9190611e58565b60405180910390f35b348015610421575f80fd5b5061042a610956565b005b348015610437575f80fd5b50610452600480360381019061044d9190611e71565b610969565b005b34801561045f575f80fd5b50610468610a86565b005b348015610475575f80fd5b5061047e610b1d565b60405161048b9190611efb565b60405180910390f35b34801561049f575f80fd5b506104a8610b44565b6040516104b59190611efb565b60405180910390f35b3480156104c9575f80fd5b506104d2610b69565b6040516104df9190611cbf565b60405180910390f35b3480156104f3575f80fd5b5061050e60048036038101906105099190611d70565b610bf9565b60405161051b9190611dc8565b60405180910390f35b34801561052f575f80fd5b5061054a60048036038101906105459190611d70565b610c6e565b6040516105579190611dc8565b60405180910390f35b34801561056b575f80fd5b5061058660048036038101906105819190611f48565b610c90565b005b348015610593575f80fd5b506105ae60048036038101906105a99190611f73565b610cfc565b6040516105bb9190611e58565b60405180910390f35b3480156105cf575f80fd5b506105ea60048036038101906105e59190611e71565b610d7e565b005b6060600480546105fb90611fde565b80601f016020809104026020016040519081016040528092919081815260200182805461062790611fde565b80156106725780601f1061064957610100808354040283529160200191610672565b820191905f5260205f20905b81548152906001019060200180831161065557829003601f168201915b5050505050905090565b5f80610686610e00565b9050610693818585610e07565b600191505092915050565b6106a6610fca565b80600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f600354905090565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610747610e00565b73ffffffffffffffffffffffffffffffffffffffff1614806107a2575061076c610b1d565b73ffffffffffffffffffffffffffffffffffffffff1661078a610e00565b73ffffffffffffffffffffffffffffffffffffffff16145b6107e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d890612058565b60405180910390fd5b80600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f8061082e610e00565b905061083b858285611048565b6108468585856110d3565b60019150509392505050565b600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b5f6012905090565b5f8061088f610e00565b90506108b08185856108a18589610cfc565b6108ab91906120a3565b610e07565b600191505092915050565b600c60149054906101000a900460ff1681565b600d602052805f5260405f205f915054906101000a900460ff1681565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61095e610fca565b6109675f6114f6565b565b600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166109a9610e00565b73ffffffffffffffffffffffffffffffffffffffff161480610a0457506109ce610b1d565b73ffffffffffffffffffffffffffffffffffffffff166109ec610e00565b73ffffffffffffffffffffffffffffffffffffffff16145b610a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3a90612058565b60405180910390fd5b80600b5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a8e610fca565b600c60149054906101000a900460ff16610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad490612120565b60405180910390fd5b5f600c60146101000a81548160ff0219169083151502179055506a52b7d2dcc80cd2e40000006007819055506a52b7d2dcc80cd2e4000000600681905550565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060058054610b7890611fde565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba490611fde565b8015610bef5780601f10610bc657610100808354040283529160200191610bef565b820191905f5260205f20905b815481529060010190602001808311610bd257829003601f168201915b5050505050905090565b5f80610c03610e00565b90505f610c108286610cfc565b905083811015610c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4c906121ae565b60405180910390fd5b610c628286868403610e07565b60019250505092915050565b5f80610c78610e00565b9050610c858185856110d3565b600191505092915050565b610c98610fca565b60326a52b7d2dcc80cd2e4000000610cb091906121f9565b811115610cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce990612299565b60405180910390fd5b8060098190555050565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610d86610fca565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610deb90612327565b60405180910390fd5b610dfd816114f6565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c906123b5565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eda90612443565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610fbd9190611e58565b60405180910390a3505050565b610fd2610e00565b73ffffffffffffffffffffffffffffffffffffffff16610ff0610b1d565b73ffffffffffffffffffffffffffffffffffffffff1614611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d906124ab565b60405180910390fd5b565b5f6110538484610cfc565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146110cd57818110156110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690612513565b60405180910390fd5b6110cc8484848403610e07565b5b50505050565b600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168061116e5750600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b8061121f5750600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561121e5750600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b5b80611235575060085f9054906101000a900460ff165b1561124a576112458383836115b7565b6114f1565b600c60149054906101000a900460ff16156113ff57600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806113065750600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561135157600654811115611350576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113479061257b565b60405180910390fd5b5b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146113fe57600754816113b284610910565b6113bc91906120a3565b11156113fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f4906125e3565b60405180910390fd5b5b5b5f606460058361140f9190612601565b61141991906121f9565b9050600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015611481575060095461147e30610910565b10155b156114c257600160085f6101000a81548160ff0219169083151502179055506114a8611826565b5f60085f6101000a81548160ff0219169083151502179055505b5f8111156114e4576114d58430836115b7565b80826114e19190612642565b91505b6114ef8484846115b7565b505b505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161c906126e5565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a90612773565b60405180910390fd5b61169e838383611c2b565b5f60015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171990612801565b60405180910390fd5b81810360015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161180d9190611e58565b60405180910390a3611820848484611c30565b50505050565b5f600267ffffffffffffffff8111156118425761184161281f565b5b6040519080825280602002602001820160405280156118705781602001602082028036833780820191505090505b50905030815f815181106118875761188661284c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561192a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061194e919061288d565b816001815181106119625761196161284c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506119c9307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d600954610e07565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac9476009545f8430426040518663ffffffff1660e01b8152600401611a2c9594939291906129b1565b5f604051808303815f87803b158015611a43575f80fd5b505af1158015611a55573d5f803e3d5ffd5b505050505f4790505f811115611c27575f6064605083611a759190612601565b611a7f91906121f9565b90505f8183611a8e9190612642565b90505f600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051611ad690612a36565b5f6040518083038185875af1925050503d805f8114611b10576040519150601f19603f3d011682016040523d82523d5f602084013e611b15565b606091505b5050905080611b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5090612a94565b60405180910390fd5b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611b9e90612a36565b5f6040518083038185875af1925050503d805f8114611bd8576040519150601f19603f3d011682016040523d82523d5f602084013e611bdd565b606091505b50508091505080611c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1a90612a94565b60405180910390fd5b5050505b5050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611c6c578082015181840152602081019050611c51565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611c9182611c35565b611c9b8185611c3f565b9350611cab818560208601611c4f565b611cb481611c77565b840191505092915050565b5f6020820190508181035f830152611cd78184611c87565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611d0c82611ce3565b9050919050565b611d1c81611d02565b8114611d26575f80fd5b50565b5f81359050611d3781611d13565b92915050565b5f819050919050565b611d4f81611d3d565b8114611d59575f80fd5b50565b5f81359050611d6a81611d46565b92915050565b5f8060408385031215611d8657611d85611cdf565b5b5f611d9385828601611d29565b9250506020611da485828601611d5c565b9150509250929050565b5f8115159050919050565b611dc281611dae565b82525050565b5f602082019050611ddb5f830184611db9565b92915050565b611dea81611dae565b8114611df4575f80fd5b50565b5f81359050611e0581611de1565b92915050565b5f8060408385031215611e2157611e20611cdf565b5b5f611e2e85828601611d29565b9250506020611e3f85828601611df7565b9150509250929050565b611e5281611d3d565b82525050565b5f602082019050611e6b5f830184611e49565b92915050565b5f60208284031215611e8657611e85611cdf565b5b5f611e9384828501611d29565b91505092915050565b5f805f60608486031215611eb357611eb2611cdf565b5b5f611ec086828701611d29565b9350506020611ed186828701611d29565b9250506040611ee286828701611d5c565b9150509250925092565b611ef581611d02565b82525050565b5f602082019050611f0e5f830184611eec565b92915050565b5f60ff82169050919050565b611f2981611f14565b82525050565b5f602082019050611f425f830184611f20565b92915050565b5f60208284031215611f5d57611f5c611cdf565b5b5f611f6a84828501611d5c565b91505092915050565b5f8060408385031215611f8957611f88611cdf565b5b5f611f9685828601611d29565b9250506020611fa785828601611d29565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611ff557607f821691505b60208210810361200857612007611fb1565b5b50919050565b7f4e6f7420617574686f72697a65640000000000000000000000000000000000005f82015250565b5f612042600e83611c3f565b915061204d8261200e565b602082019050919050565b5f6020820190508181035f83015261206f81612036565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6120ad82611d3d565b91506120b883611d3d565b92508282019050808211156120d0576120cf612076565b5b92915050565b7f4c696d69747320616c72656164792072656d6f766564000000000000000000005f82015250565b5f61210a601683611c3f565b9150612115826120d6565b602082019050919050565b5f6020820190508181035f830152612137816120fe565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612198602583611c3f565b91506121a38261213e565b604082019050919050565b5f6020820190508181035f8301526121c58161218c565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61220382611d3d565b915061220e83611d3d565b92508261221e5761221d6121cc565b5b828204905092915050565b7f56616c7565206d757374206265206c657373207468616e206f7220657175616c5f8201527f20746f20535550504c59202f2035300000000000000000000000000000000000602082015250565b5f612283602f83611c3f565b915061228e82612229565b604082019050919050565b5f6020820190508181035f8301526122b081612277565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612311602683611c3f565b915061231c826122b7565b604082019050919050565b5f6020820190508181035f83015261233e81612305565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61239f602483611c3f565b91506123aa82612345565b604082019050919050565b5f6020820190508181035f8301526123cc81612393565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f61242d602283611c3f565b9150612438826123d3565b604082019050919050565b5f6020820190508181035f83015261245a81612421565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612495602083611c3f565b91506124a082612461565b602082019050919050565b5f6020820190508181035f8301526124c281612489565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f6124fd601d83611c3f565b9150612508826124c9565b602082019050919050565b5f6020820190508181035f83015261252a816124f1565b9050919050565b7f4d617820547820457863656564656400000000000000000000000000000000005f82015250565b5f612565600f83611c3f565b915061257082612531565b602082019050919050565b5f6020820190508181035f83015261259281612559565b9050919050565b7f4d61782057616c6c6574204578636565646564000000000000000000000000005f82015250565b5f6125cd601383611c3f565b91506125d882612599565b602082019050919050565b5f6020820190508181035f8301526125fa816125c1565b9050919050565b5f61260b82611d3d565b915061261683611d3d565b925082820261262481611d3d565b9150828204841483151761263b5761263a612076565b5b5092915050565b5f61264c82611d3d565b915061265783611d3d565b925082820390508181111561266f5761266e612076565b5b92915050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6126cf602583611c3f565b91506126da82612675565b604082019050919050565b5f6020820190508181035f8301526126fc816126c3565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61275d602383611c3f565b915061276882612703565b604082019050919050565b5f6020820190508181035f83015261278a81612751565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6127eb602683611c3f565b91506127f682612791565b604082019050919050565b5f6020820190508181035f830152612818816127df565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f8151905061288781611d13565b92915050565b5f602082840312156128a2576128a1611cdf565b5b5f6128af84828501612879565b91505092915050565b5f819050919050565b5f819050919050565b5f6128e46128df6128da846128b8565b6128c1565b611d3d565b9050919050565b6128f4816128ca565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61292c81611d02565b82525050565b5f61293d8383612923565b60208301905092915050565b5f602082019050919050565b5f61295f826128fa565b6129698185612904565b935061297483612914565b805f5b838110156129a457815161298b8882612932565b975061299683612949565b925050600181019050612977565b5085935050505092915050565b5f60a0820190506129c45f830188611e49565b6129d160208301876128eb565b81810360408301526129e38186612955565b90506129f26060830185611eec565b6129ff6080830184611e49565b9695505050505050565b5f81905092915050565b50565b5f612a215f83612a09565b9150612a2c82612a13565b5f82019050919050565b5f612a4082612a16565b9150819050919050565b7f4661696c656420746f2073656e642045746865720000000000000000000000005f82015250565b5f612a7e601483611c3f565b9150612a8982612a4a565b602082019050919050565b5f6020820190508181035f830152612aab81612a72565b905091905056fea2646970667358221220304fc5ed95bc2a89d04133e8e86d14eeac2e3828bf23889060e1e477569a9f8e64736f6c63430008150033
Verified Source Code Full Match
Compiler: v0.8.21+commit.d9974bed
EVM: shanghai
Optimization: No
TAONET.sol 173 lines
/** * @title TAONET is constructed as a unique Parachain, full of promise, and focuses on expanding the capabilities of the Bittensor network. * @author [email protected] * Website: https://taonet.ai * Twitter: https://twitter.com/taonetai * Telegram: https://t.me/taonetai * Documentation: https://docs.taonet.ai */ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.21; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IUniswapV2Router02} from "./IUniswapRouter.sol"; import {IUniswapV2Factory} from "./IUniswapFactory.sol"; contract TAONET is Ownable, ERC20 { IUniswapV2Router02 immutable router; uint256 constant TOTAL_SUPPLY = 100_000_000 ether; uint256 constant TX_FEE = 5; uint256 private _maxAmount; uint256 private _maxTx; bool private _inSwap = false; uint256 public swapAmount; address public v2Pool; address public taxWallet; address public devWallet; bool public limitsInEffect; mapping(address => bool) public isExcludedFromFees; constructor(address _taxWallet) ERC20("TaoNet", "TAONET") { taxWallet = _taxWallet; devWallet = _msgSender(); _maxAmount = TOTAL_SUPPLY / 100; _maxTx = _maxAmount; limitsInEffect = true; swapAmount = TOTAL_SUPPLY / 1000; router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); v2Pool = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); isExcludedFromFees[_msgSender()] = true; isExcludedFromFees[address(this)] = true; isExcludedFromFees[address(router)] = true; _mint(_msgSender(), TOTAL_SUPPLY); } function updateSwapAmount(uint256 value) external onlyOwner { require( value <= TOTAL_SUPPLY / 50, "Value must be less than or equal to SUPPLY / 50" ); swapAmount = value; } function excludedFromFees( address _address, bool _value ) external onlyOwner { isExcludedFromFees[_address] = _value; } function removeLimits() external onlyOwner { require(limitsInEffect, "Limits already removed"); limitsInEffect = false; _maxTx = TOTAL_SUPPLY; _maxAmount = TOTAL_SUPPLY; } function _transfer( address from, address to, uint256 amount ) internal override { if ( isExcludedFromFees[from] || isExcludedFromFees[to] || (to != v2Pool && from != v2Pool) || _inSwap ) { super._transfer(from, to, amount); return; } if (limitsInEffect) { if (from == v2Pool || to == v2Pool) { require(amount <= _maxAmount, "Max Tx Exceeded"); } if (to != v2Pool) { require( balanceOf(to) + amount <= _maxTx, "Max Wallet Exceeded" ); } } uint256 fees = (amount * TX_FEE) / 100; if (to == v2Pool && balanceOf(address(this)) >= swapAmount) { _inSwap = true; _swapTokenForETH(); _inSwap = false; } if (fees > 0) { super._transfer(from, address(this), fees); amount = amount - fees; } super._transfer(from, to, amount); } function _swapTokenForETH() private { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), swapAmount); router.swapExactTokensForETHSupportingFeeOnTransferTokens( swapAmount, 0, path, address(this), block.timestamp ); uint256 _balance = address(this).balance; if (_balance > 0) { uint256 amount1 = (_balance * 80) / 100; uint256 amount2 = _balance - amount1; (bool sent, ) = payable(taxWallet).call{value: amount1}(""); require(sent, "Failed to send Ether"); (sent, ) = payable(devWallet).call{value: amount2}(""); require(sent, "Failed to send Ether"); } } function updateTaxWallet(address _newAddress) external { require( _msgSender() == taxWallet || _msgSender() == owner(), "Not authorized" ); taxWallet = _newAddress; } function updateDevWallet(address _newAddress) external { require( _msgSender() == devWallet || _msgSender() == owner(), "Not authorized" ); devWallet = _newAddress; } receive() external payable {} }
IUniswapRouter.sol 199 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
)
external
payable
returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable returns (uint[] memory amounts);
function swapTokensForExactETH(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactTokensForETH(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapETHForExactTokens(
uint amountOut,
address[] calldata path,
address to,
uint deadline
) external payable returns (uint[] memory amounts);
function quote(
uint amountA,
uint reserveA,
uint reserveB
) external pure returns (uint amountB);
function getAmountOut(
uint amountIn,
uint reserveIn,
uint reserveOut
) external pure returns (uint amountOut);
function getAmountIn(
uint amountOut,
uint reserveIn,
uint reserveOut
) external pure returns (uint amountIn);
function getAmountsOut(
uint amountIn,
address[] calldata path
) external view returns (uint[] memory amounts);
function getAmountsIn(
uint amountOut,
address[] calldata path
) external view returns (uint[] memory amounts);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}
IUniswapFactory.sol 34 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
interface IUniswapV2Factory {
event PairCreated(
address indexed token0,
address indexed token1,
address pair,
uint
);
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(uint) external view returns (address pair);
function allPairsLength() external view returns (uint);
function createPair(
address tokenA,
address tokenB
) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
Context.sol 24 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @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;
}
}
Ownable.sol 83 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @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);
}
}
ERC20.sol 365 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(address from, address to, uint256 amount) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}
IERC20.sol 78 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @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);
}
IERC20Metadata.sol 28 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
devWallet 0x8ea5220f → address
isExcludedFromFees 0x4fbee193 → bool
limitsInEffect 0x4a62bb65 → bool
name 0x06fdde03 → string
owner 0x8da5cb5b → address
swapAmount 0x2e8fa821 → uint256
symbol 0x95d89b41 → string
taxWallet 0x2dc0562d → address
totalSupply 0x18160ddd → uint256
v2Pool 0x553fe05d → address
Write Contract 12 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
excludedFromFees 0x16697fc5
address _address
bool _value
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateDevWallet 0x1816467f
address _newAddress
updateSwapAmount 0xab3b5545
uint256 value
updateTaxWallet 0x74c9f603
address _newAddress
Recent Transactions
No transactions found for this address