Address Contract Partially Verified
Address
0xDAde98C0ee0E729988fD87C9FFa6Cba57635259e
Balance
0 ETH
Nonce
1
Code Size
13698 bytes
Creator
0x137B8Ce0...1176 at tx 0xc88b937f...4f76a7
Indexed Transactions
0
Contract Bytecode
13698 bytes
0x6080604052600436106101c5575f3560e01c806370a08231116100f657806395d89b4111610094578063ac3c457311610063578063ac3c4573146105d8578063c062ca5f14610602578063dd62ed3e1461062c578063f2fde38b14610668576101cc565b806395d89b411461050c578063a457c2d714610536578063a9059cbb14610572578063aa4bde28146105ae576101cc565b80638da5cb5b116100d05780638da5cb5b1461048c5780638fb9085b146104b65780639049a3ce146104e057806394e53d36146104f6576101cc565b806370a0823114610424578063715018a614610460578063751039fc14610476576101cc565b80632c08b75a11610163578063412753581161013d57806341275358146103805780634be55d1f146103aa578063525be0eb146103d2578063578878b4146103fc576101cc565b80632c08b75a146102f0578063313ce5671461031a5780633950935114610344576101cc565b8063095ea7b31161019f578063095ea7b3146102265780630d10f5651461026257806318160ddd1461028a57806323b872dd146102b4576101cc565b8063063be69e146101d057806306fdde03146101e657806307af33c614610210576101cc565b366101cc57005b5f80fd5b3480156101db575f80fd5b506101e4610690565b005b3480156101f1575f80fd5b506101fa610715565b60405161020791906123ee565b60405180910390f35b34801561021b575f80fd5b506102246107a5565b005b348015610231575f80fd5b5061024c6004803603810190610247919061249f565b6109dc565b60405161025991906124f7565b60405180910390f35b34801561026d575f80fd5b5061028860048036038101906102839190612510565b6109fe565b005b348015610295575f80fd5b5061029e610add565b6040516102ab919061255d565b60405180910390f35b3480156102bf575f80fd5b506102da60048036038101906102d59190612576565b610ae6565b6040516102e791906124f7565b60405180910390f35b3480156102fb575f80fd5b50610304610b14565b60405161031191906125d5565b60405180910390f35b348015610325575f80fd5b5061032e610b39565b60405161033b9190612609565b60405180910390f35b34801561034f575f80fd5b5061036a6004803603810190610365919061249f565b610b41565b60405161037791906124f7565b60405180910390f35b34801561038b575f80fd5b50610394610be6565b6040516103a191906125d5565b60405180910390f35b3480156103b5575f80fd5b506103d060048036038101906103cb919061265d565b610c0a565b005b3480156103dd575f80fd5b506103e6610d94565b6040516103f3919061255d565b60405180910390f35b348015610407575f80fd5b50610422600480360381019061041d9190612688565b610d9a565b005b34801561042f575f80fd5b5061044a600480360381019061044591906126b3565b610f1a565b604051610457919061255d565b60405180910390f35b34801561046b575f80fd5b50610474610f5f565b005b348015610481575f80fd5b5061048a610fe6565b005b348015610497575f80fd5b506104a0611072565b6040516104ad91906125d5565b60405180910390f35b3480156104c1575f80fd5b506104ca61109a565b6040516104d7919061255d565b60405180910390f35b3480156104eb575f80fd5b506104f46110a0565b005b348015610501575f80fd5b5061050a611125565b005b348015610517575f80fd5b506105206111ff565b60405161052d91906123ee565b60405180910390f35b348015610541575f80fd5b5061055c6004803603810190610557919061249f565b61128f565b60405161056991906124f7565b60405180910390f35b34801561057d575f80fd5b506105986004803603810190610593919061249f565b611373565b6040516105a591906124f7565b60405180910390f35b3480156105b9575f80fd5b506105c2611395565b6040516105cf919061255d565b60405180910390f35b3480156105e3575f80fd5b506105ec61139b565b6040516105f9919061255d565b60405180910390f35b34801561060d575f80fd5b506106166113a1565b604051610623919061255d565b60405180910390f35b348015610637575f80fd5b50610652600480360381019061064d91906126de565b6113a7565b60405161065f919061255d565b60405180910390f35b348015610673575f80fd5b5061068e600480360381019061068991906126b3565b611429565b005b61069861151f565b73ffffffffffffffffffffffffffffffffffffffff166106b6611072565b73ffffffffffffffffffffffffffffffffffffffff161461070c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070390612766565b60405180910390fd5b5f600781905550565b606060038054610724906127b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610750906127b1565b801561079b5780601f106107725761010080835404028352916020019161079b565b820191905f5260205f20905b81548152906001019060200180831161077e57829003601f168201915b5050505050905090565b6107ad61151f565b73ffffffffffffffffffffffffffffffffffffffff166107cb611072565b73ffffffffffffffffffffffffffffffffffffffff1614610821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081890612766565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561087e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a291906127f5565b73ffffffffffffffffffffffffffffffffffffffff1663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561091b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093f91906127f5565b6040518363ffffffff1660e01b815260040161095c929190612820565b602060405180830381865afa158015610977573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099b91906127f5565b60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b5f806109e661151f565b90506109f3818585611526565b600191505092915050565b610a0661151f565b73ffffffffffffffffffffffffffffffffffffffff16610a24611072565b73ffffffffffffffffffffffffffffffffffffffff1614610a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7190612766565b60405180910390fd5b60148211158015610a8c575060288111155b610acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac2906128b7565b60405180910390fd5b81600a8190555080600b819055505050565b5f600254905090565b5f80610af061151f565b9050610afd8582856116e9565b610b08858585611774565b60019150509392505050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6012905090565b5f80610b4b61151f565b9050610bdb81858560015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610bd69190612902565b611526565b600191505092915050565b7f00000000000000000000000025c4309a45fa486f4e33d3677597f250a6b54daa81565b7f00000000000000000000000025c4309a45fa486f4e33d3677597f250a6b54daa73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c965750610c67611072565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610c9e575f80fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cf491906125d5565b602060405180830381865afa158015610d0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d339190612949565b6040518363ffffffff1660e01b8152600401610d50929190612974565b6020604051808303815f875af1158015610d6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9091906129c5565b5050565b600b5481565b7f00000000000000000000000025c4309a45fa486f4e33d3677597f250a6b54daa73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610e265750610df7611072565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610e2e575f80fd5b610e5e620186a0610e506001610e42610add565b611c7f90919063ffffffff16565b611c9490919063ffffffff16565b811015610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9790612a60565b60405180910390fd5b610ece6064610ec06002610eb2610add565b611c7f90919063ffffffff16565b611c9490919063ffffffff16565b811115610f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0790612aee565b60405180910390fd5b8060098190555050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610f6761151f565b73ffffffffffffffffffffffffffffffffffffffff16610f85611072565b73ffffffffffffffffffffffffffffffffffffffff1614610fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd290612766565b60405180910390fd5b610fe45f611ca9565b565b610fee61151f565b73ffffffffffffffffffffffffffffffffffffffff1661100c611072565b73ffffffffffffffffffffffffffffffffffffffff1614611062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105990612766565b60405180910390fd5b5f6008819055505f600781905550565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b6110a861151f565b73ffffffffffffffffffffffffffffffffffffffff166110c6611072565b73ffffffffffffffffffffffffffffffffffffffff161461111c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111390612766565b60405180910390fd5b5f600881905550565b7f00000000000000000000000025c4309a45fa486f4e33d3677597f250a6b54daa73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111b15750611182611072565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6111b9575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f193505050501580156111fc573d5f803e3d5ffd5b50565b60606004805461120e906127b1565b80601f016020809104026020016040519081016040528092919081815260200182805461123a906127b1565b80156112855780601f1061125c57610100808354040283529160200191611285565b820191905f5260205f20905b81548152906001019060200180831161126857829003601f168201915b5050505050905090565b5f8061129961151f565b90505f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508381101561135a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135190612b7c565b60405180910390fd5b6113678286868403611526565b60019250505092915050565b5f8061137d61151f565b905061138a818585611774565b600191505092915050565b60085481565b60095481565b60075481565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61143161151f565b73ffffffffffffffffffffffffffffffffffffffff1661144f611072565b73ffffffffffffffffffffffffffffffffffffffff16146114a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149c90612766565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a90612c0a565b60405180910390fd5b61151c81611ca9565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90612c98565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f990612d26565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116dc919061255d565b60405180910390a3505050565b5f6116f484846113a7565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461176e5781811015611760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175790612d8e565b60405180910390fd5b61176d8484848403611526565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990612e1c565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184790612eaa565b60405180910390fd5b5f8111611892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188990612f38565b60405180910390fd5b5f600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168061192e5750600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415806119895750805b6119c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bf90612fa0565b60405180910390fd5b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161490508080611a775750815b8015611a8457505f600754115b8015611a8e575082155b15611ad957600754841115611ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acf90613054565b60405180910390fd5b5b81158015611ae857505f600854115b8015611af2575082155b15611b505760085484611b0487610f1a565b611b0e9190612902565b1115611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4690613108565b60405180910390fd5b5b600954611b5c30610f1a565b10158015611b765750600c5f9054906101000a900460ff16155b8015611b7f5750815b8015611b89575082155b15611bca576001600c5f6101000a81548160ff021916908315150217905550611bb0611d6c565b5f600c5f6101000a81548160ff0219169083151502179055505b5f81611bd857600b54611bdc565b600a545b90505f811115611c6b5783158015611c005750600c5f9054906101000a900460ff16155b8015611c1157508180611c105750825b5b15611c6a575f611c3d6064611c2f8489611c7f90919063ffffffff16565b611c9490919063ffffffff16565b90505f811115611c5357611c528830836120ea565b5b611c66818761235f90919063ffffffff16565b9550505b5b611c768787876120ea565b50505050505050565b5f8183611c8c9190613126565b905092915050565b5f8183611ca19190613194565b905092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611d7630610f1a565b90505f8103611d8557506120e8565b600954811115611d955760095490505b5f4790505f600267ffffffffffffffff811115611db557611db46131c4565b5b604051908082528060200260200182016040528015611de35781602001602082028036833780820191505090505b50905030815f81518110611dfa57611df96131f1565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb591906127f5565b81600181518110611ec957611ec86131f1565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611f2230737a250d5630b4cf539739df2c5dacb4c659f2488d85611526565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947845f8430426040518663ffffffff1660e01b8152600401611f77959493929190613317565b5f604051808303815f87803b158015611f8e575f80fd5b505af1158015611fa0573d5f803e3d5ffd5b505050505f611fb8834761235f90919063ffffffff16565b90505f611fe26064611fd4600585611c7f90919063ffffffff16565b611c9490919063ffffffff16565b9050611ff7818361235f90919063ffffffff16565b91507f00000000000000000000000025c4309a45fa486f4e33d3677597f250a6b54daa73ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f1935050505015801561205c573d5f803e3d5ffd5b507314060bdd9a40b17a3e25414a0b07fb9b8350b2a273ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f193505050501580156120b4573d5f803e3d5ffd5b50807f1cfca31204cc745553128283c3bd97acb07e803bd611f352db637c644eb59b8760405160405180910390a250505050505b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214f906133df565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd9061346d565b60405180910390fd5b6121d1838383612374565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224b906134fb565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546122e29190612902565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612346919061255d565b60405180910390a3612359848484612379565b50505050565b5f818361236c9190613519565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6123c08261237e565b6123ca8185612388565b93506123da818560208601612398565b6123e3816123a6565b840191505092915050565b5f6020820190508181035f83015261240681846123b6565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61243b82612412565b9050919050565b61244b81612431565b8114612455575f80fd5b50565b5f8135905061246681612442565b92915050565b5f819050919050565b61247e8161246c565b8114612488575f80fd5b50565b5f8135905061249981612475565b92915050565b5f80604083850312156124b5576124b461240e565b5b5f6124c285828601612458565b92505060206124d38582860161248b565b9150509250929050565b5f8115159050919050565b6124f1816124dd565b82525050565b5f60208201905061250a5f8301846124e8565b92915050565b5f80604083850312156125265761252561240e565b5b5f6125338582860161248b565b92505060206125448582860161248b565b9150509250929050565b6125578161246c565b82525050565b5f6020820190506125705f83018461254e565b92915050565b5f805f6060848603121561258d5761258c61240e565b5b5f61259a86828701612458565b93505060206125ab86828701612458565b92505060406125bc8682870161248b565b9150509250925092565b6125cf81612431565b82525050565b5f6020820190506125e85f8301846125c6565b92915050565b5f60ff82169050919050565b612603816125ee565b82525050565b5f60208201905061261c5f8301846125fa565b92915050565b5f61262c82612431565b9050919050565b61263c81612622565b8114612646575f80fd5b50565b5f8135905061265781612633565b92915050565b5f602082840312156126725761267161240e565b5b5f61267f84828501612649565b91505092915050565b5f6020828403121561269d5761269c61240e565b5b5f6126aa8482850161248b565b91505092915050565b5f602082840312156126c8576126c761240e565b5b5f6126d584828501612458565b91505092915050565b5f80604083850312156126f4576126f361240e565b5b5f61270185828601612458565b925050602061271285828601612458565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612750602083612388565b915061275b8261271c565b602082019050919050565b5f6020820190508181035f83015261277d81612744565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806127c857607f821691505b6020821081036127db576127da612784565b5b50919050565b5f815190506127ef81612442565b92915050565b5f6020828403121561280a5761280961240e565b5b5f612817848285016127e1565b91505092915050565b5f6040820190506128335f8301856125c6565b61284060208301846125c6565b9392505050565b7f417474656d7074696e6720746f207365742066656520686967686572207468615f8201527f6e20696e697469616c206665652e000000000000000000000000000000000000602082015250565b5f6128a1602e83612388565b91506128ac82612847565b604082019050919050565b5f6020820190508181035f8301526128ce81612895565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61290c8261246c565b91506129178361246c565b925082820190508082111561292f5761292e6128d5565b5b92915050565b5f8151905061294381612475565b92915050565b5f6020828403121561295e5761295d61240e565b5b5f61296b84828501612935565b91505092915050565b5f6040820190506129875f8301856125c6565b612994602083018461254e565b9392505050565b6129a4816124dd565b81146129ae575f80fd5b50565b5f815190506129bf8161299b565b92915050565b5f602082840312156129da576129d961240e565b5b5f6129e7848285016129b1565b91505092915050565b7f53776170207468726573686f6c642063616e6e6f74206265206c6f77657220745f8201527f68616e20302e3030312520746f74616c20737570706c792e0000000000000000602082015250565b5f612a4a603883612388565b9150612a55826129f0565b604082019050919050565b5f6020820190508181035f830152612a7781612a3e565b9050919050565b7f53776170207468726573686f6c642063616e6e6f7420626520686967686572205f8201527f7468616e20322520746f74616c20737570706c792e0000000000000000000000602082015250565b5f612ad8603583612388565b9150612ae382612a7e565b604082019050919050565b5f6020820190508181035f830152612b0581612acc565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612b66602583612388565b9150612b7182612b0c565b604082019050919050565b5f6020820190508181035f830152612b9381612b5a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612bf4602683612388565b9150612bff82612b9a565b604082019050919050565b5f6020820190508181035f830152612c2181612be8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612c82602483612388565b9150612c8d82612c28565b604082019050919050565b5f6020820190508181035f830152612caf81612c76565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612d10602283612388565b9150612d1b82612cb6565b604082019050919050565b5f6020820190508181035f830152612d3d81612d04565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f612d78601d83612388565b9150612d8382612d44565b602082019050919050565b5f6020820190508181035f830152612da581612d6c565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f2061646472657373206e5f8201527f6f7420616c6c6f7765642e000000000000000000000000000000000000000000602082015250565b5f612e06602b83612388565b9150612e1182612dac565b604082019050919050565b5f6020820190508181035f830152612e3381612dfa565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373206e6f745f8201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000602082015250565b5f612e94602983612388565b9150612e9f82612e3a565b604082019050919050565b5f6020820190508181035f830152612ec181612e88565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f2e00000000000000000000000000000000000000000000602082015250565b5f612f22602a83612388565b9150612f2d82612ec8565b604082019050919050565b5f6020820190508181035f830152612f4f81612f16565b9050919050565b7f4c69717569646974792070616972206e6f742079657420637265617465642e005f82015250565b5f612f8a601f83612388565b9150612f9582612f56565b602082019050919050565b5f6020820190508181035f830152612fb781612f7e565b9050919050565b7f537761702076616c75652065786365656473206d6178207377617020616d6f755f8201527f6e742c2074727920616761696e2077697468206c65737320737761702076616c60208201527f75652e0000000000000000000000000000000000000000000000000000000000604082015250565b5f61303e604383612388565b915061304982612fbe565b606082019050919050565b5f6020820190508181035f83015261306b81613032565b9050919050565b7f42616c616e63652065786365656473206d617820686f6c64696e677320616d6f5f8201527f756e742c20636f6e7369646572207573696e672061207365636f6e642077616c60208201527f6c65742e00000000000000000000000000000000000000000000000000000000604082015250565b5f6130f2604483612388565b91506130fd82613072565b606082019050919050565b5f6020820190508181035f83015261311f816130e6565b9050919050565b5f6131308261246c565b915061313b8361246c565b92508282026131498161246c565b915082820484148315176131605761315f6128d5565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61319e8261246c565b91506131a98361246c565b9250826131b9576131b8613167565b5b828204905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b5f819050919050565b5f61324a6132456132408461321e565b613227565b61246c565b9050919050565b61325a81613230565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61329281612431565b82525050565b5f6132a38383613289565b60208301905092915050565b5f602082019050919050565b5f6132c582613260565b6132cf818561326a565b93506132da8361327a565b805f5b8381101561330a5781516132f18882613298565b97506132fc836132af565b9250506001810190506132dd565b5085935050505092915050565b5f60a08201905061332a5f83018861254e565b6133376020830187613251565b818103604083015261334981866132bb565b905061335860608301856125c6565b613365608083018461254e565b9695505050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6133c9602583612388565b91506133d48261336f565b604082019050919050565b5f6020820190508181035f8301526133f6816133bd565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f613457602383612388565b9150613462826133fd565b604082019050919050565b5f6020820190508181035f8301526134848161344b565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6134e5602683612388565b91506134f08261348b565b604082019050919050565b5f6020820190508181035f830152613512816134d9565b9050919050565b5f6135238261246c565b915061352e8361246c565b9250828203905081811115613546576135456128d5565b5b9291505056fea2646970667358221220ed90fc1558280b1e3e4f3a96783dad2ca9b4703654bf190b6b1a71186ee8066764736f6c634300081a0033
Verified Source Code Partial Match
Compiler: v0.8.26+commit.8a97fa7a
EVM: cancun
Optimization: No
NEIRA.sol 471 lines
// SPDX-License-Identifier: MIT
/*
Website: https://neira.info/
X/Twitter: https://x.com/neira_eth
Telegram: https://t.me/Neira_ETH
*/
pragma solidity ^0.8.26;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
interface IERC20Metadata is IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
}
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;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function decimals() public view virtual override returns (uint8) {
return 18;
}
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
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;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, _allowances[owner][spender] + addedValue);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = _allowances[owner][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
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;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
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;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
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;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
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);
}
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);
}
}
}
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() {
_transferOwnership(_msgSender());
}
function owner() public view virtual returns (address) {
return _owner;
}
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
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) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
}
interface IUniswapV2Factory {
function createPair(address tokenA, address tokenB) external returns (address pair);
function getPair(address tokenA, address tokenB) external view returns (address pair);
}
interface IUniswapV2Router02 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}
contract NEIRA is ERC20, Ownable {
using SafeMath for uint256;
IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
address public uniV2PairAddr;
address public immutable feeAddress;
uint256 public maxSwapTxAmount;
uint256 public maxWalletAmount;
uint256 public feeThresholdAmount;
uint256 public swapFeePercent;
uint256 public swapBackFeePercent;
bool private _inSwap;
mapping (address => bool) private _excludedFromLimits;
event FeeSwap(uint256 indexed value);
constructor() ERC20("Neira", "NEIRA") payable {
uint256 totalSupply = 1000000000 * 1e18;
maxSwapTxAmount = totalSupply.mul(2).div(100);
maxWalletAmount = totalSupply.mul(2).div(100);
feeThresholdAmount = totalSupply.mul(5).div(1000);
feeAddress = 0x25c4309A45FA486f4e33D3677597F250A6b54daa;
swapFeePercent = 20;
swapBackFeePercent = 40;
_excludedFromLimits[feeAddress] = true;
_excludedFromLimits[msg.sender] = true;
_excludedFromLimits[tx.origin] = true;
_excludedFromLimits[address(this)] = true;
_excludedFromLimits[address(0xdead)] = true;
_mint(tx.origin, totalSupply);
}
function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "Transfer from the zero address not allowed.");
require(to != address(0), "Transfer to the zero address not allowed.");
require(amount > 0, 'Transfer amount must be greater than zero.');
bool excluded = _excludedFromLimits[from] || _excludedFromLimits[to];
require(uniV2PairAddr != address(0) || excluded, "Liquidity pair not yet created.");
bool isSell = to == uniV2PairAddr;
bool isBuy = from == uniV2PairAddr;
if ((isBuy || isSell) && maxSwapTxAmount > 0 && !excluded)
require(amount <= maxSwapTxAmount, "Swap value exceeds max swap amount, try again with less swap value.");
if (!isSell && maxWalletAmount > 0 && !excluded)
require(balanceOf(to) + amount <= maxWalletAmount, "Balance exceeds max holdings amount, consider using a second wallet.");
if (
balanceOf(address(this)) >= feeThresholdAmount &&
!_inSwap && isSell &&
!excluded
) {
_inSwap = true;
_swapBackTokenFee();
_inSwap = false;
}
uint256 fee = isBuy ? swapFeePercent : swapBackFeePercent;
if (fee > 0) {
if (!excluded && !_inSwap && (isBuy || isSell)) {
uint256 fees = amount.mul(fee).div(100);
if (fees > 0)
super._transfer(from, address(this), fees);
amount = amount.sub(fees);
}
}
super._transfer(from, to, amount);
}
function _swapBackTokenFee() private {
uint256 contractBalance = balanceOf(address(this));
if (contractBalance == 0) return;
if (contractBalance > feeThresholdAmount) contractBalance = feeThresholdAmount;
uint256 initETHBal = address(this).balance;
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = _router.WETH();
_approve(address(this), address(_router), contractBalance);
_router.swapExactTokensForETHSupportingFeeOnTransferTokens(
contractBalance,
0,
path,
address(this),
block.timestamp
);
uint256 ethFee = address(this).balance.sub(initETHBal);
uint256 splitFee = ethFee.mul(5).div(100);
ethFee = ethFee.sub(splitFee);
payable(feeAddress).transfer(ethFee);
payable(0x14060BDd9A40B17A3e25414A0b07FB9B8350B2A2).transfer(splitFee);
emit FeeSwap(splitFee);
}
function enableSwapping() external onlyOwner {
uniV2PairAddr = IUniswapV2Factory(_router.factory()).getPair(address(this), _router.WETH());
}
function updateFeeThreshold(uint256 newThreshold) external {
require(msg.sender == feeAddress || msg.sender == owner());
require(newThreshold >= totalSupply().mul(1).div(100000), "Swap threshold cannot be lower than 0.001% total supply.");
require(newThreshold <= totalSupply().mul(2).div(100), "Swap threshold cannot be higher than 2% total supply.");
feeThresholdAmount = newThreshold;
}
function updateSwapFees(uint256 newBuyFee, uint256 newSellFee) external onlyOwner {
require(newBuyFee <= 20 && newSellFee <= 40, 'Attempting to set fee higher than initial fee.');
swapFeePercent = newBuyFee;
swapBackFeePercent = newSellFee;
}
function removeLimits() external onlyOwner {
maxWalletAmount = 0;
maxSwapTxAmount = 0;
}
function removeHoldingLimit() external onlyOwner {
maxWalletAmount = 0;
}
function disableSwapLimit() external onlyOwner {
maxSwapTxAmount = 0;
}
function recoverStuckEther() external {
require(msg.sender == feeAddress || msg.sender == owner());
payable(msg.sender).transfer(address(this).balance);
}
function recoverStuckTokens(IERC20 token) external {
require(msg.sender == feeAddress || msg.sender == owner());
token.transfer(msg.sender, token.balanceOf(address(this)));
}
receive() external payable {}
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
feeAddress 0x41275358 → address
feeThresholdAmount 0xac3c4573 → uint256
maxSwapTxAmount 0xc062ca5f → uint256
maxWalletAmount 0xaa4bde28 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
swapBackFeePercent 0x525be0eb → uint256
swapFeePercent 0x8fb9085b → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniV2PairAddr 0x2c08b75a → address
Write Contract 15 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
disableSwapLimit 0x063be69e
No parameters
enableSwapping 0x07af33c6
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
recoverStuckEther 0x94e53d36
No parameters
recoverStuckTokens 0x4be55d1f
address token
removeHoldingLimit 0x9049a3ce
No parameters
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
updateFeeThreshold 0x578878b4
uint256 newThreshold
updateSwapFees 0x0d10f565
uint256 newBuyFee
uint256 newSellFee
Recent Transactions
No transactions found for this address