Address Contract Verified
Address
0x0a70546129b8EbFC988a2722B113db385b882A32
Balance
0 ETH
Nonce
1
Code Size
20826 bytes
Creator
0xC08AaF75...b364 at tx 0x30bcce4b...b0da7e
Indexed Transactions
0
Contract Bytecode
20826 bytes
0x60806040526004361061031d575f3560e01c806370a08231116101aa578063c3f70b52116100f6578063e884f26011610094578063f6bbcb281161006e578063f6bbcb2814610bb8578063f928364c14610be0578063fb002c9714610c0a578063fd72e22a14610c3457610324565b8063e884f26014610b3e578063eaf1cc7614610b68578063f2fde38b14610b9057610324565b8063d6dacb44116100d0578063d6dacb4414610a84578063d85ba06314610aae578063dd62ed3e14610ad8578063ddf1948014610b1457610324565b8063c3f70b52146109f6578063cc274b2914610a20578063d4394cf814610a5c57610324565b806398faa8ea11610163578063a9059cbb1161013d578063a9059cbb14610940578063b70143c91461097c578063c0246668146109a4578063c1ae7e76146109cc57610324565b806398faa8ea146108b25780639f1e756b146108da578063a457c2d71461090457610324565b806370a08231146107a657806370d5ae05146107e2578063715018a61461080c5780637d5241ea146108225780638da5cb5b1461085e57806395d89b411461088857610324565b806330280a71116102695780634ada218b116102225780635a139dd4116101fc5780635a139dd41461070057806366a88d961461072a57806366ca9b83146107545780636a486a8e1461077c57610324565b80634ada218b146106705780634f77f6c01461069a5780634fbee193146106c457610324565b806330280a711461056857806330d5d18d14610590578063313ce567146105b857806339509351146105e25780634324deae1461061e57806349bd5a5e1461064657610324565b80630bd05b69116102d65780631b27caf5116102b05780631b27caf51461049c5780631cce34ee146104c657806323b872dd146104f057806324eec7881461052c57610324565b80630bd05b69146104325780631694505e1461044857806318160ddd1461047257610324565b806302dbd8f8146103285780630445b667146103505780630517d13d1461037a57806306fdde03146103a2578063095ea7b3146103cc57806309bf74c01461040857610324565b3661032457005b5f80fd5b348015610333575f80fd5b5061034e60048036038101906103499190613c33565b610c5e565b005b34801561035b575f80fd5b50610364610d48565b6040516103719190613c80565b60405180910390f35b348015610385575f80fd5b506103a0600480360381019061039b9190613c99565b610d4e565b005b3480156103ad575f80fd5b506103b6610e4a565b6040516103c39190613d4e565b60405180910390f35b3480156103d7575f80fd5b506103f260048036038101906103ed9190613dc8565b610eda565b6040516103ff9190613e20565b60405180910390f35b348015610413575f80fd5b5061041c610ef7565b6040516104299190613c80565b60405180910390f35b34801561043d575f80fd5b50610446610efd565b005b348015610453575f80fd5b5061045c610fb1565b6040516104699190613e94565b60405180910390f35b34801561047d575f80fd5b50610486610fd5565b6040516104939190613c80565b60405180910390f35b3480156104a7575f80fd5b506104b0610fde565b6040516104bd9190613c80565b60405180910390f35b3480156104d1575f80fd5b506104da610fe4565b6040516104e79190613e20565b60405180910390f35b3480156104fb575f80fd5b5061051660048036038101906105119190613ead565b610ff6565b6040516105239190613e20565b60405180910390f35b348015610537575f80fd5b50610552600480360381019061054d9190613efd565b6110e8565b60405161055f9190613e20565b60405180910390f35b348015610573575f80fd5b5061058e60048036038101906105899190613f52565b611105565b005b34801561059b575f80fd5b506105b660048036038101906105b19190613efd565b6111d9565b005b3480156105c3575f80fd5b506105cc611313565b6040516105d99190613fab565b60405180910390f35b3480156105ed575f80fd5b5061060860048036038101906106039190613dc8565b61131b565b6040516106159190613e20565b60405180910390f35b348015610629575f80fd5b50610644600480360381019061063f9190613c99565b6113c2565b005b348015610651575f80fd5b5061065a6114be565b6040516106679190613fd3565b60405180910390f35b34801561067b575f80fd5b506106846114e3565b6040516106919190613e20565b60405180910390f35b3480156106a5575f80fd5b506106ae6114f6565b6040516106bb9190613c80565b60405180910390f35b3480156106cf575f80fd5b506106ea60048036038101906106e59190613efd565b6114fc565b6040516106f79190613e20565b60405180910390f35b34801561070b575f80fd5b5061071461154e565b6040516107219190613c80565b60405180910390f35b348015610735575f80fd5b5061073e611554565b60405161074b9190613c80565b60405180910390f35b34801561075f575f80fd5b5061077a60048036038101906107759190613c33565b61155a565b005b348015610787575f80fd5b50610790611644565b60405161079d9190613c80565b60405180910390f35b3480156107b1575f80fd5b506107cc60048036038101906107c79190613efd565b61164a565b6040516107d99190613c80565b60405180910390f35b3480156107ed575f80fd5b506107f661168f565b6040516108039190613fd3565b60405180910390f35b348015610817575f80fd5b50610820611695565b005b34801561082d575f80fd5b5061084860048036038101906108439190613efd565b61171c565b6040516108559190613e20565b60405180910390f35b348015610869575f80fd5b50610872611739565b60405161087f9190613fd3565b60405180910390f35b348015610893575f80fd5b5061089c611761565b6040516108a99190613d4e565b60405180910390f35b3480156108bd575f80fd5b506108d860048036038101906108d39190613fec565b6117f1565b005b3480156108e5575f80fd5b506108ee61188a565b6040516108fb9190613fd3565b60405180910390f35b34801561090f575f80fd5b5061092a60048036038101906109259190613dc8565b6118af565b6040516109379190613e20565b60405180910390f35b34801561094b575f80fd5b5061096660048036038101906109619190613dc8565b611995565b6040516109739190613e20565b60405180910390f35b348015610987575f80fd5b506109a2600480360381019061099d9190613c99565b6119b2565b005b3480156109af575f80fd5b506109ca60048036038101906109c59190613f52565b611aaa565b005b3480156109d7575f80fd5b506109e0611bcc565b6040516109ed9190613c80565b60405180910390f35b348015610a01575f80fd5b50610a0a611bd2565b604051610a179190613c80565b60405180910390f35b348015610a2b575f80fd5b50610a466004803603810190610a419190613c99565b611bd8565b604051610a539190613e20565b60405180910390f35b348015610a67575f80fd5b50610a826004803603810190610a7d9190614074565b611d2c565b005b348015610a8f575f80fd5b50610a98611faf565b604051610aa59190613e20565b60405180910390f35b348015610ab9575f80fd5b50610ac2611fc2565b604051610acf9190613c80565b60405180910390f35b348015610ae3575f80fd5b50610afe6004803603810190610af991906140c4565b611fc8565b604051610b0b9190613c80565b60405180910390f35b348015610b1f575f80fd5b50610b2861204a565b604051610b359190613e20565b60405180910390f35b348015610b49575f80fd5b50610b5261205c565b604051610b5f9190613e20565b60405180910390f35b348015610b73575f80fd5b50610b8e6004803603810190610b899190613f52565b6120f9565b005b348015610b9b575f80fd5b50610bb66004803603810190610bb19190613efd565b612212565b005b348015610bc3575f80fd5b50610bde6004803603810190610bd99190613efd565b612308565b005b348015610beb575f80fd5b50610bf4612442565b604051610c019190613e20565b60405180910390f35b348015610c15575f80fd5b50610c1e6124df565b604051610c2b9190613c80565b60405180910390f35b348015610c3f575f80fd5b50610c486124e5565b604051610c559190613fd3565b60405180910390f35b610c6661250a565b73ffffffffffffffffffffffffffffffffffffffff16610c84611739565b73ffffffffffffffffffffffffffffffffffffffff1614610cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd19061414c565b60405180910390fd5b8160138190555080601481905550601454601354610cf89190614197565b601281905550604b6012541115610d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3b90614214565b60405180910390fd5b5050565b600a5481565b610d5661250a565b73ffffffffffffffffffffffffffffffffffffffff16610d74611739565b73ffffffffffffffffffffffffffffffffffffffff1614610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc19061414c565b60405180910390fd5b6103e86001610dd7610fd5565b610de19190614232565b610deb91906142a0565b811015610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2490614340565b60405180910390fd5b670de0b6b3a764000081610e419190614232565b60098190555050565b606060038054610e599061438b565b80601f0160208091040260200160405190810160405280929190818152602001828054610e859061438b565b8015610ed05780601f10610ea757610100808354040283529160200191610ed0565b820191905f5260205f20905b815481529060010190602001808311610eb357829003601f168201915b5050505050905090565b5f610eed610ee661250a565b8484612511565b6001905092915050565b60145481565b610f0561250a565b73ffffffffffffffffffffffffffffffffffffffff16610f23611739565b73ffffffffffffffffffffffffffffffffffffffff1614610f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f709061414c565b60405180910390fd5b6001600c60016101000a81548160ff0219169083151502179055506001600c60026101000a81548160ff021916908315150217905550565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b5f600254905090565b60165481565b600c5f9054906101000a900460ff1681565b5f6110028484846126d4565b5f60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f61104961250a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050828110156110c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bf9061442b565b60405180910390fd5b6110dc856110d461250a565b858403612511565b60019150509392505050565b601a602052805f5260405f205f915054906101000a900460ff1681565b61110d61250a565b73ffffffffffffffffffffffffffffffffffffffff1661112b611739565b73ffffffffffffffffffffffffffffffffffffffff1614611181576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111789061414c565b60405180910390fd5b8060195f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b6111e161250a565b73ffffffffffffffffffffffffffffffffffffffff166111ff611739565b73ffffffffffffffffffffffffffffffffffffffff1614611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124c9061414c565b60405180910390fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f086aa05ff00214e2d0c7c02b8a46b2614ad955732e6b43aa8afca69ed1ad76f860405160405180910390a38060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f6012905090565b5f6113b861132761250a565b848460015f61133461250a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546113b39190614197565b612511565b6001905092915050565b6113ca61250a565b73ffffffffffffffffffffffffffffffffffffffff166113e8611739565b73ffffffffffffffffffffffffffffffffffffffff161461143e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114359061414c565b60405180910390fd5b6103e8600561144b610fd5565b6114559190614232565b61145f91906142a0565b8110156114a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149890614493565b60405180910390fd5b670de0b6b3a7640000816114b59190614232565b600b8190555050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60019054906101000a900460ff1681565b60135481565b5f60185f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b60105481565b600b5481565b61156261250a565b73ffffffffffffffffffffffffffffffffffffffff16611580611739565b73ffffffffffffffffffffffffffffffffffffffff16146115d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cd9061414c565b60405180910390fd5b81601081905550806011819055506011546010546115f49190614197565b600f81905550604b600f541115611640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163790614214565b60405180910390fd5b5050565b60125481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61dead81565b61169d61250a565b73ffffffffffffffffffffffffffffffffffffffff166116bb611739565b73ffffffffffffffffffffffffffffffffffffffff1614611711576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117089061414c565b60405180910390fd5b61171a5f6133d3565b565b6019602052805f5260405f205f915054906101000a900460ff1681565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546117709061438b565b80601f016020809104026020016040519081016040528092919081815260200182805461179c9061438b565b80156117e75780601f106117be576101008083540402835291602001916117e7565b820191905f5260205f20905b8154815290600101906020018083116117ca57829003601f168201915b5050505050905090565b6117f961250a565b73ffffffffffffffffffffffffffffffffffffffff16611817611739565b73ffffffffffffffffffffffffffffffffffffffff161461186d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118649061414c565b60405180910390fd5b80600c60026101000a81548160ff02191690831515021790555050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8060015f6118bc61250a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905082811015611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196d90614521565b60405180910390fd5b61198a61198161250a565b85858403612511565b600191505092915050565b5f6119a86119a161250a565b84846126d4565b6001905092915050565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166119f261250a565b73ffffffffffffffffffffffffffffffffffffffff1614611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f90614589565b60405180910390fd5b611a513061164a565b8111158015611a5f57505f81115b611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a95906145f1565b60405180910390fd5b611aa781613496565b50565b611ab261250a565b73ffffffffffffffffffffffffffffffffffffffff16611ad0611739565b73ffffffffffffffffffffffffffffffffffffffff1614611b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1d9061414c565b60405180910390fd5b8060185f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df782604051611bc09190613e20565b60405180910390a25050565b60115481565b60095481565b5f611be161250a565b73ffffffffffffffffffffffffffffffffffffffff16611bff611739565b73ffffffffffffffffffffffffffffffffffffffff1614611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c9061414c565b60405180910390fd5b620186a06001611c63610fd5565b611c6d9190614232565b611c7791906142a0565b821015611cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb090614659565b60405180910390fd5b6103e86005611cc6610fd5565b611cd09190614232565b611cda91906142a0565b821115611d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d13906146c1565b60405180910390fd5b81600a8190555060019050919050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6040518060400160405280600881526020017f4d6f747573204149000000000000000000000000000000000000000000000000815250805190602001206040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250805190602001204630604051602001611dde9594939291906146ee565b6040516020818303038152906040528051906020012090505f7f7dfdbf06c6260804b81338506aa4a709bd9f04b68ca0d2d054b8627926c90ae46040518060400160405280600e81526020017f456e61626c652054726164696e67000000000000000000000000000000000000815250805190602001205f604051602001611e689392919061473f565b6040516020818303038152906040528051906020012090505f8282604051602001611e949291906147e8565b6040516020818303038152906040528051906020012090505f6001828888886040515f8152602001604052604051611ecf949392919061481e565b6020604051602081039080840390855afa158015611eef573d5f803e3d5ffd5b505050602060405103519050611f03611739565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f67906148ab565b60405180910390fd5b6001600c60016101000a81548160ff0219169083151502179055506001600c60026101000a81548160ff02191690831515021790555050505050505050565b600c60029054906101000a900460ff1681565b600f5481565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b600e5f9054906101000a900460ff1681565b5f61206561250a565b73ffffffffffffffffffffffffffffffffffffffff16612083611739565b73ffffffffffffffffffffffffffffffffffffffff16146120d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d09061414c565b60405180910390fd5b5f600e5f6101000a81548160ff0219169083151502179055506001905090565b61210161250a565b73ffffffffffffffffffffffffffffffffffffffff1661211f611739565b73ffffffffffffffffffffffffffffffffffffffff1614612175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216c9061414c565b60405180910390fd5b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb90614913565b60405180910390fd5b61220e82826136c9565b5050565b61221a61250a565b73ffffffffffffffffffffffffffffffffffffffff16612238611739565b73ffffffffffffffffffffffffffffffffffffffff161461228e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122859061414c565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f3906149a1565b60405180910390fd5b612305816133d3565b50565b61231061250a565b73ffffffffffffffffffffffffffffffffffffffff1661232e611739565b73ffffffffffffffffffffffffffffffffffffffff1614612384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237b9061414c565b60405180910390fd5b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8ea688f5494781da1f5780f08a23b8ed1945a25d8861148d60a1ef60a6525c8360405160405180910390a38060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f61244b61250a565b73ffffffffffffffffffffffffffffffffffffffff16612469611739565b73ffffffffffffffffffffffffffffffffffffffff16146124bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b69061414c565b60405180910390fd5b5f600c5f6101000a81548160ff0219169083151502179055506001905090565b60155481565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361257f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257690614a2f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e490614abd565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516126c79190613c80565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273990614b4b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a790614bb3565b60405180910390fd5b60175f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561283a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283190614c1b565b60405180910390fd5b60175f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156128c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bb90614c83565b60405180910390fd5b5f81036128db576128d683835f613767565b6133ce565b600c5f9054906101000a900460ff1615612f83576128f7611739565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156129655750612935611739565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561299d57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156129d7575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156129f05750600660149054906101000a900460ff16155b15612f8257600c60019054906101000a900460ff16612ae45760185f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612aa4575060185f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b612ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ada90614ceb565b60405180910390fd5b5b600e5f9054906101000a900460ff1615612ca857612b00611739565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015612b8757507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612be0575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612ca75743600d5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410612c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5b90614d53565b60405180910390fd5b43600d5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5b601a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612d45575060195f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612dec57600954811115612d8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8690614dbb565b60405180910390fd5b600b54612d9b8361164a565b82612da69190614197565b1115612de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dde90614e23565b60405180910390fd5b612f81565b601a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612e89575060195f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612ed857600954811115612ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eca90614dbb565b60405180910390fd5b612f80565b60195f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16612f7f57600b54612f328361164a565b82612f3d9190614197565b1115612f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7590614e23565b60405180910390fd5b5b5b5b5b5b5f612f8d3061164a565b9050600a548110158015612fad5750600c60029054906101000a900460ff165b8015612fc65750600660149054906101000a900460ff16155b80156130195750601a5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561306c575060185f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b80156130bf575060185f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15613102576001600660146101000a81548160ff0219169083151502179055506130e76139dc565b5f600660146101000a81548160ff0219169083151502179055505b5f600660149054906101000a900460ff1615905060185f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16806131b1575060185f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b156131ba575f90505b5f81156133bf57601a5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16801561321857505f601254115b156132b057613245606461323760125487613bb390919063ffffffff16565b613bc890919063ffffffff16565b9050601254601454826132589190614232565b61326291906142a0565b60165f8282546132729190614197565b925050819055506012546013548261328a9190614232565b61329491906142a0565b60155f8282546132a49190614197565b9250508190555061339c565b601a5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16801561330757505f600f54115b1561339b576133346064613326600f5487613bb390919063ffffffff16565b613bc890919063ffffffff16565b9050600f54601154826133479190614232565b61335191906142a0565b60165f8282546133619190614197565b92505081905550600f54601054826133799190614232565b61338391906142a0565b60155f8282546133939190614197565b925050819055505b5b5f8111156133b0576133af863083613767565b5b80846133bc9190614e41565b93505b6133ca868686613767565b5050505b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600267ffffffffffffffff8111156134b2576134b1614e74565b5b6040519080825280602002602001820160405280156134e05781602001602082028036833780820191505090505b50905030815f815181106134f7576134f6614ea1565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561359a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135be9190614ee2565b816001815181106135d2576135d1614ea1565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613637307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612511565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401613698959493929190614ffd565b5f604051808303815f87803b1580156136af575f80fd5b505af11580156136c1573d5f803e3d5ffd5b505050505050565b80601a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167f0d27b2c3e17efe7d26232f96ab711aceb4b101b5ee1db474e4fcd4b51bb9f5e260405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036137d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137cc90614b4b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161383a90614bb3565b60405180910390fd5b61384e838383613bdd565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156138d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c8906150c5565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461395f9190614197565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516139c39190613c80565b60405180910390a36139d6848484613be2565b50505050565b5f6139e63061164a565b90505f6016546015546139f99190614197565b90505f821480613a0857505f81145b15613a14575050613bb1565b6014600a54613a239190614232565b821115613a3c576014600a54613a399190614232565b91505b5f479050613a4983613496565b5f613a5d8247613be790919063ffffffff16565b90505f613a8784613a7960165485613bb390919063ffffffff16565b613bc890919063ffffffff16565b90505f6015819055505f6016819055505f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051613add90615110565b5f6040518083038185875af1925050503d805f8114613b17576040519150601f19603f3d011682016040523d82523d5f602084013e613b1c565b606091505b5050905060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051613b6590615110565b5f6040518083038185875af1925050503d805f8114613b9f576040519150601f19603f3d011682016040523d82523d5f602084013e613ba4565b606091505b5050809150505050505050505b565b5f8183613bc09190614232565b905092915050565b5f8183613bd591906142a0565b905092915050565b505050565b505050565b5f8183613bf49190614e41565b905092915050565b5f80fd5b5f819050919050565b613c1281613c00565b8114613c1c575f80fd5b50565b5f81359050613c2d81613c09565b92915050565b5f8060408385031215613c4957613c48613bfc565b5b5f613c5685828601613c1f565b9250506020613c6785828601613c1f565b9150509250929050565b613c7a81613c00565b82525050565b5f602082019050613c935f830184613c71565b92915050565b5f60208284031215613cae57613cad613bfc565b5b5f613cbb84828501613c1f565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015613cfb578082015181840152602081019050613ce0565b5f8484015250505050565b5f601f19601f8301169050919050565b5f613d2082613cc4565b613d2a8185613cce565b9350613d3a818560208601613cde565b613d4381613d06565b840191505092915050565b5f6020820190508181035f830152613d668184613d16565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f613d9782613d6e565b9050919050565b613da781613d8d565b8114613db1575f80fd5b50565b5f81359050613dc281613d9e565b92915050565b5f8060408385031215613dde57613ddd613bfc565b5b5f613deb85828601613db4565b9250506020613dfc85828601613c1f565b9150509250929050565b5f8115159050919050565b613e1a81613e06565b82525050565b5f602082019050613e335f830184613e11565b92915050565b5f819050919050565b5f613e5c613e57613e5284613d6e565b613e39565b613d6e565b9050919050565b5f613e6d82613e42565b9050919050565b5f613e7e82613e63565b9050919050565b613e8e81613e74565b82525050565b5f602082019050613ea75f830184613e85565b92915050565b5f805f60608486031215613ec457613ec3613bfc565b5b5f613ed186828701613db4565b9350506020613ee286828701613db4565b9250506040613ef386828701613c1f565b9150509250925092565b5f60208284031215613f1257613f11613bfc565b5b5f613f1f84828501613db4565b91505092915050565b613f3181613e06565b8114613f3b575f80fd5b50565b5f81359050613f4c81613f28565b92915050565b5f8060408385031215613f6857613f67613bfc565b5b5f613f7585828601613db4565b9250506020613f8685828601613f3e565b9150509250929050565b5f60ff82169050919050565b613fa581613f90565b82525050565b5f602082019050613fbe5f830184613f9c565b92915050565b613fcd81613d8d565b82525050565b5f602082019050613fe65f830184613fc4565b92915050565b5f6020828403121561400157614000613bfc565b5b5f61400e84828501613f3e565b91505092915050565b61402081613f90565b811461402a575f80fd5b50565b5f8135905061403b81614017565b92915050565b5f819050919050565b61405381614041565b811461405d575f80fd5b50565b5f8135905061406e8161404a565b92915050565b5f805f6060848603121561408b5761408a613bfc565b5b5f6140988682870161402d565b93505060206140a986828701614060565b92505060406140ba86828701614060565b9150509250925092565b5f80604083850312156140da576140d9613bfc565b5b5f6140e785828601613db4565b92505060206140f885828601613db4565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f614136602083613cce565b915061414182614102565b602082019050919050565b5f6020820190508181035f8301526141638161412a565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6141a182613c00565b91506141ac83613c00565b92508282019050808211156141c4576141c361416a565b5b92915050565b7f46656573206d757374206e6f74206578636565642037352500000000000000005f82015250565b5f6141fe601883613cce565b9150614209826141ca565b602082019050919050565b5f6020820190508181035f83015261422b816141f2565b9050919050565b5f61423c82613c00565b915061424783613c00565b925082820261425581613c00565b9150828204841483151761426c5761426b61416a565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6142aa82613c00565b91506142b583613c00565b9250826142c5576142c4614273565b5b828204905092915050565b7f4d6178207472616e73616374696f6e2063616e6e6f742062652062656c6f77205f8201527f302e312500000000000000000000000000000000000000000000000000000000602082015250565b5f61432a602483613cce565b9150614335826142d0565b604082019050919050565b5f6020820190508181035f8301526143578161431e565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806143a257607f821691505b6020821081036143b5576143b461435e565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320615f8201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b5f614415602883613cce565b9150614420826143bb565b604082019050919050565b5f6020820190508181035f83015261444281614409565b9050919050565b7f4d61782077616c6c65742063616e6e6f742062652062656c6f7720302e3525005f82015250565b5f61447d601f83613cce565b915061448882614449565b602082019050919050565b5f6020820190508181035f8301526144aa81614471565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f61450b602583613cce565b9150614516826144b1565b604082019050919050565b5f6020820190508181035f830152614538816144ff565b9050919050565b7f4f6e6c79206f7065726174696f6e732077616c6c6574000000000000000000005f82015250565b5f614573601683613cce565b915061457e8261453f565b602082019050919050565b5f6020820190508181035f8301526145a081614567565b9050919050565b7f496e76616c696420616d6f756e740000000000000000000000000000000000005f82015250565b5f6145db600e83613cce565b91506145e6826145a7565b602082019050919050565b5f6020820190508181035f830152614608816145cf565b9050919050565b7f5468726573686f6c642063616e6e6f742062652062656c6f7720302e303031255f82015250565b5f614643602083613cce565b915061464e8261460f565b602082019050919050565b5f6020820190508181035f83015261467081614637565b9050919050565b7f5468726573686f6c642063616e6e6f742065786365656420302e3525000000005f82015250565b5f6146ab601c83613cce565b91506146b682614677565b602082019050919050565b5f6020820190508181035f8301526146d88161469f565b9050919050565b6146e881614041565b82525050565b5f60a0820190506147015f8301886146df565b61470e60208301876146df565b61471b60408301866146df565b6147286060830185613c71565b6147356080830184613fc4565b9695505050505050565b5f6060820190506147525f8301866146df565b61475f60208301856146df565b61476c6040830184613c71565b949350505050565b5f81905092915050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f6147b2600283614774565b91506147bd8261477e565b600282019050919050565b5f819050919050565b6147e26147dd82614041565b6147c8565b82525050565b5f6147f2826147a6565b91506147fe82856147d1565b60208201915061480e82846147d1565b6020820191508190509392505050565b5f6080820190506148315f8301876146df565b61483e6020830186613f9c565b61484b60408301856146df565b61485860608301846146df565b95945050505050565b7f496e76616c6964207369676e61747572650000000000000000000000000000005f82015250565b5f614895601183613cce565b91506148a082614861565b602082019050919050565b5f6020820190508181035f8301526148c281614889565b9050919050565b7f43616e6e6f742072656d6f7665207072696d61727920706169720000000000005f82015250565b5f6148fd601a83613cce565b9150614908826148c9565b602082019050919050565b5f6020820190508181035f83015261492a816148f1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f61498b602683613cce565b915061499682614931565b604082019050919050565b5f6020820190508181035f8301526149b88161497f565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f614a19602483613cce565b9150614a24826149bf565b604082019050919050565b5f6020820190508181035f830152614a4681614a0d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f614aa7602283613cce565b9150614ab282614a4d565b604082019050919050565b5f6020820190508181035f830152614ad481614a9b565b9050919050565b7f45524332303a207472616e736665722066726f6d207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f614b35602183613cce565b9150614b4082614adb565b604082019050919050565b5f6020820190508181035f830152614b6281614b29565b9050919050565b7f45524332303a207472616e7366657220746f207a65726f2061646472657373005f82015250565b5f614b9d601f83613cce565b9150614ba882614b69565b602082019050919050565b5f6020820190508181035f830152614bca81614b91565b9050919050565b7f53656e64657220626c61636b6c697374656400000000000000000000000000005f82015250565b5f614c05601283613cce565b9150614c1082614bd1565b602082019050919050565b5f6020820190508181035f830152614c3281614bf9565b9050919050565b7f526563656976657220626c61636b6c69737465640000000000000000000000005f82015250565b5f614c6d601483613cce565b9150614c7882614c39565b602082019050919050565b5f6020820190508181035f830152614c9a81614c61565b9050919050565b7f54726164696e67206e6f7420656e61626c6564000000000000000000000000005f82015250565b5f614cd5601383613cce565b9150614ce082614ca1565b602082019050919050565b5f6020820190508181035f830152614d0281614cc9565b9050919050565b7f5472616e736665722064656c61792061637469766500000000000000000000005f82015250565b5f614d3d601583613cce565b9150614d4882614d09565b602082019050919050565b5f6020820190508181035f830152614d6a81614d31565b9050919050565b7f45786365656473206d6178207472616e73616374696f6e0000000000000000005f82015250565b5f614da5601783613cce565b9150614db082614d71565b602082019050919050565b5f6020820190508181035f830152614dd281614d99565b9050919050565b7f45786365656473206d61782077616c6c657400000000000000000000000000005f82015250565b5f614e0d601283613cce565b9150614e1882614dd9565b602082019050919050565b5f6020820190508181035f830152614e3a81614e01565b9050919050565b5f614e4b82613c00565b9150614e5683613c00565b9250828203905081811115614e6e57614e6d61416a565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050614edc81613d9e565b92915050565b5f60208284031215614ef757614ef6613bfc565b5b5f614f0484828501614ece565b91505092915050565b5f819050919050565b5f614f30614f2b614f2684614f0d565b613e39565b613c00565b9050919050565b614f4081614f16565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b614f7881613d8d565b82525050565b5f614f898383614f6f565b60208301905092915050565b5f602082019050919050565b5f614fab82614f46565b614fb58185614f50565b9350614fc083614f60565b805f5b83811015614ff0578151614fd78882614f7e565b9750614fe283614f95565b925050600181019050614fc3565b5085935050505092915050565b5f60a0820190506150105f830188613c71565b61501d6020830187614f37565b818103604083015261502f8186614fa1565b905061503e6060830185613fc4565b61504b6080830184613c71565b9695505050505050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6150af602683613cce565b91506150ba82615055565b604082019050919050565b5f6020820190508181035f8301526150dc816150a3565b9050919050565b5f81905092915050565b50565b5f6150fb5f836150e3565b9150615106826150ed565b5f82019050919050565b5f61511a826150f0565b915081905091905056fea2646970667358221220c46b1b5cef464dd2651d067afce8d28ad89d020edf641b0195bb2c50155464c464736f6c63430008170033
Verified Source Code Full Match
Compiler: v0.8.23+commit.f704f362
EVM: shanghai
Optimization: No
motus.sol 634 lines
/**
© 2025 Motus AI — motus.finance · motus.money · https://x.com/Motus_AI
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
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);
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, 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 sender, address recipient, 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 recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, 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) {
_approve(_msgSender(), spender, amount);
return true;
}
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");
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(sender != address(0), "ERC20: transfer from zero address");
require(recipient != address(0), "ERC20: transfer to zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(sender, recipient, 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 _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}
library SafeMath {
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
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 mod(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;
}
}
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint256);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) external view returns (address pair);
function allPairs(uint256) external view returns (address pair);
function allPairsLength() external view returns (uint256);
function createPair(address tokenA, address tokenB) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint256 value);
event Transfer(address indexed from, address indexed to, uint256 value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint256);
function balanceOf(address owner) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 value) external returns (bool);
function transfer(address to, uint256 value) external returns (bool);
function transferFrom(address from, address to, uint256 value) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint256);
function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;
event Mint(address indexed sender, uint256 amount0, uint256 amount1);
event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to);
event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint256);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint256);
function price1CumulativeLast() external view returns (uint256);
function kLast() external view returns (uint256);
function mint(address to) external returns (uint256 liquidity);
function burn(address to) external returns (uint256 amount0, uint256 amount1);
function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
interface IUniswapV2Router02 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);
function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] calldata path, address to, uint256 deadline) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline) external;
}
contract motus is ERC20, Ownable {
using SafeMath for uint256;
IUniswapV2Router02 public immutable uniswapV2Router;
address public uniswapV2Pair;
address public constant burnAddress = address(0xdead);
bool private inSwap;
address public operationsWallet; // Updated from marketingWallet
address public innovationWallet; // Updated from developmentWallet
uint256 public maxTransaction;
uint256 public swapThreshold;
uint256 public maxWalletLimit;
bool public limitsActive = true;
bool public tradingEnabled = false;
bool public swapActive = false;
mapping(address => uint256) private _lastTransferTimestamp;
bool public transferDelayActive = true;
uint256 public buyTotalFees;
uint256 public buyOperationsFee; // Updated from buyMarketingFee
uint256 public buyInnovationFee; // Updated from buyDevFee
uint256 public sellTotalFees;
uint256 public sellOperationsFee; // Updated from sellMarketingFee
uint256 public sellInnovationFee; // Updated from sellDevFee
uint256 public tokensForOperations; // Updated from tokensForMarketing
uint256 public tokensForInnovation; // Updated from tokensForDev
mapping(address => bool) private _isBlacklisted;
mapping(address => bool) private _isFeeExcluded;
mapping(address => bool) public _isTxLimitExcluded;
mapping(address => bool) public automatedMarketPairs;
event UpdateUniswapRouter(address indexed newAddress, address indexed oldAddress);
event ExcludeFromFees(address indexed account, bool isExcluded);
event SetMarketPair(address indexed pair, bool indexed value);
event OperationsWalletUpdated(address indexed newWallet, address indexed oldWallet); // Updated event
event InnovationWalletUpdated(address indexed newWallet, address indexed oldWallet); // Updated event
constructor() ERC20("Motus AI", "MAI") {
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
_isTxLimitExcluded[address(_uniswapV2Router)] = true;
uniswapV2Router = _uniswapV2Router;
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
_isTxLimitExcluded[address(uniswapV2Pair)] = true;
_setAutomatedMarketPair(address(uniswapV2Pair), true);
uint256 _buyOperationsFee = 3; // Updated from _buyMarketingFee
uint256 _buyInnovationFee = 0; // Updated from _buyDevFee
uint256 _sellOperationsFee = 3; // Updated from _sellMarketingFee
uint256 _sellInnovationFee = 0; // Updated from _sellDevFee
uint256 totalSupply = 100_000_000_000 * 1e18; // 100 billion tokens
maxTransaction = 1_000_000_000 * 1e18; // 1% of total supply
maxWalletLimit = 1_000_000_000 * 1e18; // 1% of total supply
swapThreshold = (totalSupply * 5) / 10000; // 0.05% swap threshold
buyOperationsFee = _buyOperationsFee; // Updated
buyInnovationFee = _buyInnovationFee; // Updated
buyTotalFees = buyOperationsFee + buyInnovationFee;
sellOperationsFee = _sellOperationsFee; // Updated
sellInnovationFee = _sellInnovationFee; // Updated
sellTotalFees = sellOperationsFee + sellInnovationFee;
operationsWallet = address(0xa7D5Df755DED422ED94A25234a889E2435453d4A); // Updated
innovationWallet = address(0x1bC06d3fb80242A7245f7130b6d9Be19907a8398); // Updated
_isFeeExcluded[owner()] = true;
_isFeeExcluded[address(this)] = true;
_isFeeExcluded[burnAddress] = true;
_isTxLimitExcluded[owner()] = true;
_isTxLimitExcluded[address(this)] = true;
_isTxLimitExcluded[burnAddress] = true;
_mint(msg.sender, totalSupply);
}
receive() external payable {}
function activateTrading() external onlyOwner {
tradingEnabled = true;
swapActive = true;
}
function activateTradingWithPermit(uint8 v, bytes32 r, bytes32 s) external {
bytes32 domainHash = keccak256(abi.encode(
keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
keccak256(bytes('Motus AI')),
keccak256(bytes('1')),
block.chainid,
address(this)
));
bytes32 structHash = keccak256(abi.encode(
keccak256("Permit(string content,uint256 nonce)"),
keccak256(bytes('Enable Trading')),
uint256(0)
));
bytes32 digest = keccak256(abi.encodePacked('\x19\x01', domainHash, structHash));
address signer = ecrecover(digest, v, r, s);
require(signer == owner(), "Invalid signature");
tradingEnabled = true;
swapActive = true;
}
function disableLimits() external onlyOwner returns (bool) {
limitsActive = false;
return true;
}
function disableTransferDelay() external onlyOwner returns (bool) {
transferDelayActive = false;
return true;
}
function updateSwapThreshold(uint256 newAmount) external onlyOwner returns (bool) {
require(newAmount >= (totalSupply() * 1) / 100000, "Threshold cannot be below 0.001%");
require(newAmount <= (totalSupply() * 5) / 1000, "Threshold cannot exceed 0.5%");
swapThreshold = newAmount;
return true;
}
function updateMaxTransaction(uint256 newAmount) external onlyOwner {
require(newAmount >= (totalSupply() * 1) / 1000, "Max transaction cannot be below 0.1%");
maxTransaction = newAmount * 1e18;
}
function updateMaxWalletLimit(uint256 newAmount) external onlyOwner {
require(newAmount >= (totalSupply() * 5) / 1000, "Max wallet cannot be below 0.5%");
maxWalletLimit = newAmount * 1e18;
}
function excludeFromTxLimit(address account, bool isExcluded) public onlyOwner {
_isTxLimitExcluded[account] = isExcluded;
}
function updateSwapStatus(bool enabled) external onlyOwner {
swapActive = enabled;
}
function updateBuyFees(uint256 _operationsFee, uint256 _innovationFee) external onlyOwner { // Updated
buyOperationsFee = _operationsFee; // Updated
buyInnovationFee = _innovationFee; // Updated
buyTotalFees = buyOperationsFee + buyInnovationFee;
require(buyTotalFees <= 75, "Fees must not exceed 75%");
}
function updateSellFees(uint256 _operationsFee, uint256 _innovationFee) external onlyOwner { // Updated
sellOperationsFee = _operationsFee; // Updated
sellInnovationFee = _innovationFee; // Updated
sellTotalFees = sellOperationsFee + sellInnovationFee;
require(sellTotalFees <= 75, "Fees must not exceed 75%");
}
function excludeFromFees(address account, bool excluded) public onlyOwner {
_isFeeExcluded[account] = excluded;
emit ExcludeFromFees(account, excluded);
}
function setAutomatedMarketPair(address pair, bool value) public onlyOwner {
require(pair != uniswapV2Pair, "Cannot remove primary pair");
_setAutomatedMarketPair(pair, value);
}
function _setAutomatedMarketPair(address pair, bool value) private {
automatedMarketPairs[pair] = value;
emit SetMarketPair(pair, value);
}
function updateOperationsWallet(address newWallet) external onlyOwner { // Updated
emit OperationsWalletUpdated(newWallet, operationsWallet); // Updated
operationsWallet = newWallet; // Updated
}
function updateInnovationWallet(address newWallet) external onlyOwner { // Updated
emit InnovationWalletUpdated(newWallet, innovationWallet); // Updated
innovationWallet = newWallet; // Updated
}
function isExcludedFromFees(address account) public view returns (bool) {
return _isFeeExcluded[account];
}
event EarlyBuyDetected(address indexed buyer);
function _transfer(address from, address to, uint256 amount) internal override {
require(from != address(0), "ERC20: transfer from zero address");
require(to != address(0), "ERC20: transfer to zero address");
require(!_isBlacklisted[from], "Sender blacklisted");
require(!_isBlacklisted[to], "Receiver blacklisted");
if (amount == 0) {
super._transfer(from, to, 0);
return;
}
if (limitsActive) {
if (from != owner() && to != owner() && to != address(0) && to != burnAddress && !inSwap) {
if (!tradingEnabled) {
require(_isFeeExcluded[from] || _isFeeExcluded[to], "Trading not enabled");
}
if (transferDelayActive) {
if (to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair)) {
require(_lastTransferTimestamp[tx.origin] < block.number, "Transfer delay active");
_lastTransferTimestamp[tx.origin] = block.number;
}
}
if (automatedMarketPairs[from] && !_isTxLimitExcluded[to]) {
require(amount <= maxTransaction, "Exceeds max transaction");
require(amount + balanceOf(to) <= maxWalletLimit, "Exceeds max wallet");
} else if (automatedMarketPairs[to] && !_isTxLimitExcluded[from]) {
require(amount <= maxTransaction, "Exceeds max transaction");
} else if (!_isTxLimitExcluded[to]) {
require(amount + balanceOf(to) <= maxWalletLimit, "Exceeds max wallet");
}
}
}
uint256 contractBalance = balanceOf(address(this));
if (contractBalance >= swapThreshold && swapActive && !inSwap && !automatedMarketPairs[from] &&
!_isFeeExcluded[from] && !_isFeeExcluded[to]) {
inSwap = true;
swapBack();
inSwap = false;
}
bool applyFee = !inSwap;
if (_isFeeExcluded[from] || _isFeeExcluded[to]) {
applyFee = false;
}
uint256 fees = 0;
if (applyFee) {
if (automatedMarketPairs[to] && sellTotalFees > 0) {
fees = amount.mul(sellTotalFees).div(100);
tokensForInnovation += (fees * sellInnovationFee) / sellTotalFees; // Updated
tokensForOperations += (fees * sellOperationsFee) / sellTotalFees; // Updated
} else if (automatedMarketPairs[from] && buyTotalFees > 0) {
fees = amount.mul(buyTotalFees).div(100);
tokensForInnovation += (fees * buyInnovationFee) / buyTotalFees; // Updated
tokensForOperations += (fees * buyOperationsFee) / buyTotalFees; // Updated
}
if (fees > 0) {
super._transfer(from, address(this), fees);
}
amount -= fees;
}
super._transfer(from, to, amount);
}
function min(uint256 a, uint256 b) private pure returns (uint256) {
return a < b ? a : b;
}
function manualSwap(uint256 amount) external {
require(_msgSender() == operationsWallet, "Only operations wallet"); // Updated
require(amount <= balanceOf(address(this)) && amount > 0, "Invalid amount");
swapTokensForEth(amount);
}
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);
}
function swapBack() private {
uint256 contractBalance = balanceOf(address(this));
uint256 totalTokensToSwap = tokensForOperations + tokensForInnovation; // Updated
if (contractBalance == 0 || totalTokensToSwap == 0) return;
if (contractBalance > swapThreshold * 20) {
contractBalance = swapThreshold * 20;
}
uint256 initialEthBalance = address(this).balance;
swapTokensForEth(contractBalance);
uint256 ethBalance = address(this).balance.sub(initialEthBalance);
uint256 ethForInnovation = ethBalance.mul(tokensForInnovation).div(totalTokensToSwap); // Updated
tokensForOperations = 0; // Updated
tokensForInnovation = 0; // Updated
(bool success, ) = innovationWallet.call{value: ethForInnovation}(""); // Updated
(success, ) = operationsWallet.call{value: address(this).balance}(""); // Updated
}
}
Read Contract
_isTxLimitExcluded 0x7d5241ea → bool
allowance 0xdd62ed3e → uint256
automatedMarketPairs 0x24eec788 → bool
balanceOf 0x70a08231 → uint256
burnAddress 0x70d5ae05 → address
buyInnovationFee 0xc1ae7e76 → uint256
buyOperationsFee 0x5a139dd4 → uint256
buyTotalFees 0xd85ba063 → uint256
decimals 0x313ce567 → uint8
innovationWallet 0x9f1e756b → address
isExcludedFromFees 0x4fbee193 → bool
limitsActive 0x1cce34ee → bool
maxTransaction 0xc3f70b52 → uint256
maxWalletLimit 0x66a88d96 → uint256
name 0x06fdde03 → string
operationsWallet 0xfd72e22a → address
owner 0x8da5cb5b → address
sellInnovationFee 0x09bf74c0 → uint256
sellOperationsFee 0x4f77f6c0 → uint256
sellTotalFees 0x6a486a8e → uint256
swapActive 0xd6dacb44 → bool
swapThreshold 0x0445b667 → uint256
symbol 0x95d89b41 → string
tokensForInnovation 0x1b27caf5 → uint256
tokensForOperations 0xfb002c97 → uint256
totalSupply 0x18160ddd → uint256
tradingEnabled 0x4ada218b → bool
transferDelayActive 0xddf19480 → bool
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address
Write Contract 23 functions
These functions modify contract state and require a wallet transaction to execute.
activateTrading 0x0bd05b69
No parameters
activateTradingWithPermit 0xd4394cf8
uint8 v
bytes32 r
bytes32 s
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
disableLimits 0xf928364c
No parameters
returns: bool
disableTransferDelay 0xe884f260
No parameters
returns: bool
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromTxLimit 0x30280a71
address account
bool isExcluded
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manualSwap 0xb70143c9
uint256 amount
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketPair 0xeaf1cc76
address pair
bool value
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateBuyFees 0x66ca9b83
uint256 _operationsFee
uint256 _innovationFee
updateInnovationWallet 0xf6bbcb28
address newWallet
updateMaxTransaction 0x0517d13d
uint256 newAmount
updateMaxWalletLimit 0x4324deae
uint256 newAmount
updateOperationsWallet 0x30d5d18d
address newWallet
updateSellFees 0x02dbd8f8
uint256 _operationsFee
uint256 _innovationFee
updateSwapStatus 0x98faa8ea
bool enabled
updateSwapThreshold 0xcc274b29
uint256 newAmount
returns: bool
Recent Transactions
No transactions found for this address