Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xDd66781D0E9a08D4FBb5eC7BAc80B691BE27F21D
Balance 1.0175 ETH
Nonce 1
Code Size 19451 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

19451 bytes
0x6080604052600436106102085760003560e01c806370a0823111610118578063a457c2d7116100a0578063cba0e9961161006f578063cba0e99614610776578063d9e2b9f6146107b3578063dd62ed3e146107dc578063e2f4560514610819578063f2fde38b146108445761020f565b8063a457c2d7146106aa578063a6f9dae1146106e7578063a9059cbb14610710578063b374e1c61461074d5761020f565b80638da5cb5b116100e75780638da5cb5b146105d557806395d89b411461060057806397b4e10a1461062b57806398118cb414610654578063a0be06f91461067f5761020f565b806370a082311461052d578063715018a61461056a57806373ece43514610581578063762bb282146105aa5761020f565b806327ea6f2b1161019b57806336b19cd71161016a57806336b19cd714610446578063395093511461047157806349bd5a5e146104ae5780636402511e146104d9578063664a1ad6146105025761020f565b806327ea6f2b1461039e578063313ce567146103c757806333abd028146103f2578063350829331461041d5761020f565b80631419841d116101d75780631419841d146102e25780631694505e1461030b57806318160ddd1461033657806323b872dd146103615761020f565b806306fdde0314610214578063095ea7b31461023f5780630996f4ea1461027c57806309c58ac1146102a55761020f565b3661020f57005b600080fd5b34801561022057600080fd5b5061022961086d565b6040516102369190613ea1565b60405180910390f35b34801561024b57600080fd5b5061026660048036038101906102619190613884565b6108ff565b6040516102739190613e6b565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190613757565b61091d565b005b3480156102b157600080fd5b506102cc60048036038101906102c79190613757565b610bb6565b6040516102d99190613e6b565b60405180910390f35b3480156102ee57600080fd5b5061030960048036038101906103049190613757565b610bd6565b005b34801561031757600080fd5b5061032061109c565b60405161032d9190613e86565b60405180910390f35b34801561034257600080fd5b5061034b6110c2565b60405161035891906141b5565b60405180910390f35b34801561036d57600080fd5b50610388600480360381019061038391906137f1565b6110cc565b6040516103959190613e6b565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c09190613917565b6111cd565b005b3480156103d357600080fd5b506103dc61130b565b6040516103e9919061422a565b60405180910390f35b3480156103fe57600080fd5b50610407611314565b6040516104149190614163565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f9190613757565b611328565b005b34801561045257600080fd5b5061045b6115c1565b6040516104689190613d9d565b60405180910390f35b34801561047d57600080fd5b5061049860048036038101906104939190613884565b6115e7565b6040516104a59190613e6b565b60405180910390f35b3480156104ba57600080fd5b506104c3611693565b6040516104d09190613d9d565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190613917565b6116b9565b005b34801561050e57600080fd5b5061051761183b565b6040516105249190613d9d565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f9190613757565b611861565b60405161056191906141b5565b60405180910390f35b34801561057657600080fd5b5061057f6118a9565b005b34801561058d57600080fd5b506105a860048036038101906105a391906138c4565b611a01565b005b3480156105b657600080fd5b506105bf611be3565b6040516105cc91906141b5565b60405180910390f35b3480156105e157600080fd5b506105ea611be9565b6040516105f79190613d9d565b60405180910390f35b34801561060c57600080fd5b50610615611c13565b6040516106229190613ea1565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d9190613917565b611ca5565b005b34801561066057600080fd5b50610669611d50565b6040516106769190614163565b60405180910390f35b34801561068b57600080fd5b50610694611d64565b6040516106a19190614163565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc9190613884565b611d78565b6040516106de9190613e6b565b60405180910390f35b3480156106f357600080fd5b5061070e60048036038101906107099190613757565b611e6c565b005b34801561071c57600080fd5b5061073760048036038101906107329190613884565b612075565b6040516107449190613e6b565b60405180910390f35b34801561075957600080fd5b50610774600480360381019061076f9190613844565b612093565b005b34801561078257600080fd5b5061079d60048036038101906107989190613757565b612218565b6040516107aa9190613e6b565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d59190613844565b612238565b005b3480156107e857600080fd5b5061080360048036038101906107fe91906137b1565b6123bd565b60405161081091906141b5565b60405180910390f35b34801561082557600080fd5b5061082e612444565b60405161083b91906141b5565b60405180910390f35b34801561085057600080fd5b5061086b60048036038101906108669190613757565b61244a565b005b60606003805461087c906144c5565b80601f01602080910402602001604051908101604052809291908181526020018280546108a8906144c5565b80156108f55780601f106108ca576101008083540402835291602001916108f5565b820191906000526020600020905b8154815290600101906020018083116108d857829003601f168201915b5050505050905090565b600061091361090c612611565b8484612619565b6001905092915050565b610925612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ab90614023565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610a3f57508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b610a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7590614063565b60405180910390fd5b6000600c6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600d6020528060005260406000206000915054906101000a900460ff1681565b610bde612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6490614023565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610cba57600080fd5b505afa158015610cce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf29190613784565b905060008173ffffffffffffffffffffffffffffffffffffffff1663e6a43905308573ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610d5957600080fd5b505afa158015610d6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d919190613784565b6040518363ffffffff1660e01b8152600401610dae929190613db8565b60206040518083038186803b158015610dc657600080fd5b505afa158015610dda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dfe9190613784565b905060008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f47578273ffffffffffffffffffffffffffffffffffffffff1663c9c65396308673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610e9957600080fd5b505afa158015610ead573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed19190613784565b6040518363ffffffff1660e01b8152600401610eee929190613db8565b602060405180830381600087803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f409190613784565b9050610f4b565b8190505b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb290613f03565b60405180910390fd5b83600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600254905090565b60006110d98484846127e4565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000611124612611565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156111a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119b90614003565b60405180910390fd5b6111c1856111b0612611565b85846111bc91906143b3565b612619565b60019150509392505050565b6111d5612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b90614023565b60405180910390fd5b670de0b6b3a7640000620f424061127b9190614359565b8111801561128b57508060095414155b6112ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c190613f23565b60405180910390fd5b806009819055507f479881bf41e329f328c21c2cbb11514b05a021cd33ea4e5a576ea6bc03874fd68160405161130091906141b5565b60405180910390a150565b60006012905090565b600b60189054906101000a900461ffff1681565b611330612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690614023565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561144a57508073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090614063565b60405180910390fd5b6000600c6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006116896115f4612611565b848460016000611602612611565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461168491906142d2565b612619565b6001905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116c1612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174790614023565b60405180910390fd5b606461175a6110c2565b600a60ff166117699190614359565b6117739190614328565b8111156117b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ac90613fe3565b60405180910390fd5b8060085414156117fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f190613fc3565b60405180910390fd5b806008819055507f52c7826ed27bfb18ed3130f9306befb9572f2333e36e104330587d66b2f0d6c68160405161183091906141b5565b60405180910390a150565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118b1612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193790614023565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611a09612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8f90614023565b60405180910390fd5b808284611aa5919061429a565b611aaf919061429a565b61ffff166000108015611add57506109c4818385611acd919061429a565b611ad7919061429a565b61ffff16105b611b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1390613f43565b60405180910390fd5b82600b60146101000a81548161ffff021916908361ffff16021790555081600b60166101000a81548161ffff021916908361ffff16021790555080600b60186101000a81548161ffff021916908361ffff1602179055507f749c1e19e7730253c4c79e5dd6cf9f440f959897930d2d7afbb230284ec7711c600b60149054906101000a900461ffff16600b60169054906101000a900461ffff16600b60189054906101000a900461ffff16604051611bd69392919061417e565b60405180910390a1505050565b60095481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611c22906144c5565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4e906144c5565b8015611c9b5780601f10611c7057610100808354040283529160200191611c9b565b820191906000526020600020905b815481529060010190602001808311611c7e57829003601f168201915b5050505050905090565b611cad612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3390614023565b60405180910390fd5b611d4d611d47611be9565b82612bba565b50565b600b60149054906101000a900461ffff1681565b600b60169054906101000a900461ffff1681565b60008060016000611d87612611565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611e44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3b90614143565b60405180910390fd5b611e61611e4f612611565b858584611e5c91906143b3565b612619565b600191505092915050565b611e74612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa90614023565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015611f7357508073ffffffffffffffffffffffffffffffffffffffff16611f5a611be9565b73ffffffffffffffffffffffffffffffffffffffff1614155b611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614063565b60405180910390fd5b6000600c6000611fc0611be9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061201a8161244a565b6001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000612089612082612611565b84846127e4565b6001905092915050565b61209b612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461212a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212190614023565b60405180910390fd5b801515600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156121bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b4906140c3565b60405180910390fd5b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b612240612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c690614023565b60405180910390fd5b801515600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415612362576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612359906140e3565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60085481565b612452612611565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146124e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d890614023565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254890613f63565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268090614103565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f090613f83565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516127d791906141b5565b60405180910390a3505050565b60008114156127fe576127f983836000612d8e565b612bb5565b600061280930611861565b90506000600854821015905080801561282f5750600760149054906101000a900460ff16155b80156128895750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b80156128c85750612898611be9565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b801561290757506128d7611be9565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15612954576001600760146101000a81548160ff0219169083151502179055506129308261300d565b6129386130fe565b6000600760146101000a81548160ff0219169083151502179055505b600760149054906101000a900460ff16612afd576000600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015612a695750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161480612a685750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b5b15612a7357600190505b8015612afb576000612710600b60189054906101000a900461ffff16600b60169054906101000a900461ffff16600b60149054906101000a900461ffff16612abb919061429a565b612ac5919061429a565b61ffff1686612ad49190614359565b612ade9190614328565b90508085612aec91906143b3565b9450612af9873083612d8e565b505b505b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612ba75760095483612b5b86611861565b612b6591906142d2565b1115612ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9d90614123565b60405180910390fd5b5b612bb2858585612d8e565b50505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2190614043565b60405180910390fd5b612c3682600083613376565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb390613ee3565b60405180910390fd5b8181612cc891906143b3565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612d1c91906143b3565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612d8191906141b5565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df5906140a3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6590613ec3565b60405180910390fd5b612e79838383613376565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef690613fa3565b60405180910390fd5b8181612f0b91906143b3565b6000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f9b91906142d2565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612fff91906141b5565b60405180910390a350505050565b6000600b60169054906101000a900461ffff16600b60189054906101000a900461ffff16600b60149054906101000a900461ffff1661304c919061429a565b613056919061429a565b61ffff16600b60149054906101000a900461ffff1661ffff168361307a9190614359565b6130849190614328565b905060006002826130959190614328565b9050600081836130a591906143b3565b90506000479050600082866130ba91906143b3565b90506130c58161337b565b600082476130d391906143b3565b90506130f5848387846130e69190614359565b6130f09190614328565b6135d9565b50505050505050565b600560149054906101000a900460ff161561314e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314590614083565b60405180910390fd5b6001600560146101000a81548160ff02191690831515021790555060004790506000600b60189054906101000a900461ffff16600b60169054906101000a900461ffff1661319c919061429a565b61ffff16600b60169054906101000a900461ffff1661ffff16836131c09190614359565b6131ca9190614328565b9050600081836131da91906143b3565b90506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f1935050505090506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050509050816132f3577f1c43b9761b3fba5321ca8212bfc231945f668ccc0c446f333999eea9ce8fda81600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040516132ea929190613de1565b60405180910390a15b80613354577f1c43b9761b3fba5321ca8212bfc231945f668ccc0c446f333999eea9ce8fda81600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460405161334b929190613de1565b60405180910390a15b50505050506000600560146101000a81548160ff021916908315150217905550565b505050565b6000600267ffffffffffffffff811115613398576133976145b3565b5b6040519080825280602002602001820160405280156133c65781602001602082028036833780820191505090505b50905030816000815181106133de576133dd614584565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561348057600080fd5b505afa158015613494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134b89190613784565b816001815181106134cc576134cb614584565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061353330600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684612619565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947836000843060c84261358391906142d2565b6040518663ffffffff1660e01b81526004016135a39594939291906141d0565b600060405180830381600087803b1580156135bd57600080fd5b505af11580156135d1573d6000803e3d6000fd5b505050505050565b61360630600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684612619565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719823085600080613652611be9565b60c84261365f91906142d2565b6040518863ffffffff1660e01b815260040161368096959493929190613e0a565b6060604051808303818588803b15801561369957600080fd5b505af11580156136ad573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906136d29190613944565b5050505050565b6000813590506136e881614b69565b92915050565b6000815190506136fd81614b69565b92915050565b60008135905061371281614b80565b92915050565b60008135905061372781614b97565b92915050565b60008135905061373c81614bae565b92915050565b60008151905061375181614bae565b92915050565b60006020828403121561376d5761376c6145e2565b5b600061377b848285016136d9565b91505092915050565b60006020828403121561379a576137996145e2565b5b60006137a8848285016136ee565b91505092915050565b600080604083850312156137c8576137c76145e2565b5b60006137d6858286016136d9565b92505060206137e7858286016136d9565b9150509250929050565b60008060006060848603121561380a576138096145e2565b5b6000613818868287016136d9565b9350506020613829868287016136d9565b925050604061383a8682870161372d565b9150509250925092565b6000806040838503121561385b5761385a6145e2565b5b6000613869858286016136d9565b925050602061387a85828601613703565b9150509250929050565b6000806040838503121561389b5761389a6145e2565b5b60006138a9858286016136d9565b92505060206138ba8582860161372d565b9150509250929050565b6000806000606084860312156138dd576138dc6145e2565b5b60006138eb86828701613718565b93505060206138fc86828701613718565b925050604061390d86828701613718565b9150509250925092565b60006020828403121561392d5761392c6145e2565b5b600061393b8482850161372d565b91505092915050565b60008060006060848603121561395d5761395c6145e2565b5b600061396b86828701613742565b935050602061397c86828701613742565b925050604061398d86828701613742565b9150509250925092565b60006139a383836139af565b60208301905092915050565b6139b8816143e7565b82525050565b6139c7816143e7565b82525050565b60006139d882614255565b6139e28185614278565b93506139ed83614245565b8060005b83811015613a1e578151613a058882613997565b9750613a108361426b565b9250506001810190506139f1565b5085935050505092915050565b613a34816143f9565b82525050565b613a438161444a565b82525050565b613a528161445c565b82525050565b6000613a6382614260565b613a6d8185614289565b9350613a7d818560208601614492565b613a86816145e7565b840191505092915050565b6000613a9e602383614289565b9150613aa9826145f8565b604082019050919050565b6000613ac1602283614289565b9150613acc82614647565b604082019050919050565b6000613ae4601883614289565b9150613aef82614696565b602082019050919050565b6000613b07602983614289565b9150613b12826146bf565b604082019050919050565b6000613b2a603183614289565b9150613b358261470e565b604082019050919050565b6000613b4d602683614289565b9150613b588261475d565b604082019050919050565b6000613b70602283614289565b9150613b7b826147ac565b604082019050919050565b6000613b93602683614289565b9150613b9e826147fb565b604082019050919050565b6000613bb6601383614289565b9150613bc18261484a565b602082019050919050565b6000613bd9602e83614289565b9150613be482614873565b604082019050919050565b6000613bfc602883614289565b9150613c07826148c2565b604082019050919050565b6000613c1f602083614289565b9150613c2a82614911565b602082019050919050565b6000613c42602183614289565b9150613c4d8261493a565b604082019050919050565b6000613c65602083614289565b9150613c7082614989565b602082019050919050565b6000613c88600e83614289565b9150613c93826149b2565b602082019050919050565b6000613cab602583614289565b9150613cb6826149db565b604082019050919050565b6000613cce602383614289565b9150613cd982614a2a565b604082019050919050565b6000613cf1601d83614289565b9150613cfc82614a79565b602082019050919050565b6000613d14602483614289565b9150613d1f82614aa2565b604082019050919050565b6000613d37600883614289565b9150613d4282614af1565b602082019050919050565b6000613d5a602583614289565b9150613d6582614b1a565b604082019050919050565b613d7981614405565b82525050565b613d8881614433565b82525050565b613d978161443d565b82525050565b6000602082019050613db260008301846139be565b92915050565b6000604082019050613dcd60008301856139be565b613dda60208301846139be565b9392505050565b6000604082019050613df660008301856139be565b613e036020830184613d7f565b9392505050565b600060c082019050613e1f60008301896139be565b613e2c6020830188613d7f565b613e396040830187613a49565b613e466060830186613a49565b613e5360808301856139be565b613e6060a0830184613d7f565b979650505050505050565b6000602082019050613e806000830184613a2b565b92915050565b6000602082019050613e9b6000830184613a3a565b92915050565b60006020820190508181036000830152613ebb8184613a58565b905092915050565b60006020820190508181036000830152613edc81613a91565b9050919050565b60006020820190508181036000830152613efc81613ab4565b9050919050565b60006020820190508181036000830152613f1c81613ad7565b9050919050565b60006020820190508181036000830152613f3c81613afa565b9050919050565b60006020820190508181036000830152613f5c81613b1d565b9050919050565b60006020820190508181036000830152613f7c81613b40565b9050919050565b60006020820190508181036000830152613f9c81613b63565b9050919050565b60006020820190508181036000830152613fbc81613b86565b9050919050565b60006020820190508181036000830152613fdc81613ba9565b9050919050565b60006020820190508181036000830152613ffc81613bcc565b9050919050565b6000602082019050818103600083015261401c81613bef565b9050919050565b6000602082019050818103600083015261403c81613c12565b9050919050565b6000602082019050818103600083015261405c81613c35565b9050919050565b6000602082019050818103600083015261407c81613c58565b9050919050565b6000602082019050818103600083015261409c81613c7b565b9050919050565b600060208201905081810360008301526140bc81613c9e565b9050919050565b600060208201905081810360008301526140dc81613cc1565b9050919050565b600060208201905081810360008301526140fc81613ce4565b9050919050565b6000602082019050818103600083015261411c81613d07565b9050919050565b6000602082019050818103600083015261413c81613d2a565b9050919050565b6000602082019050818103600083015261415c81613d4d565b9050919050565b60006020820190506141786000830184613d70565b92915050565b60006060820190506141936000830186613d70565b6141a06020830185613d70565b6141ad6040830184613d70565b949350505050565b60006020820190506141ca6000830184613d7f565b92915050565b600060a0820190506141e56000830188613d7f565b6141f26020830187613a49565b818103604083015261420481866139cd565b905061421360608301856139be565b6142206080830184613d7f565b9695505050505050565b600060208201905061423f6000830184613d8e565b92915050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006142a582614405565b91506142b083614405565b92508261ffff038211156142c7576142c66144f7565b5b828201905092915050565b60006142dd82614433565b91506142e883614433565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561431d5761431c6144f7565b5b828201905092915050565b600061433382614433565b915061433e83614433565b92508261434e5761434d614526565b5b828204905092915050565b600061436482614433565b915061436f83614433565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143a8576143a76144f7565b5b828202905092915050565b60006143be82614433565b91506143c983614433565b9250828210156143dc576143db6144f7565b5b828203905092915050565b60006143f282614413565b9050919050565b60008115159050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006144558261446e565b9050919050565b600061446782614433565b9050919050565b600061447982614480565b9050919050565b600061448b82614413565b9050919050565b60005b838110156144b0578082015181840152602081019050614495565b838111156144bf576000848401525b50505050565b600060028204905060018216806144dd57607f821691505b602082108114156144f1576144f0614555565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061697220616464726573732073657420746f207a65726f0000000000000000600082015250565b7f4c696d697420697320746f6f20736d616c6c206f722073616d652076616c756560008201527f2070726f76696465640000000000000000000000000000000000000000000000602082015250565b7f6e65656420746f206265207374726963746c7920706f73697469766520616e6460008201527f20736d616c6c6572207468616e20323525000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f53616d652076616c75652070726f766964656400000000000000000000000000600082015250565b7f416d6f756e742067726561746572207468616e206d617820616363756d756c6160008201527f7465642070657263656e74616765000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206f722073616d6520616464726573732070726f7669646564600082015250565b7f5265656e7472616e742063616c6c000000000000000000000000000000000000600082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f53616d65206c696d6974206578636c7573696f6e2076616c75652070726f766960008201527f6465640000000000000000000000000000000000000000000000000000000000602082015250565b7f53616d65206578636c7573696f6e2076616c75652070726f7669646564000000600082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f6d61786c696d6974000000000000000000000000000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b614b72816143e7565b8114614b7d57600080fd5b50565b614b89816143f9565b8114614b9457600080fd5b50565b614ba081614405565b8114614bab57600080fd5b50565b614bb781614433565b8114614bc257600080fd5b5056fea264697066735822122022658e99258a004215a9d5d1286f630e9c9f0af565d69c8374698cf8b782d22564736f6c63430008070033

Verified Source Code Partial Match

Compiler: v0.8.7+commit.e28d00a7 EVM: london Optimization: No
AXGT.sol 912 lines
/**
 *Submitted for verification at Etherscan.io on 2023-09-25
*/

// SPDX-License-Identifier: MIT

/*

░█████╗░██╗░░██╗░██████╗░████████╗
██╔══██╗╚██╗██╔╝██╔════╝░╚══██╔══╝
███████║░╚███╔╝░██║░░██╗░░░░██║░░░
██╔══██║░██╔██╗░██║░░╚██╗░░░██║░░░
██║░░██║██╔╝╚██╗╚██████╔╝░░░██║░░░
╚═╝░░╚═╝╚═╝░░╚═╝░╚═════╝░░░░╚═╝░░░

*/

pragma solidity 0.8.7;



contract ReentrancyGuard {
    bool internal locked = false;

    modifier nonReentrant() {
        require(!locked, "Reentrant call");
        locked = true;
        _;
        locked = false;
    }
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}



// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @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);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.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);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of 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}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, 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:
     *
     * - `to` 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;
        _balances[account] += amount;
        emit Transfer(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");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(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 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 to 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 { }
}



contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    constructor ()  {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }
    function owner() public view returns (address) {
        return _owner;
    }
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint 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 (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint 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 (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    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 (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

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;
}

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;
}


contract AXGT is ERC20, Ownable, ReentrancyGuard {

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    uint256 private constant TOKEN_DECIMALS = 10**18;
    uint8 private constant percentageOfMaximumTokensToAccumate = 10;
    
    bool private swapping;

    

    uint256 public swapTokensAtAmount = 10 ** 5 * TOKEN_DECIMALS;
    uint256 public balanceLimit = 2 * 10 ** 7 * TOKEN_DECIMALS;
    address public adminWallet = 0x44fF56eF2f0654cF95200cB53c0873bbB669222d;
    address public fundWallet = 0x2322F9c0C2F09677CB0892699a5936ED1A937B56;

    uint16 public liquidityFee = 133;
    uint16 public adminFee = 133;
    uint16 public fundFee = 133;

    mapping (address => bool) public isExcluded;
    mapping (address => bool) public isLimitExcluded;

    event TransferFailed(address _recipient, uint256 _amount);
    event SetFee(uint16 liquidityFee, uint16 adminFee, uint16 fundFee);
    event SetSwapAtAmount(uint256 amount);
    event SetLimit(uint256 limit);



    constructor()  ERC20("AxonDAO Governance Token", "AXGT") {
        IUniswapV2Router02 _UniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        address _UniswapV2Pair = IUniswapV2Factory(_UniswapV2Router.factory())
            .createPair(address(this), _UniswapV2Router.WETH());
        uniswapV2Router = _UniswapV2Router;
        uniswapV2Pair = _UniswapV2Pair;
        isExcluded[owner()] = true;
        isExcluded[address(this)] = true;
        isExcluded[adminWallet] = true;
        isExcluded[fundWallet] = true;

        isLimitExcluded[owner()] = true;
        isLimitExcluded[address(this)] = true;
        isLimitExcluded[adminWallet] = true;
        isLimitExcluded[fundWallet] = true;
        isLimitExcluded[_UniswapV2Pair] = true;

        
        _mint(owner(),  10 ** 9 * TOKEN_DECIMALS);

    }

    receive() external payable {
    }

    function setUniswapV2Router(address _uniswapV2Router) external onlyOwner {
        IUniswapV2Router02 _UniswapV2Router = IUniswapV2Router02(_uniswapV2Router);
        IUniswapV2Factory factory = IUniswapV2Factory(_UniswapV2Router.factory());

        // Check if pair already exists
        address existingPair = factory.getPair(address(this), _UniswapV2Router.WETH());

        address _UniswapV2Pair;
        if (existingPair == address(0)) { // If pair does not exist, create it
            _UniswapV2Pair = factory.createPair(address(this), _UniswapV2Router.WETH());
        } else { // If pair exists, use existing pair address
            _UniswapV2Pair = existingPair;
        }
        require(_UniswapV2Pair != address(0), "Pair address set to zero");
        uniswapV2Router = _UniswapV2Router;
        uniswapV2Pair = _UniswapV2Pair;
        isLimitExcluded[_UniswapV2Pair] = true;
    }


    function _burnToken (uint256 _amount) external onlyOwner{
        _burn(owner(), _amount);
    }

    function _transfer(address from,  address to,  uint256 amount) internal override {


        if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
        if(
            canSwap &&
            !swapping &&
            from != uniswapV2Pair &&
            from != owner() &&
            to != owner()
        ) {
            swapping = true;
            
            swapAndLiquify(contractTokenBalance);
            sendDividends();
            swapping = false;
        }

        if(!swapping){        
            bool takeFee = false;

            if(!isExcluded[from] && (from == uniswapV2Pair || to == uniswapV2Pair)){
                    takeFee = true;
                }

                if (takeFee){
                    uint256 fees = amount * (liquidityFee + adminFee + fundFee) / 10000;
                    amount = amount - fees;
                    super._transfer(from, address(this), fees);
                }
        }
        if (!isLimitExcluded[to]){
            require((balanceOf(to) + amount) <= balanceLimit, "maxlimit");
        }
        super._transfer(from, to, amount);

    }

    function swapAndLiquify(uint256 contractTokenBalance) private {
        uint256 tokens = (contractTokenBalance * liquidityFee) / (liquidityFee + fundFee + adminFee);
        uint256 half = tokens / 2;
        uint256 otherHalf = tokens - half;
        
        uint256 initialBalance = address(this).balance;
        uint256 halfPlusDividents = contractTokenBalance-otherHalf;
        swapTokensForEth(halfPlusDividents);
        uint256 newBalance = address(this).balance - initialBalance;
        addLiquidity(otherHalf, (newBalance*half)/halfPlusDividents);
    }

    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 + 200
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            owner(),
            block.timestamp + 200
        );
    }

    function sendDividends() private nonReentrant {
        uint256 ethBalance = address(this).balance;
        uint256 adminETH = (ethBalance * adminFee) / (adminFee + fundFee);
        uint256 fundETH  = ethBalance - adminETH;
        bool successAdmin = payable(adminWallet).send(adminETH);
        bool successFund = payable(fundWallet).send(fundETH);

        if (!successAdmin) {
            emit TransferFailed(adminWallet, adminETH);
        }
        if (!successFund) {
            emit TransferFailed(fundWallet, fundETH);
        }
    }


    function setSwapAtAmount (uint256 amount) external onlyOwner {
        require(amount <= (percentageOfMaximumTokensToAccumate * totalSupply()) / 100, "Amount greater than max accumulated percentage");
        require(swapTokensAtAmount != amount, "Same value provided");
        swapTokensAtAmount = amount;

        emit SetSwapAtAmount(amount);
    }

    function setAdminWallet (address _address) external onlyOwner {
        require(_address != address(0) && adminWallet != _address, "Invalid or same address provided");
        isExcluded[adminWallet] = false;
        adminWallet = _address;
        isExcluded[adminWallet] = true;
    }

    function setFundWAllet (address _address) external onlyOwner {
        require(_address != address(0) && fundWallet != _address, "Invalid or same address provided");
        isExcluded[fundWallet] = false;
        fundWallet = _address;
        isExcluded[fundWallet] = true;
    }

//should never be mixed with the direct transferOwnership unless owner doesn't want to be excluded
    function changeOwner (address _address) external onlyOwner {
        require(_address != address(0) && owner() != _address, "Invalid or same address provided");
        isExcluded[owner()] = false;
        transferOwnership(_address);
        isExcluded[_address] = true;
    }

    function setExcludeWallet (address _address, bool _value) external onlyOwner{
        require(isExcluded[_address] != _value, "Same exclusion value provided");
        isExcluded[_address] = _value;
    }

    function setExcludeLimitWallet (address _address, bool _value) external onlyOwner{
        require(isLimitExcluded[_address] != _value, "Same limit exclusion value provided");
        isLimitExcluded[_address] = _value;
    }

    function setLimit (uint256 _limit) external onlyOwner {
        require(_limit > 10 ** 6 * TOKEN_DECIMALS && balanceLimit != _limit, "Limit is too small or same value provided");
        
        balanceLimit = _limit;

        emit SetLimit(_limit);
    }

    function setFee (uint16 _newLPFee, uint16 _newadminFee, uint16 _newfundFee) external onlyOwner{
        require (0 < _newLPFee + _newadminFee + _newfundFee &&  _newLPFee + _newadminFee + _newfundFee< 2500, "need to be strictly positive and smaller than 25%");
        liquidityFee = _newLPFee;
        adminFee = _newadminFee;
        fundFee = _newfundFee;

        emit SetFee(liquidityFee, adminFee, fundFee);
    }
}

Read Contract

adminFee 0xa0be06f9 → uint16
adminWallet 0x36b19cd7 → address
allowance 0xdd62ed3e → uint256
balanceLimit 0x762bb282 → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
fundFee 0x33abd028 → uint16
fundWallet 0x664a1ad6 → address
isExcluded 0xcba0e996 → bool
isLimitExcluded 0x09c58ac1 → bool
liquidityFee 0x98118cb4 → uint16
name 0x06fdde03 → string
owner 0x8da5cb5b → address
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address

Write Contract 17 functions

These functions modify contract state and require a wallet transaction to execute.

_burnToken 0x97b4e10a
uint256 _amount
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
changeOwner 0xa6f9dae1
address _address
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
renounceOwnership 0x715018a6
No parameters
setAdminWallet 0x35082933
address _address
setExcludeLimitWallet 0xb374e1c6
address _address
bool _value
setExcludeWallet 0xd9e2b9f6
address _address
bool _value
setFee 0x73ece435
uint16 _newLPFee
uint16 _newadminFee
uint16 _newfundFee
setFundWAllet 0x0996f4ea
address _address
setLimit 0x27ea6f2b
uint256 _limit
setSwapAtAmount 0x6402511e
uint256 amount
setUniswapV2Router 0x1419841d
address _uniswapV2Router
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