Address Contract Verified
Address
0x72D7b17bF63322A943d4A2873310a83DcdBc3c8D
Balance
0 ETH
Nonce
1
Code Size
24336 bytes
Creator
0x27798F38...3Dbf at tx 0x031ddcdb...720d1a
Indexed Transactions
0
Contract Bytecode
24336 bytes
0x6080604052600436106103395760003560e01c806372700241116101ab578063a9059cbb116100f7578063e4997dc511610095578063eecc44cf1161006f578063eecc44cf14610be5578063f2fde38b14610c22578063f317943f14610c4b578063f8178b3c14610c7457610340565b8063e4997dc514610b7c578063e6308a5614610ba5578063e8078d9414610bce57610340565b8063d28efaa6116100d1578063d28efaa614610aae578063db0fbe5f14610ad9578063dd62ed3e14610b02578063e47d606014610b3f57610340565b8063a9059cbb14610a1b578063ace1360c14610a58578063ccd20cfd14610a8357610340565b806392929a091161016457806395d89b411161013e57806395d89b411461095f5780639cef16491461098a578063a2b8a947146109b5578063a457c2d7146109de57610340565b806392929a09146108e4578063950eb5d51461090d57806395abdb4c1461093657610340565b806372700241146107e857806386d8953a146108115780638bce38b51461083a5780638c36f0c8146108655780638da5cb5b1461089057806390d49b9d146108bb57610340565b80632fb42076116102855780634fb320b21161022357806365407b6d116101fd57806365407b6d1461072e5780636f9170f61461075757806370a0823114610794578063715018a6146107d157610340565b80634fb320b2146106af5780635459060d146106d857806359bf29aa1461070357610340565b8063372dd7ac1161025f578063372dd7ac146105f5578063395093511461062057806339e899ee1461065d57806346de76471461068657610340565b80632fb4207614610576578063313ce5671461058d578063348c9487146105b857610340565b806318160ddd116102f257806321b29ee5116102cc57806321b29ee5146104bc57806323b872dd146104e7578063244eec06146105245780632e1a7d4d1461054d57610340565b806318160ddd1461043f5780631f53ac021461046a5780632042e5c21461049357610340565b80630617af701461034557806306fdde031461036e578063095ea7b31461039957806309e8b049146103d657806311400964146103ff57806312df50c41461042857610340565b3661034057005b600080fd5b34801561035157600080fd5b5061036c60048036038101906103679190614de1565b610c9f565b005b34801561037a57600080fd5b50610383610d87565b60405161039091906153bb565b60405180910390f35b3480156103a557600080fd5b506103c060048036038101906103bb9190614da5565b610e19565b6040516103cd91906153a0565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f89190614c9f565b610e37565b005b34801561040b57600080fd5b5061042660048036038101906104219190614e74565b610f0e565b005b34801561043457600080fd5b5061043d610fae565b005b34801561044b57600080fd5b50610454611163565b60405161046191906155fd565b60405180910390f35b34801561047657600080fd5b50610491600480360381019061048c9190614c9f565b61116d565b005b34801561049f57600080fd5b506104ba60048036038101906104b59190614c9f565b611244565b005b3480156104c857600080fd5b506104d161131b565b6040516104de91906155fd565b60405180910390f35b3480156104f357600080fd5b5061050e60048036038101906105099190614d56565b611325565b60405161051b91906153a0565b60405180910390f35b34801561053057600080fd5b5061054b60048036038101906105469190614c9f565b61195d565b005b34801561055957600080fd5b50610574600480360381019061056f9190614e74565b611acd565b005b34801561058257600080fd5b5061058b611b78565b005b34801561059957600080fd5b506105a2611def565b6040516105af9190615672565b60405180910390f35b3480156105c457600080fd5b506105df60048036038101906105da9190614c9f565b611df8565b6040516105ec91906153a0565b60405180910390f35b34801561060157600080fd5b5061060a611e4e565b60405161061791906153a0565b60405180910390f35b34801561062c57600080fd5b5061064760048036038101906106429190614da5565b611e65565b60405161065491906153a0565b60405180910390f35b34801561066957600080fd5b50610684600480360381019061067f9190614c9f565b611f11565b005b34801561069257600080fd5b506106ad60048036038101906106a89190614c9f565b611fe8565b005b3480156106bb57600080fd5b506106d660048036038101906106d19190614e74565b6120bf565b005b3480156106e457600080fd5b506106ed612145565b6040516106fa919061529b565b60405180910390f35b34801561070f57600080fd5b5061071861216f565b60405161072591906155fd565b60405180910390f35b34801561073a57600080fd5b5061075560048036038101906107509190614e74565b612179565b005b34801561076357600080fd5b5061077e60048036038101906107799190614c9f565b612219565b60405161078b91906153a0565b60405180910390f35b3480156107a057600080fd5b506107bb60048036038101906107b69190614c9f565b61226f565b6040516107c891906155fd565b60405180910390f35b3480156107dd57600080fd5b506107e66122b7565b005b3480156107f457600080fd5b5061080f600480360381019061080a9190614c9f565b61233f565b005b34801561081d57600080fd5b5061083860048036038101906108339190614de1565b612416565b005b34801561084657600080fd5b5061084f6124fe565b60405161085c91906155fd565b60405180910390f35b34801561087157600080fd5b5061087a612508565b6040516108879190615280565b60405180910390f35b34801561089c57600080fd5b506108a5612532565b6040516108b29190615280565b60405180910390f35b3480156108c757600080fd5b506108e260048036038101906108dd9190614cf1565b61255c565b005b3480156108f057600080fd5b5061090b60048036038101906109069190614e22565b61261c565b005b34801561091957600080fd5b50610934600480360381019061092f9190614e74565b6126b5565b005b34801561094257600080fd5b5061095d60048036038101906109589190614e74565b61273b565b005b34801561096b57600080fd5b506109746127c1565b60405161098191906153bb565b60405180910390f35b34801561099657600080fd5b5061099f612853565b6040516109ac91906155fd565b60405180910390f35b3480156109c157600080fd5b506109dc60048036038101906109d79190614e74565b612877565b005b3480156109ea57600080fd5b50610a056004803603810190610a009190614da5565b6128fd565b604051610a1291906153a0565b60405180910390f35b348015610a2757600080fd5b50610a426004803603810190610a3d9190614da5565b6129e8565b604051610a4f91906153a0565b60405180910390f35b348015610a6457600080fd5b50610a6d612fe6565b604051610a7a91906153a0565b60405180910390f35b348015610a8f57600080fd5b50610a98612ffd565b604051610aa591906155fd565b60405180910390f35b348015610aba57600080fd5b50610ac3613007565b604051610ad091906155fd565b60405180910390f35b348015610ae557600080fd5b50610b006004803603810190610afb9190614e22565b61302b565b005b348015610b0e57600080fd5b50610b296004803603810190610b249190614d1a565b6130c4565b604051610b3691906155fd565b60405180910390f35b348015610b4b57600080fd5b50610b666004803603810190610b619190614c9f565b61314b565b604051610b7391906153a0565b60405180910390f35b348015610b8857600080fd5b50610ba36004803603810190610b9e9190614c9f565b6131a1565b005b348015610bb157600080fd5b50610bcc6004803603810190610bc79190614e74565b613278565b005b348015610bda57600080fd5b50610be3613318565b005b348015610bf157600080fd5b50610c0c6004803603810190610c079190614c9f565b613919565b604051610c1991906153a0565b60405180910390f35b348015610c2e57600080fd5b50610c496004803603810190610c449190614c9f565b61396f565b005b348015610c5757600080fd5b50610c726004803603810190610c6d9190614c9f565b613c1c565b005b348015610c8057600080fd5b50610c89613cf3565b604051610c9691906155fd565b60405180910390f35b610ca7613d17565b73ffffffffffffffffffffffffffffffffffffffff16610cc5612532565b73ffffffffffffffffffffffffffffffffffffffff1614610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d129061553d565b60405180910390fd5b60005b8151811015610d8357610d70828281518110610d63577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161233f565b8080610d7b90615957565b915050610d1e565b5050565b606060038054610d96906158f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc2906158f4565b8015610e0f5780601f10610de457610100808354040283529160200191610e0f565b820191906000526020600020905b815481529060010190602001808311610df257829003601f168201915b5050505050905090565b6000610e2d610e26613d17565b8484613d1f565b6001905092915050565b610e3f613d17565b73ffffffffffffffffffffffffffffffffffffffff16610e5d612532565b73ffffffffffffffffffffffffffffffffffffffff1614610eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaa9061553d565b60405180910390fd5b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610f16613d17565b73ffffffffffffffffffffffffffffffffffffffff16610f34612532565b73ffffffffffffffffffffffffffffffffffffffff1614610f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f819061553d565b60405180910390fd5b610fa5670de0b6b3a764000082613eea90919063ffffffff16565b60128190555050565b610fb6613d17565b73ffffffffffffffffffffffffffffffffffffffff16610fd4612532565b73ffffffffffffffffffffffffffffffffffffffff161461102a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110219061553d565b60405180910390fd5b600073976091738973b520a514ea206acdd008a09649de90508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611067612532565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110a09190615280565b60206040518083038186803b1580156110b857600080fd5b505afa1580156110cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f09190614e9d565b6040518363ffffffff1660e01b815260040161110d929190615316565b602060405180830381600087803b15801561112757600080fd5b505af115801561113b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115f9190614e4b565b5050565b6000600254905090565b611175613d17565b73ffffffffffffffffffffffffffffffffffffffff16611193612532565b73ffffffffffffffffffffffffffffffffffffffff16146111e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e09061553d565b60405180910390fd5b6001600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61124c613d17565b73ffffffffffffffffffffffffffffffffffffffff1661126a612532565b73ffffffffffffffffffffffffffffffffffffffff16146112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b79061553d565b60405180910390fd5b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600854905090565b6000838383600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156113ce5750600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561142357601060009054906101000a900460ff16611422576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114199061559d565b60405180910390fd5b5b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a7906154fd565b60405180910390fd5b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561153d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611534906154fd565b60405180910390fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156115e45750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561163e5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b806117465750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480156116eb5750600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156117455750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b5b1561179157601154811115611790576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117879061543d565b60405180910390fd5b5b600061179e888888613f00565b90506117ab888883614015565b6117f9886117b7613d17565b6117f489604051806060016040528060288152602001615eb3602891396117e58e6117e0613d17565b6130c4565b6142969092919063ffffffff16565b613d1f565b6001945050600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156118a65750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156119005750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611953576012546119118361226f565b1115611952576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119499061551d565b60405180910390fd5b5b5050509392505050565b611965613d17565b73ffffffffffffffffffffffffffffffffffffffff16611983612532565b73ffffffffffffffffffffffffffffffffffffffff16146119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d09061553d565b60405180910390fd5b80600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611ad5613d17565b73ffffffffffffffffffffffffffffffffffffffff16611af3612532565b73ffffffffffffffffffffffffffffffffffffffff1614611b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b409061553d565b60405180910390fd5b611b7530611b55612532565b611b70670de0b6b3a764000085613eea90919063ffffffff16565b614015565b50565b600760009054906101000a900460ff16611bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbe9061541d565b60405180910390fd5b600073976091738973b520a514ea206acdd008a09649de905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231611c06613d17565b6040518263ffffffff1660e01b8152600401611c229190615280565b60206040518083038186803b158015611c3a57600080fd5b505afa158015611c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c729190614e9d565b90506000811415611c84575050611ded565b6000611caf611ca06103e8600654613eea90919063ffffffff16565b83613eea90919063ffffffff16565b9050611cdc600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661226f565b811115611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d15906154bd565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd611d42613d17565b30856040518463ffffffff1660e01b8152600401611d62939291906152df565b602060405180830381600087803b158015611d7c57600080fd5b505af1158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db49190614e4b565b50611de9600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611de3613d17565b83614015565b5050505b565b60006012905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000601060009054906101000a900460ff16905090565b6000611f07611e72613d17565b848460016000611e80613d17565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f029190615733565b613d1f565b6001905092915050565b611f19613d17565b73ffffffffffffffffffffffffffffffffffffffff16611f37612532565b73ffffffffffffffffffffffffffffffffffffffff1614611f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f849061553d565b60405180910390fd5b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611ff0613d17565b73ffffffffffffffffffffffffffffffffffffffff1661200e612532565b73ffffffffffffffffffffffffffffffffffffffff1614612064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205b9061553d565b60405180910390fd5b6001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6120c7613d17565b73ffffffffffffffffffffffffffffffffffffffff166120e5612532565b73ffffffffffffffffffffffffffffffffffffffff161461213b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121329061553d565b60405180910390fd5b8060068190555050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600654905090565b612181613d17565b73ffffffffffffffffffffffffffffffffffffffff1661219f612532565b73ffffffffffffffffffffffffffffffffffffffff16146121f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ec9061553d565b60405180910390fd5b612210670de0b6b3a764000082613eea90919063ffffffff16565b60138190555050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6122bf613d17565b73ffffffffffffffffffffffffffffffffffffffff166122dd612532565b73ffffffffffffffffffffffffffffffffffffffff1614612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a9061553d565b60405180910390fd5b61233d60006142eb565b565b612347613d17565b73ffffffffffffffffffffffffffffffffffffffff16612365612532565b73ffffffffffffffffffffffffffffffffffffffff16146123bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b29061553d565b60405180910390fd5b6001600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61241e613d17565b73ffffffffffffffffffffffffffffffffffffffff1661243c612532565b73ffffffffffffffffffffffffffffffffffffffff1614612492576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124899061553d565b60405180910390fd5b60005b81518110156124fa576124e78282815181106124da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611f11565b80806124f290615957565b915050612495565b5050565b6000600a54905090565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612564613d17565b73ffffffffffffffffffffffffffffffffffffffff16612582612532565b73ffffffffffffffffffffffffffffffffffffffff16146125d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cf9061553d565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612624613d17565b73ffffffffffffffffffffffffffffffffffffffff16612642612532565b73ffffffffffffffffffffffffffffffffffffffff1614612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f9061553d565b60405180910390fd5b80600760006101000a81548160ff02191690831515021790555050565b6126bd613d17565b73ffffffffffffffffffffffffffffffffffffffff166126db612532565b73ffffffffffffffffffffffffffffffffffffffff1614612731576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127289061553d565b60405180910390fd5b8060098190555050565b612743613d17565b73ffffffffffffffffffffffffffffffffffffffff16612761612532565b73ffffffffffffffffffffffffffffffffffffffff16146127b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ae9061553d565b60405180910390fd5b80600a8190555050565b6060600480546127d0906158f4565b80601f01602080910402602001604051908101604052809291908181526020018280546127fc906158f4565b80156128495780601f1061281e57610100808354040283529160200191612849565b820191906000526020600020905b81548152906001019060200180831161282c57829003601f168201915b5050505050905090565b6000612872670de0b6b3a76400006011546143b190919063ffffffff16565b905090565b61287f613d17565b73ffffffffffffffffffffffffffffffffffffffff1661289d612532565b73ffffffffffffffffffffffffffffffffffffffff16146128f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ea9061553d565b60405180910390fd5b8060088190555050565b6000806001600061290c613d17565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156129c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c0906155dd565b60405180910390fd5b6129dd6129d4613d17565b85858403613d1f565b600191505092915050565b60006129f2613d17565b8383600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015612a985750600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612aed57601060009054906101000a900460ff16612aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae39061559d565b60405180910390fd5b5b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b71906154fd565b60405180910390fd5b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfe906154fd565b60405180910390fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015612cae5750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015612d085750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80612e105750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16148015612db55750600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015612e0f5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b5b15612e5b57601154811115612e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e519061543d565b60405180910390fd5b5b6000612e6f612e68613d17565b8888613f00565b9050612e83612e7c613d17565b8883614015565b6001945050600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015612f305750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612f8a5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612fdd57601254612f9b8361226f565b1115612fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd39061551d565b60405180910390fd5b5b50505092915050565b6000600760009054906101000a900460ff16905090565b6000600954905090565b6000613026670de0b6b3a76400006013546143b190919063ffffffff16565b905090565b613033613d17565b73ffffffffffffffffffffffffffffffffffffffff16613051612532565b73ffffffffffffffffffffffffffffffffffffffff16146130a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309e9061553d565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6131a9613d17565b73ffffffffffffffffffffffffffffffffffffffff166131c7612532565b73ffffffffffffffffffffffffffffffffffffffff161461321d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132149061553d565b60405180910390fd5b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b613280613d17565b73ffffffffffffffffffffffffffffffffffffffff1661329e612532565b73ffffffffffffffffffffffffffffffffffffffff16146132f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132eb9061553d565b60405180910390fd5b61330f670de0b6b3a764000082613eea90919063ffffffff16565b60118190555050565b613320613d17565b73ffffffffffffffffffffffffffffffffffffffff1661333e612532565b73ffffffffffffffffffffffffffffffffffffffff1614613394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338b9061553d565b60405180910390fd5b601560149054906101000a900460ff16156133e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133db906153fd565b60405180910390fd5b600047905060006133f43061226f565b905060008211613439576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134309061555d565b60405180910390fd5b6000811161347c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134739061545d565b60405180910390fd5b6000737a250d5630b4cf539739df2c5dacb4c659f2488d905080601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600e6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061357d30601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684613d1f565b8073ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156135c357600080fd5b505afa1580156135d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135fb9190614cc8565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308373ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561365d57600080fd5b505afa158015613671573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136959190614cc8565b6040518363ffffffff1660e01b81526004016136b29291906152b6565b602060405180830381600087803b1580156136cc57600080fd5b505af11580156136e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137049190614cc8565b601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719843085600080613790612532565b426040518863ffffffff1660e01b81526004016137b29695949392919061533f565b6060604051808303818588803b1580156137cb57600080fd5b505af11580156137df573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906138049190614ec6565b5050506001601560146101000a81548160ff021916908315150217905550601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016138c1929190615316565b602060405180830381600087803b1580156138db57600080fd5b505af11580156138ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139139190614e4b565b50505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b613977613d17565b73ffffffffffffffffffffffffffffffffffffffff16613995612532565b73ffffffffffffffffffffffffffffffffffffffff16146139eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139e29061553d565b60405180910390fd5b6000600e60006139f9612532565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600c6000613a58612532565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600d6000613ab7612532565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613b11816143c7565b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b613c24613d17565b73ffffffffffffffffffffffffffffffffffffffff16613c42612532565b73ffffffffffffffffffffffffffffffffffffffff1614613c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8f9061553d565b60405180910390fd5b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000613d12670de0b6b3a76400006012546143b190919063ffffffff16565b905090565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613d8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d86906155bd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613df69061549d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051613edd91906155fd565b60405180910390a3505050565b60008183613ef891906157ba565b905092915050565b60008060009050600080613f1487876144bf565b90506000613f2288886145ca565b90508115613f34576008549350613f46565b8015613f45576009549350600a5492505b5b6000613f6e6064613f60878a613eea90919063ffffffff16565b6143b190919063ffffffff16565b90506000613f986064613f8a878b613eea90919063ffffffff16565b6143b190919063ffffffff16565b905060008214613fae57613fad8a3084614015565b5b60008114613fe457613fe3600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a83614015565b5b8315613ff357613ff26146d5565b5b614006828961482c90919063ffffffff16565b96505050505050509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415614085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407c9061557d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156140f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140ec906153dd565b60405180910390fd5b614100838383614842565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015614186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161417d906154dd565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546142199190615733565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161427d91906155fd565b60405180910390a3614290848484614847565b50505050565b60008383111582906142de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142d591906153bb565b60405180910390fd5b5082840390509392505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836143bf9190615789565b905092915050565b6143cf613d17565b73ffffffffffffffffffffffffffffffffffffffff166143ed612532565b73ffffffffffffffffffffffffffffffffffffffff1614614443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161443a9061553d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156144b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016144aa9061547d565b60405180910390fd5b6144bc816142eb565b50565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614801561456c5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156145c25750600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b905092915050565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156146775750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156146cd5750600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b905092915050565b60006146e03061226f565b9050600060135482101590506146f461484c565b80156146fd5750805b156148285761470b8261487c565b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156147b857503073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b1561482757600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015614825573d6000803e3d6000fd5b505b5b5050565b6000818361483a9190615814565b905092915050565b505050565b505050565b6000600b60149054906101000a900460ff161580156148775750601560149054906101000a900460ff165b905090565b6001600b60146101000a81548160ff0219169083151502179055506000600267ffffffffffffffff8111156148da577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156149085781602001602082028036833780820191505090505b5090503081600081518110614946577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156149e857600080fd5b505afa1580156149fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a209190614cc8565b81600181518110614a5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050614ac130601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684613d1f565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401614b25959493929190615618565b600060405180830381600087803b158015614b3f57600080fd5b505af1158015614b53573d6000803e3d6000fd5b50505050506000600b60146101000a81548160ff02191690831515021790555050565b6000614b89614b84846156b2565b61568d565b90508083825260208201905082856020860282011115614ba857600080fd5b60005b85811015614bd85781614bbe8882614be2565b845260208401935060208301925050600181019050614bab565b5050509392505050565b600081359050614bf181615e56565b92915050565b600081519050614c0681615e56565b92915050565b600081359050614c1b81615e6d565b92915050565b600082601f830112614c3257600080fd5b8135614c42848260208601614b76565b91505092915050565b600081359050614c5a81615e84565b92915050565b600081519050614c6f81615e84565b92915050565b600081359050614c8481615e9b565b92915050565b600081519050614c9981615e9b565b92915050565b600060208284031215614cb157600080fd5b6000614cbf84828501614be2565b91505092915050565b600060208284031215614cda57600080fd5b6000614ce884828501614bf7565b91505092915050565b600060208284031215614d0357600080fd5b6000614d1184828501614c0c565b91505092915050565b60008060408385031215614d2d57600080fd5b6000614d3b85828601614be2565b9250506020614d4c85828601614be2565b9150509250929050565b600080600060608486031215614d6b57600080fd5b6000614d7986828701614be2565b9350506020614d8a86828701614be2565b9250506040614d9b86828701614c75565b9150509250925092565b60008060408385031215614db857600080fd5b6000614dc685828601614be2565b9250506020614dd785828601614c75565b9150509250929050565b600060208284031215614df357600080fd5b600082013567ffffffffffffffff811115614e0d57600080fd5b614e1984828501614c21565b91505092915050565b600060208284031215614e3457600080fd5b6000614e4284828501614c4b565b91505092915050565b600060208284031215614e5d57600080fd5b6000614e6b84828501614c60565b91505092915050565b600060208284031215614e8657600080fd5b6000614e9484828501614c75565b91505092915050565b600060208284031215614eaf57600080fd5b6000614ebd84828501614c8a565b91505092915050565b600080600060608486031215614edb57600080fd5b6000614ee986828701614c8a565b9350506020614efa86828701614c8a565b9250506040614f0b86828701614c8a565b9150509250925092565b6000614f218383614f3c565b60208301905092915050565b614f368161585a565b82525050565b614f4581615848565b82525050565b614f5481615848565b82525050565b6000614f65826156ee565b614f6f8185615711565b9350614f7a836156de565b8060005b83811015614fab578151614f928882614f15565b9750614f9d83615704565b925050600181019050614f7e565b5085935050505092915050565b614fc18161586c565b82525050565b614fd0816158af565b82525050565b6000614fe1826156f9565b614feb8185615722565b9350614ffb8185602086016158c1565b61500481615a5c565b840191505092915050565b600061501c602383615722565b915061502782615a6d565b604082019050919050565b600061503f601e83615722565b915061504a82615abc565b602082019050919050565b6000615062601483615722565b915061506d82615ae5565b602082019050919050565b6000615085601383615722565b915061509082615b0e565b602082019050919050565b60006150a8601783615722565b91506150b382615b37565b602082019050919050565b60006150cb602683615722565b91506150d682615b60565b604082019050919050565b60006150ee602283615722565b91506150f982615baf565b604082019050919050565b6000615111602283615722565b915061511c82615bfe565b604082019050919050565b6000615134602683615722565b915061513f82615c4d565b604082019050919050565b6000615157601683615722565b915061516282615c9c565b602082019050919050565b600061517a601683615722565b915061518582615cc5565b602082019050919050565b600061519d602083615722565b91506151a882615cee565b602082019050919050565b60006151c0601983615722565b91506151cb82615d17565b602082019050919050565b60006151e3602583615722565b91506151ee82615d40565b604082019050919050565b6000615206601583615722565b915061521182615d8f565b602082019050919050565b6000615229602483615722565b915061523482615db8565b604082019050919050565b600061524c602583615722565b915061525782615e07565b604082019050919050565b61526b81615898565b82525050565b61527a816158a2565b82525050565b60006020820190506152956000830184614f4b565b92915050565b60006020820190506152b06000830184614f2d565b92915050565b60006040820190506152cb6000830185614f4b565b6152d86020830184614f4b565b9392505050565b60006060820190506152f46000830186614f4b565b6153016020830185614f4b565b61530e6040830184615262565b949350505050565b600060408201905061532b6000830185614f4b565b6153386020830184615262565b9392505050565b600060c0820190506153546000830189614f4b565b6153616020830188615262565b61536e6040830187614fc7565b61537b6060830186614fc7565b6153886080830185614f4b565b61539560a0830184615262565b979650505050505050565b60006020820190506153b56000830184614fb8565b92915050565b600060208201905081810360008301526153d58184614fd6565b905092915050565b600060208201905081810360008301526153f68161500f565b9050919050565b6000602082019050818103600083015261541681615032565b9050919050565b6000602082019050818103600083015261543681615055565b9050919050565b6000602082019050818103600083015261545681615078565b9050919050565b600060208201905081810360008301526154768161509b565b9050919050565b60006020820190508181036000830152615496816150be565b9050919050565b600060208201905081810360008301526154b6816150e1565b9050919050565b600060208201905081810360008301526154d681615104565b9050919050565b600060208201905081810360008301526154f681615127565b9050919050565b600060208201905081810360008301526155168161514a565b9050919050565b600060208201905081810360008301526155368161516d565b9050919050565b6000602082019050818103600083015261555681615190565b9050919050565b60006020820190508181036000830152615576816151b3565b9050919050565b60006020820190508181036000830152615596816151d6565b9050919050565b600060208201905081810360008301526155b6816151f9565b9050919050565b600060208201905081810360008301526155d68161521c565b9050919050565b600060208201905081810360008301526155f68161523f565b9050919050565b60006020820190506156126000830184615262565b92915050565b600060a08201905061562d6000830188615262565b61563a6020830187614fc7565b818103604083015261564c8186614f5a565b905061565b6060830185614f4b565b6156686080830184615262565b9695505050505050565b60006020820190506156876000830184615271565b92915050565b60006156976156a8565b90506156a38282615926565b919050565b6000604051905090565b600067ffffffffffffffff8211156156cd576156cc615a2d565b5b602082029050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600061573e82615898565b915061574983615898565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561577e5761577d6159a0565b5b828201905092915050565b600061579482615898565b915061579f83615898565b9250826157af576157ae6159cf565b5b828204905092915050565b60006157c582615898565b91506157d083615898565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615809576158086159a0565b5b828202905092915050565b600061581f82615898565b915061582a83615898565b92508282101561583d5761583c6159a0565b5b828203905092915050565b600061585382615878565b9050919050565b600061586582615878565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006158ba82615898565b9050919050565b60005b838110156158df5780820151818401526020810190506158c4565b838111156158ee576000848401525b50505050565b6000600282049050600182168061590c57607f821691505b602082108114156159205761591f6159fe565b5b50919050565b61592f82615a5c565b810181811067ffffffffffffffff8211171561594e5761594d615a2d565b5b80604052505050565b600061596282615898565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615995576159946159a0565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4c697175696469747920706f6f6c20616c726561647920637265617465640000600082015250565b7f436c61696d206973206e6f7420656e61626c6564000000000000000000000000600082015250565b7f416d6f756e74206973206269676720746f6f2e00000000000000000000000000600082015250565b7f4d6973686b612062616c616e636520697320656d707479000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f436c61696d2057616c6c65742062616c616e6365206973206e6f7420656e6f7560008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f596f752061726520696e20626c6f636b206c6973742e00000000000000000000600082015250565b7f5468652062616c616e63652069732062696720746f6f00000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f457468657265756d2062616c616e636520697320656d70747900000000000000600082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e61626c6564207472616e736665722e0000000000000000000000600082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b615e5f81615848565b8114615e6a57600080fd5b50565b615e768161585a565b8114615e8157600080fd5b50565b615e8d8161586c565b8114615e9857600080fd5b50565b615ea481615898565b8114615eaf57600080fd5b5056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212201e10bfb86b13a972e8e5234e3eee2da2e12404bc7c440a4f69a0ef667fb468c664736f6c63430008040033
Verified Source Code Full Match
Compiler: v0.8.4+commit.c7e474f2
EVM: istanbul
Optimization: No
Mishka2.sol 456 lines
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
interface IUniswapV2Factory {
function createPair(address tokenA, address tokenB)
external
returns (address pair);
}
contract Mishka2 is Context, ERC20, Ownable {
using SafeMath for uint256;
// ##### Constant Value ######
uint256 private constant TOTAL_SUPPLY = 1000000000 * 10**18;
address private constant MISHKA1 =
0x976091738973b520A514ea206AcDD008A09649De;
// ##### Tokenomic Private Value ####
uint256 private m_ClaimRate = 1100; // unit 1 / 10**6 ;
bool private m_ClaimEnabled = true;
address private m_ClaimWallet;
uint256 private m_SellFeePercent = 10; // 10% Sell Fee.
uint256 private m_BuyFeePercent = 0; // 0% Buy Fee.
uint256 private m_BuyBonusPercent = 0; // 0% Buy Bonus.
address payable private m_FeeWallet; // FeeWalletAddress.
bool private m_IsSwap = false;
mapping(address => bool) private m_IgnoreFeeList;
mapping(address => bool) private m_DevWalletList;
mapping(address => bool) private m_WhiteList;
mapping(address => bool) private m_BlackList;
bool private m_PublicTradingOpened = false;
uint256 private m_TxLimit = 5000000 * 10**18; // 0.5% of total supply
uint256 private m_MaxWalletSize = 1000000000 * 10**18; // 100% of total supply
uint256 private m_NumOfTokensForDisperse = 5000 * 10**18; // Exchange to Eth Limit - 5 Mil
address private m_UniswapV2Pair;
IUniswapV2Router02 private m_UniswapV2Router;
bool private m_SwapEnabled = false;
///////////////////////////////////////
receive() external payable {}
modifier lockTheSwap() {
m_IsSwap = true;
_;
m_IsSwap = false;
}
modifier transferable(
address _sender,
address _recipient,
uint256 _amount
) {
if (!m_WhiteList[_sender] && !m_WhiteList[_recipient]) {
require(m_PublicTradingOpened, "Not enabled transfer.");
}
require(!m_BlackList[_sender], "You are in block list.");
require(!m_BlackList[_recipient], "You are in block list.");
if (
(_sender == m_UniswapV2Pair &&
!m_DevWalletList[_recipient] &&
_recipient != address(m_UniswapV2Router)) ||
(_recipient == m_UniswapV2Pair &&
!m_DevWalletList[_sender] &&
_sender != address(m_UniswapV2Router))
) require(_amount <= m_TxLimit, "Amount is bigg too.");
_;
if (
!m_DevWalletList[_recipient] &&
_recipient != m_UniswapV2Pair &&
_recipient != address(m_UniswapV2Router)
)
require(
ERC20.balanceOf(_recipient) <= m_MaxWalletSize,
"The balance is big too"
);
}
constructor() ERC20("Mishka Token", "MSK") {
m_WhiteList[owner()] = true;
m_WhiteList[address(this)] = true;
m_DevWalletList[address(this)] = true;
m_DevWalletList[owner()] = true;
m_IgnoreFeeList[address(this)] = true;
m_ClaimWallet = address(this);
_mint(address(this), TOTAL_SUPPLY);
}
// ##### Transfer Feature #####
function setPublicTradingOpened(bool _enabled) external onlyOwner {
m_PublicTradingOpened = _enabled;
}
function isPublicTradingOpened() external view returns (bool) {
return m_PublicTradingOpened;
}
function setWhiteList(address _address) public onlyOwner {
m_WhiteList[_address] = true;
}
function setWhiteListMultiple(address[] memory _addresses)
public
onlyOwner
{
for (uint256 i = 0; i < _addresses.length; i++) {
setWhiteList(_addresses[i]);
}
}
function removeWhiteList(address _address) external onlyOwner {
m_WhiteList[_address] = false;
}
function isWhiteListed(address _address) external view returns (bool) {
return m_WhiteList[_address];
}
function setBlackList(address _address) public onlyOwner {
m_BlackList[_address] = true;
}
function setBlackListMultiple(address[] memory _addresses)
public
onlyOwner
{
for (uint256 i = 0; i < _addresses.length; i++) {
setBlackList(_addresses[i]);
}
}
function removeBlackList(address _address) external onlyOwner {
m_BlackList[_address] = false;
}
function isBlackListed(address _address) external view returns (bool) {
return m_BlackList[_address];
}
function setDevWallet(address _address) external onlyOwner {
m_DevWalletList[_address] = true;
}
function removeDevWallet(address _address) external onlyOwner {
m_DevWalletList[_address] = false;
}
function isDevWallet(address _address) external view returns (bool) {
return m_DevWalletList[_address];
}
function setTxLimitToken(uint256 _txLimit) external onlyOwner {
m_TxLimit = _txLimit.mul(10**18);
}
function getTxLimitToken() external view returns (uint256) {
return m_TxLimit.div(10**18);
}
function setMaxWalletSizeToken(uint256 _maxWalletSize) external onlyOwner {
m_MaxWalletSize = _maxWalletSize.mul(10**18);
}
function getMaxWalletSizeToken() external view returns (uint256) {
return m_MaxWalletSize.div(10**18);
}
function transfer(address _recipient, uint256 _amount)
public
override
transferable(_msgSender(), _recipient, _amount)
returns (bool)
{
uint256 realAmount = _feeProcess(_msgSender(), _recipient, _amount);
_transfer(_msgSender(), _recipient, realAmount);
return true;
}
function transferFrom(
address _sender,
address _recipient,
uint256 _amount
)
public
override
transferable(_sender, _recipient, _amount)
returns (bool)
{
uint256 realAmount = _feeProcess(_sender, _recipient, _amount);
_transfer(_sender, _recipient, realAmount);
_approve(
_sender,
_msgSender(),
allowance(_sender, _msgSender()).sub(
_amount,
"ERC20: transfer amount exceeds allowance"
)
);
return true;
}
// ###### Claim Feature ######
function setClaimRate(uint256 _rate) external onlyOwner {
m_ClaimRate = _rate;
}
function getClaimRate() external view returns (uint256) {
return m_ClaimRate;
}
function setClaimEnabled(bool _enabled) external onlyOwner {
m_ClaimEnabled = _enabled;
}
function getClaimEnabled() external view returns (bool) {
return m_ClaimEnabled;
}
function setClaimWallet(address _claimWallet) external onlyOwner {
m_ClaimWallet = _claimWallet;
m_IgnoreFeeList[_claimWallet] = true;
m_WhiteList[_claimWallet] = true;
}
function getClaimWallet() external view returns (address) {
return m_ClaimWallet;
}
function claimV2() external {
require(m_ClaimEnabled, "Claim is not enabled");
IERC20 mishkaV1 = IERC20(MISHKA1);
uint256 v1Amount = mishkaV1.balanceOf(_msgSender());
if (v1Amount == 0) return;
uint256 claimAmount = v1Amount.mul(m_ClaimRate.mul(10**3));
require(
claimAmount <= ERC20.balanceOf(m_ClaimWallet),
"Claim Wallet balance is not enough"
);
mishkaV1.transferFrom(_msgSender(), address(this), v1Amount);
_transfer(m_ClaimWallet, _msgSender(), claimAmount);
}
// ###### Liquidity Feature ######
function addLiquidity() external onlyOwner {
require(!m_SwapEnabled, "Liquidity pool already created");
uint256 ethAmount = address(this).balance;
uint256 v2Amount = balanceOf(address(this));
require(ethAmount > 0, "Ethereum balance is empty");
require(v2Amount > 0, "Mishka balance is empty");
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
);
m_UniswapV2Router = _uniswapV2Router;
m_WhiteList[address(m_UniswapV2Router)] = true;
_approve(address(this), address(m_UniswapV2Router), v2Amount);
m_UniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
.createPair(address(this), _uniswapV2Router.WETH());
// m_WhiteList[m_UniswapV2Pair] = true;
m_UniswapV2Router.addLiquidityETH{value: ethAmount}(
address(this),
v2Amount,
0,
0,
owner(),
block.timestamp
);
m_SwapEnabled = true;
IERC20(m_UniswapV2Pair).approve(
address(m_UniswapV2Router),
type(uint256).max
);
}
// ##### Fee Feature ######
function setSellFeePercent(uint256 _sellFeePercent) external onlyOwner {
m_SellFeePercent = _sellFeePercent;
}
function getSellFeePercent() external view returns (uint256) {
return m_SellFeePercent;
}
function setBuyFeePercent(uint256 _buyFeePercent) external onlyOwner {
m_BuyFeePercent = _buyFeePercent;
}
function getBuyFeePercent() external view returns (uint256) {
return m_BuyFeePercent;
}
function setBuyBonusPercent(uint256 _buyBonusPercent) external onlyOwner {
m_BuyBonusPercent = _buyBonusPercent;
}
function getBuyBonusPercent() external view returns (uint256) {
return m_BuyBonusPercent;
}
function setFeeWallet(address payable _feeWallet) external onlyOwner {
m_FeeWallet = _feeWallet;
}
function getFeeWallet() external view returns (address payable) {
return m_FeeWallet;
}
function setIgnoreFeeAddress(address _address) external onlyOwner {
m_IgnoreFeeList[_address] = true;
}
function removeIgnoreFeeAddress(address _address) external onlyOwner {
m_IgnoreFeeList[_address] = false;
}
function isIgnoreFeeAddress(address _address) external view returns (bool) {
return m_IgnoreFeeList[_address];
}
function setNumOfTokensForDisperse(uint256 _numOfTokensForDisperse)
external
onlyOwner
{
m_NumOfTokensForDisperse = _numOfTokensForDisperse.mul(10**18);
}
function getNumOfTokensForDisperse() external view returns (uint256) {
return m_NumOfTokensForDisperse.div(10**18);
}
function _isBuy(address _sender, address _recipient)
private
view
returns (bool)
{
return
_sender == m_UniswapV2Pair &&
_recipient != address(m_UniswapV2Router) &&
!m_IgnoreFeeList[_recipient];
}
function _isSale(address _sender, address _recipient)
private
view
returns (bool)
{
return
_recipient == m_UniswapV2Pair &&
_sender != address(m_UniswapV2Router) &&
!m_IgnoreFeeList[_sender];
}
function _swapTokensForETH(uint256 _amount) private lockTheSwap {
address[] memory _path = new address[](2);
_path[0] = address(this);
_path[1] = m_UniswapV2Router.WETH();
_approve(address(this), address(m_UniswapV2Router), _amount);
m_UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
_amount,
0,
_path,
address(this),
block.timestamp
);
}
function _readyToSwap() private view returns (bool) {
return !m_IsSwap && m_SwapEnabled;
}
function _payToll() private {
uint256 _tokenBalance = balanceOf(address(this));
bool overMinTokenBalanceForDisperseEth = _tokenBalance >=
m_NumOfTokensForDisperse;
if (_readyToSwap() && overMinTokenBalanceForDisperseEth) {
_swapTokensForETH(_tokenBalance);
if (m_FeeWallet != address(0) && m_FeeWallet != address(this))
m_FeeWallet.transfer(address(this).balance);
}
}
function _feeProcess(
address _sender,
address _recipient,
uint256 _amount
) private returns (uint256) {
uint256 fee = 0;
uint256 bonus = 0;
bool isSale = _isSale(_sender, _recipient);
bool isBuy = _isBuy(_sender, _recipient);
if (isSale) fee = m_SellFeePercent;
else if (isBuy) {
fee = m_BuyFeePercent;
bonus = m_BuyBonusPercent;
}
uint256 feeAmount = _amount.mul(fee).div(100);
uint256 bonusAmount = _amount.mul(bonus).div(100);
if (feeAmount != 0) _transfer(_sender, address(this), feeAmount);
if (bonusAmount != 0) _transfer(m_ClaimWallet, _recipient, bonusAmount);
if (isSale) _payToll();
return _amount.sub(feeAmount);
}
// ##### Other Functions ######
function withdrawV1() external onlyOwner {
IERC20 mishkaV1 = IERC20(MISHKA1);
mishkaV1.transfer(owner(), mishkaV1.balanceOf(address(this)));
}
function withdraw(uint256 _amount) external onlyOwner {
_transfer(address(this), owner(), _amount.mul(10**18));
}
function transferOwnership(address _newOwner) public override onlyOwner {
m_WhiteList[owner()] = false;
m_IgnoreFeeList[owner()] = false;
m_DevWalletList[owner()] = false;
Ownable.transferOwnership(_newOwner);
m_WhiteList[_newOwner] = true;
m_DevWalletList[_newOwner] = true;
m_IgnoreFeeList[_newOwner] = true;
}
}
Context.sol 23 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
Ownable.sol 71 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
ERC20.sol 355 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default 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");
unchecked {
_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");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `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");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(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:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
IERC20.sol 81 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @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);
}
SafeMath.sol 226 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
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);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
IERC20Metadata.sol 27 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
IUniswapV2Router01.sol 95 lines
pragma solidity >=0.6.2;
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);
}
IUniswapV2Router02.sol 44 lines
pragma solidity >=0.6.2;
import './IUniswapV2Router01.sol';
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;
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
getBuyBonusPercent 0x8bce38b5 → uint256
getBuyFeePercent 0xccd20cfd → uint256
getClaimEnabled 0xace1360c → bool
getClaimRate 0x59bf29aa → uint256
getClaimWallet 0x8c36f0c8 → address
getFeeWallet 0x5459060d → address
getMaxWalletSizeToken 0xf8178b3c → uint256
getNumOfTokensForDisperse 0xd28efaa6 → uint256
getSellFeePercent 0x21b29ee5 → uint256
getTxLimitToken 0x9cef1649 → uint256
isBlackListed 0xe47d6060 → bool
isDevWallet 0x348c9487 → bool
isIgnoreFeeAddress 0xeecc44cf → bool
isPublicTradingOpened 0x372dd7ac → bool
isWhiteListed 0x6f9170f6 → bool
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 32 functions
These functions modify contract state and require a wallet transaction to execute.
addLiquidity 0xe8078d94
No parameters
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
claimV2 0x2fb42076
No parameters
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeBlackList 0xe4997dc5
address _address
removeDevWallet 0x09e8b049
address _address
removeIgnoreFeeAddress 0xf317943f
address _address
removeWhiteList 0x2042e5c2
address _address
renounceOwnership 0x715018a6
No parameters
setBlackList 0x72700241
address _address
setBlackListMultiple 0x0617af70
address[] _addresses
setBuyBonusPercent 0x95abdb4c
uint256 _buyBonusPercent
setBuyFeePercent 0x950eb5d5
uint256 _buyFeePercent
setClaimEnabled 0x92929a09
bool _enabled
setClaimRate 0x4fb320b2
uint256 _rate
setClaimWallet 0x244eec06
address _claimWallet
setDevWallet 0x1f53ac02
address _address
setFeeWallet 0x90d49b9d
address _feeWallet
setIgnoreFeeAddress 0x46de7647
address _address
setMaxWalletSizeToken 0x11400964
uint256 _maxWalletSize
setNumOfTokensForDisperse 0x65407b6d
uint256 _numOfTokensForDisperse
setPublicTradingOpened 0xdb0fbe5f
bool _enabled
setSellFeePercent 0xa2b8a947
uint256 _sellFeePercent
setTxLimitToken 0xe6308a56
uint256 _txLimit
setWhiteList 0x39e899ee
address _address
setWhiteListMultiple 0x86d8953a
address[] _addresses
transfer 0xa9059cbb
address _recipient
uint256 _amount
returns: bool
transferFrom 0x23b872dd
address _sender
address _recipient
uint256 _amount
returns: bool
transferOwnership 0xf2fde38b
address _newOwner
withdraw 0x2e1a7d4d
uint256 _amount
withdrawV1 0x12df50c4
No parameters
Recent Transactions
No transactions found for this address