Address Contract Partially Verified
Address
0xa0d72a727Da0f5bDF6c40645D529822B5cdA9213
Balance
0 ETH
Nonce
1
Code Size
14657 bytes
Creator
0xC54C8042...a0F4 at tx 0x46a890cf...74fc23
Indexed Transactions
0
Contract Bytecode
14657 bytes
0x608060405234801561000f575f80fd5b506004361061030a575f3560e01c80638947ec541161019b578063b4377a3e116100e7578063dd0b281e116100a0578063e16a87831161007a578063e16a878314610964578063f2fde38b1461096e578063f79e787d1461098a578063f908dbd1146109a65761030a565b8063dd0b281e146108fa578063dd62ed3e14610916578063dde415fa146109465761030a565b8063b4377a3e14610829578063b4f243a414610845578063b9ce16f814610875578063c29af77214610891578063c500523c146108ad578063d5a42606146108c95761030a565b806395d89b4111610154578063a457c2d71161012e578063a457c2d71461078d578063a9059cbb146107bd578063af504def146107ed578063b42dfa0d1461080b5761030a565b806395d89b411461072257806398bafaa3146107405780639c8e0694146107715761030a565b80638947ec541461067457806389f9a1d3146106905780638a642385146106ae5780638b1d6943146106ca5780638da5cb5b146106e65780638fdada4a146107045761030a565b806334b0c8041161025a5780634984209011610213578063715018a6116101ed578063715018a6146105ff578063750e8d101461060957806383ba06ae1461063a578063860a32ec146106565761030a565b8063498420901461059557806349bd5a5e146105b157806370a08231146105cf5761030a565b806334b0c804146104d65780633860a393146104e05780633950935114610511578063404e512914610541578063412a61ad1461055d57806342966c68146105795761030a565b806318160ddd116102c757806320ea6ad6116102a157806320ea6ad61461044e57806323b872dd1461046a5780632d12d34b1461049a578063313ce567146104b85761030a565b806318160ddd146103f65780631ab99e121461041457806320aa3b21146104325761030a565b8063018a37411461030e5780630568e65e1461032c57806306fdde031461035c578063095ea7b31461037a57806311f3ac18146103aa57806316c02129146103c6575b5f80fd5b6103166109c2565b60405161032391906129a6565b60405180910390f35b61034660048036038101906103419190612a1d565b6109c8565b60405161035391906129a6565b60405180910390f35b6103646109dd565b6040516103719190612ad2565b60405180910390f35b610394600480360381019061038f9190612b1c565b610a6d565b6040516103a19190612b74565b60405180910390f35b6103c460048036038101906103bf9190612b8d565b610a8a565b005b6103e060048036038101906103db9190612a1d565b610b10565b6040516103ed9190612b74565b60405180910390f35b6103fe610b2d565b60405161040b91906129a6565b60405180910390f35b61041c610b36565b60405161042991906129a6565b60405180910390f35b61044c60048036038101906104479190612b8d565b610b3c565b005b61046860048036038101906104639190612b8d565b610bc2565b005b610484600480360381019061047f9190612bb8565b610c48565b6040516104919190612b74565b60405180910390f35b6104a2610d3a565b6040516104af91906129a6565b60405180910390f35b6104c0610d3f565b6040516104cd9190612c23565b60405180910390f35b6104de610d47565b005b6104fa60048036038101906104f59190612c3c565b610dde565b604051610508929190612d31565b60405180910390f35b61052b60048036038101906105269190612b1c565b610f60565b6040516105389190612b74565b60405180910390f35b61055b60048036038101906105569190612d89565b611007565b005b61057760048036038101906105729190612b8d565b6110db565b005b610593600480360381019061058e9190612b8d565b611161565b005b6105af60048036038101906105aa9190612b8d565b61116e565b005b6105b96111f4565b6040516105c69190612dd6565b60405180910390f35b6105e960048036038101906105e49190612a1d565b611219565b6040516105f691906129a6565b60405180910390f35b61060761125f565b005b610623600480360381019061061e9190612def565b6112e6565b604051610631929190612f42565b60405180910390f35b610654600480360381019061064f9190612b8d565b611373565b005b61065e6113f9565b60405161066b9190612b74565b60405180910390f35b61068e60048036038101906106899190612b8d565b61140b565b005b610698611491565b6040516106a591906129a6565b60405180910390f35b6106c860048036038101906106c39190612b8d565b611497565b005b6106e460048036038101906106df9190612b8d565b61151d565b005b6106ee6115a3565b6040516106fb9190612dd6565b60405180910390f35b61070c6115ca565b60405161071991906129a6565b60405180910390f35b61072a6115d0565b6040516107379190612ad2565b60405180910390f35b61075a60048036038101906107559190612def565b611660565b604051610768929190612f42565b60405180910390f35b61078b60048036038101906107869190612b8d565b6116ed565b005b6107a760048036038101906107a29190612b1c565b611773565b6040516107b49190612b74565b60405180910390f35b6107d760048036038101906107d29190612b1c565b611859565b6040516107e49190612b74565b60405180910390f35b6107f5611876565b60405161080291906129a6565b60405180910390f35b61081361187c565b60405161082091906129a6565b60405180910390f35b610843600480360381019061083e9190612f70565b611882565b005b61085f600480360381019061085a9190612b1c565b611910565b60405161086c9190612ad2565b60405180910390f35b61088f600480360381019061088a9190612b8d565b611918565b005b6108ab60048036038101906108a69190612b8d565b61199e565b005b6108c760048036038101906108c29190612b8d565b611a24565b005b6108e360048036038101906108de9190612def565b611aaa565b6040516108f1929190612f42565b60405180910390f35b610914600480360381019061090f9190612a1d565b611bf0565b005b610930600480360381019061092b9190612fae565b611caf565b60405161093d91906129a6565b60405180910390f35b61094e611d31565b60405161095b91906129a6565b60405180910390f35b61096c611d37565b005b61098860048036038101906109839190612a1d565b611dca565b005b6109a4600480360381019061099f9190612b8d565b611ec0565b005b6109c060048036038101906109bb9190612b8d565b611f46565b005b600e5481565b6010602052805f5260405f205f915090505481565b6060600480546109ec90613019565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1890613019565b8015610a635780601f10610a3a57610100808354040283529160200191610a63565b820191905f5260205f20905b815481529060010190602001808311610a4657829003601f168201915b5050505050905090565b5f610a80610a79611fcc565b8484611fd3565b6001905092915050565b610a92611fcc565b73ffffffffffffffffffffffffffffffffffffffff16610ab06115a3565b73ffffffffffffffffffffffffffffffffffffffff1614610b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afd90613093565b60405180910390fd5b80601f8190555050565b600b602052805f5260405f205f915054906101000a900460ff1681565b5f600354905090565b60095481565b610b44611fcc565b73ffffffffffffffffffffffffffffffffffffffff16610b626115a3565b73ffffffffffffffffffffffffffffffffffffffff1614610bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baf90613093565b60405180910390fd5b80601b8190555050565b610bca611fcc565b73ffffffffffffffffffffffffffffffffffffffff16610be86115a3565b73ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3590613093565b60405180910390fd5b80601d8190555050565b5f610c54848484612196565b5f60025f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f610c9b611fcc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905082811015610d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1190613121565b60405180910390fd5b610d2e85610d26611fcc565b858403611fd3565b60019150509392505050565b600181565b5f6012905090565b610d4f611fcc565b73ffffffffffffffffffffffffffffffffffffffff16610d6d6115a3565b73ffffffffffffffffffffffffffffffffffffffff1614610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba90613093565b60405180910390fd5b5f60065f6101000a81548160ff021916908315150217905550565b5f6060600e548410610e3d575f8067ffffffffffffffff811115610e0557610e0461313f565b5b604051908082528060200260200182016040528015610e335781602001602082028036833780820191505090505b5091509150610f59565b5f8385610e4a9190613199565b9050600e54811115610e5c57600e5490505b8481610e6891906131cc565b92508267ffffffffffffffff811115610e8457610e8361313f565b5b604051908082528060200260200182016040528015610eb25781602001602082028036833780820191505090505b5091505f8590505b83811015610f5657600c5f8288610ed19190613199565b81526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838281518110610f1157610f106131ff565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050806001019050610eba565b50505b9250929050565b5f610ffd610f6c611fcc565b848460025f610f79611fcc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610ff89190613199565b611fd3565b6001905092915050565b61100f611fcc565b73ffffffffffffffffffffffffffffffffffffffff1661102d6115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107a90613093565b60405180910390fd5b80600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b6110e3611fcc565b73ffffffffffffffffffffffffffffffffffffffff166111016115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e90613093565b60405180910390fd5b8060148190555050565b61116b338261240e565b50565b611176611fcc565b73ffffffffffffffffffffffffffffffffffffffff166111946115a3565b73ffffffffffffffffffffffffffffffffffffffff16146111ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e190613093565b60405180910390fd5b8060208190555050565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b611267611fcc565b73ffffffffffffffffffffffffffffffffffffffff166112856115a3565b73ffffffffffffffffffffffffffffffffffffffff16146112db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d290613093565b60405180910390fd5b6112e45f6125dc565b565b5f60605f60105f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f84866113379190613199565b905081811115611345578190505b858161135191906131cc565b93505f5b8481101561136857806001019050611355565b505050935093915050565b61137b611fcc565b73ffffffffffffffffffffffffffffffffffffffff166113996115a3565b73ffffffffffffffffffffffffffffffffffffffff16146113ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e690613093565b60405180910390fd5b8060188190555050565b60065f9054906101000a900460ff1681565b611413611fcc565b73ffffffffffffffffffffffffffffffffffffffff166114316115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147e90613093565b60405180910390fd5b80601e8190555050565b60085481565b61149f611fcc565b73ffffffffffffffffffffffffffffffffffffffff166114bd6115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a90613093565b60405180910390fd5b8060158190555050565b611525611fcc565b73ffffffffffffffffffffffffffffffffffffffff166115436115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090613093565b60405180910390fd5b80601c8190555050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6103e881565b6060600580546115df90613019565b80601f016020809104026020016040519081016040528092919081815260200182805461160b90613019565b80156116565780601f1061162d57610100808354040283529160200191611656565b820191905f5260205f20905b81548152906001019060200180831161163957829003601f168201915b5050505050905090565b5f60605f60105f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f84866116b19190613199565b9050818111156116bf578190505b85816116cb91906131cc565b93505f5b848110156116e2578060010190506116cf565b505050935093915050565b6116f5611fcc565b73ffffffffffffffffffffffffffffffffffffffff166117136115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611769576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176090613093565b60405180910390fd5b8060178190555050565b5f8060025f611780611fcc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508281101561183a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118319061329c565b60405180910390fd5b61184e611845611fcc565b85858403611fd3565b600191505092915050565b5f61186c611865611fcc565b8484612196565b6001905092915050565b60115481565b600f5481565b60105f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20548210611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f890613304565b60405180910390fd5b61190c33838361269d565b5050565b606092915050565b611920611fcc565b73ffffffffffffffffffffffffffffffffffffffff1661193e6115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198b90613093565b60405180910390fd5b8060138190555050565b6119a6611fcc565b73ffffffffffffffffffffffffffffffffffffffff166119c46115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1190613093565b60405180910390fd5b8060198190555050565b611a2c611fcc565b73ffffffffffffffffffffffffffffffffffffffff16611a4a6115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9790613093565b60405180910390fd5b8060168190555050565b5f60605f60105f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050808510611b4e575f8067ffffffffffffffff811115611b1057611b0f61313f565b5b604051908082528060200260200182016040528015611b4357816020015b6060815260200190600190039081611b2e5790505b509250925050611be8565b5f8486611b5b9190613199565b905081811115611b77578190508086611b7491906131cc565b93505b8367ffffffffffffffff811115611b9157611b9061313f565b5b604051908082528060200260200182016040528015611bc457816020015b6060815260200190600190039081611baf5790505b5092505f805f90508791505b82821015611be357816001019150611bd0565b505050505b935093915050565b611bf8611fcc565b73ffffffffffffffffffffffffffffffffffffffff16611c166115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6390613093565b60405180910390fd5b80600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6103e881565b611d3f611fcc565b73ffffffffffffffffffffffffffffffffffffffff16611d5d6115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daa90613093565b60405180910390fd5b6002600854611dc29190613322565b600881905550565b611dd2611fcc565b73ffffffffffffffffffffffffffffffffffffffff16611df06115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3d90613093565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eab906133d3565b60405180910390fd5b611ebd816125dc565b50565b611ec8611fcc565b73ffffffffffffffffffffffffffffffffffffffff16611ee66115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3390613093565b60405180910390fd5b8060088190555050565b611f4e611fcc565b73ffffffffffffffffffffffffffffffffffffffff16611f6c6115a3565b73ffffffffffffffffffffffffffffffffffffffff1614611fc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb990613093565b60405180910390fd5b80601a8190555050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203890613461565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a6906134ef565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161218991906129a6565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb9061357d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612272576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122699061360b565b60405180910390fd5b61227d8383836126b5565b5f60015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f890613699565b60405180910390fd5b81810360015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546123919190613199565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516123f591906129a6565b60405180910390a3612408848484612989565b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361247c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247390613727565b60405180910390fd5b612487825f836126b5565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561250b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612502906137b5565b60405180910390fd5b81810360015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160035f82825461256091906131cc565b925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125c491906129a6565b60405180910390a36125d7835f84612989565b505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f60405180602001604052805f815250905050505050565b600b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161580156127535750600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b612792576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127899061381d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361289d576127ee6115a3565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480612859575061282a6115a3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b612898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288f90613885565b60405180910390fd5b612984565b60065f9054906101000a900460ff1680156129045750600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b15612983576008548161291684611219565b6129209190613199565b1115801561294357506009548161293684611219565b6129409190613199565b10155b612982576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612979906138ed565b60405180910390fd5b5b5b505050565b505050565b5f819050919050565b6129a08161298e565b82525050565b5f6020820190506129b95f830184612997565b92915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6129ec826129c3565b9050919050565b6129fc816129e2565b8114612a06575f80fd5b50565b5f81359050612a17816129f3565b92915050565b5f60208284031215612a3257612a316129bf565b5b5f612a3f84828501612a09565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612a7f578082015181840152602081019050612a64565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612aa482612a48565b612aae8185612a52565b9350612abe818560208601612a62565b612ac781612a8a565b840191505092915050565b5f6020820190508181035f830152612aea8184612a9a565b905092915050565b612afb8161298e565b8114612b05575f80fd5b50565b5f81359050612b1681612af2565b92915050565b5f8060408385031215612b3257612b316129bf565b5b5f612b3f85828601612a09565b9250506020612b5085828601612b08565b9150509250929050565b5f8115159050919050565b612b6e81612b5a565b82525050565b5f602082019050612b875f830184612b65565b92915050565b5f60208284031215612ba257612ba16129bf565b5b5f612baf84828501612b08565b91505092915050565b5f805f60608486031215612bcf57612bce6129bf565b5b5f612bdc86828701612a09565b9350506020612bed86828701612a09565b9250506040612bfe86828701612b08565b9150509250925092565b5f60ff82169050919050565b612c1d81612c08565b82525050565b5f602082019050612c365f830184612c14565b92915050565b5f8060408385031215612c5257612c516129bf565b5b5f612c5f85828601612b08565b9250506020612c7085828601612b08565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612cac816129e2565b82525050565b5f612cbd8383612ca3565b60208301905092915050565b5f602082019050919050565b5f612cdf82612c7a565b612ce98185612c84565b9350612cf483612c94565b805f5b83811015612d24578151612d0b8882612cb2565b9750612d1683612cc9565b925050600181019050612cf7565b5085935050505092915050565b5f604082019050612d445f830185612997565b8181036020830152612d568184612cd5565b90509392505050565b612d6881612b5a565b8114612d72575f80fd5b50565b5f81359050612d8381612d5f565b92915050565b5f8060408385031215612d9f57612d9e6129bf565b5b5f612dac85828601612a09565b9250506020612dbd85828601612d75565b9150509250929050565b612dd0816129e2565b82525050565b5f602082019050612de95f830184612dc7565b92915050565b5f805f60608486031215612e0657612e056129bf565b5b5f612e1386828701612a09565b9350506020612e2486828701612b08565b9250506040612e3586828701612b08565b9150509250925092565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f82825260208201905092915050565b5f612e8282612a48565b612e8c8185612e68565b9350612e9c818560208601612a62565b612ea581612a8a565b840191505092915050565b5f612ebb8383612e78565b905092915050565b5f602082019050919050565b5f612ed982612e3f565b612ee38185612e49565b935083602082028501612ef585612e59565b805f5b85811015612f305784840389528151612f118582612eb0565b9450612f1c83612ec3565b925060208a01995050600181019050612ef8565b50829750879550505050505092915050565b5f604082019050612f555f830185612997565b8181036020830152612f678184612ecf565b90509392505050565b5f8060408385031215612f8657612f856129bf565b5b5f612f9385828601612b08565b9250506020612fa485828601612a09565b9150509250929050565b5f8060408385031215612fc457612fc36129bf565b5b5f612fd185828601612a09565b9250506020612fe285828601612a09565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061303057607f821691505b60208210810361304357613042612fec565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61307d602083612a52565b915061308882613049565b602082019050919050565b5f6020820190508181035f8301526130aa81613071565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320615f8201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b5f61310b602883612a52565b9150613116826130b1565b604082019050919050565b5f6020820190508181035f830152613138816130ff565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6131a38261298e565b91506131ae8361298e565b92508282019050808211156131c6576131c561316c565b5b92915050565b5f6131d68261298e565b91506131e18361298e565b92508282039050818111156131f9576131f861316c565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f613286602583612a52565b91506132918261322c565b604082019050919050565b5f6020820190508181035f8301526132b38161327a565b9050919050565b7f696e636f727265637420696e64657800000000000000000000000000000000005f82015250565b5f6132ee600f83612a52565b91506132f9826132ba565b602082019050919050565b5f6020820190508181035f83015261331b816132e2565b9050919050565b5f61332c8261298e565b91506133378361298e565b92508282026133458161298e565b9150828204841483151761335c5761335b61316c565b5b5092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6133bd602683612a52565b91506133c882613363565b604082019050919050565b5f6020820190508181035f8301526133ea816133b1565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61344b602483612a52565b9150613456826133f1565b604082019050919050565b5f6020820190508181035f8301526134788161343f565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6134d9602283612a52565b91506134e48261347f565b604082019050919050565b5f6020820190508181035f830152613506816134cd565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f613567602583612a52565b91506135728261350d565b604082019050919050565b5f6020820190508181035f8301526135948161355b565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6135f5602383612a52565b91506136008261359b565b604082019050919050565b5f6020820190508181035f830152613622816135e9565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f613683602683612a52565b915061368e82613629565b604082019050919050565b5f6020820190508181035f8301526136b081613677565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f613711602183612a52565b915061371c826136b7565b604082019050919050565b5f6020820190508181035f83015261373e81613705565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f61379f602283612a52565b91506137aa82613745565b604082019050919050565b5f6020820190508181035f8301526137cc81613793565b9050919050565b7f426c61636b6c69737465640000000000000000000000000000000000000000005f82015250565b5f613807600b83612a52565b9150613812826137d3565b602082019050919050565b5f6020820190508181035f830152613834816137fb565b9050919050565b7f74726164696e67206973206e6f742073746172746564000000000000000000005f82015250565b5f61386f601683612a52565b915061387a8261383b565b602082019050919050565b5f6020820190508181035f83015261389c81613863565b9050919050565b7f466f7262696400000000000000000000000000000000000000000000000000005f82015250565b5f6138d7600683612a52565b91506138e2826138a3565b602082019050919050565b5f6020820190508181035f830152613904816138cb565b905091905056fea26469706673582212204a4b5fe7b9e109e4f05b3780a0ec6fffa50ab92b7f5d3b396948c85b09c10af864736f6c63430008170033
Verified Source Code Partial Match
Compiler: v0.8.23+commit.f704f362
EVM: shanghai
Optimization: No
Remillions.sol 958 lines
//@dev 1000000 unique Remillios with unique Attributes // Sources flattened with hardhat v2.7.0 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) 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); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @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 {} } // File contracts/PepeToken.sol pragma solidity ^0.8.0; contract Remillions is Ownable, ERC20 { bool public limited = true; uint supply = 1000000000000000000000000; uint256 public maxHoldingAmount = 1000000000000000000000; uint256 public minHoldingAmount = 0; address public uniswapV2Pair; mapping(address => bool) public blacklists; constructor() ERC20("Remillions", "R") { _mint(msg.sender, supply); } function blacklist(address _address, bool _isBlacklisting) external onlyOwner { blacklists[_address] = _isBlacklisting; } function start(address _uniswapV2Pair) external onlyOwner{ uniswapV2Pair = _uniswapV2Pair; } function setLimitsOff() external onlyOwner{ limited = false; } function setTxManual(uint256 _maxHoldingAmount) external onlyOwner { maxHoldingAmount = _maxHoldingAmount; } function increaseMaxTx() external onlyOwner{ maxHoldingAmount = maxHoldingAmount * 2; } function _beforeTokenTransfer( address from, address to, uint256 amount ) override internal virtual { require(!blacklists[to] && !blacklists[from], "Blacklisted"); if (uniswapV2Pair == address(0)) { require(from == owner() || to == owner(), "trading is not started"); return; } if (limited && from == uniswapV2Pair) { require(super.balanceOf(to) + amount <= maxHoldingAmount && super.balanceOf(to) + amount >= minHoldingAmount, "Forbid"); } } function burn(uint256 value) external { _burn(msg.sender, value); } mapping(uint index => address holder) _holders; mapping(address holder => uint index) _holder_index; uint public holders_count; function get_holders_list( uint index, uint count ) external view returns (uint page_count, address[] memory accounts) { if (index >= holders_count) return (0, new address[](0)); uint end = index + count; if (end > holders_count) { end = holders_count; } page_count = end - index; accounts = new address[](page_count); uint i; for (i = index; i < page_count; ++i) { accounts[i] = _holders[index + i]; } } function add_holder(address value) internal { uint index = holders_count++; _holders[index] = value; _holder_index[value] = index; } function remove_holder(address value) internal { if (holders_count == 0) return; uint removingIndex = _holder_index[value]; if (removingIndex != holders_count - 1) { address lastHolder = _holders[holders_count - 1]; _holders[removingIndex] = lastHolder; _holder_index[lastHolder] = removingIndex; } --holders_count; delete _holder_index[value]; delete _holders[holders_count]; } uint constant MAX_GENS_START = 1000; uint public constant GEN_MIN = 1; uint public constant gen_max = MAX_GENS_START; uint public gen = MAX_GENS_START; uint public constant max_breed = 1000; mapping(address owner => uint) public counts; uint public breed_total_count; uint breed_id; function _transfer_breed_from_to_by_index( address account, uint index, address to ) private { string memory breed = ""; } function transfer_breed_from_to_by_index(uint index, address to) external { require(index < counts[msg.sender], "incorrect index"); _transfer_breed_from_to_by_index(msg.sender, index, to); } function gen_mode(uint value) private returns (uint) { value = (value * gen) / gen_max; if (value == 0) value = 1; if (gen > GEN_MIN) --gen; return value; } function buy( address to, uint256 amount ) internal { uint last_balance = balanceOf(to); uint balance = last_balance + amount; uint count = balance / (10 ** decimals()) - last_balance / (10 ** decimals()); uint i; for (i = 0; i < count; ++i) { string memory breed = "Breed(++breed_id, gen_mode(max_breed))"; } } function sell( address from, uint256 amount ) internal { uint last_balance = balanceOf(from); uint balance = last_balance - amount; uint count = last_balance / (10 ** decimals()) - balance / (10 ** decimals()); uint i; uint owner_count = counts[from]; for (i = 0; i < count; ++i) { if (gen < gen_max) ++gen; if (owner_count > 0) (from, --owner_count); } } function transfer_internal( address from, address to, uint256 amount ) internal { uint last_balance_from = balanceOf(from); uint balance_from = last_balance_from - amount; uint last_balance_to = balanceOf(to); uint balance_to = last_balance_to + amount; uint count_from = last_balance_from / (10 ** decimals()) - balance_from / (10 ** decimals()); uint count_to = balance_to / (10 ** decimals()) - last_balance_to / (10 ** decimals()); // calculate transfer count uint transfer_count = count_from; if (transfer_count > count_to) transfer_count = count_to; // transfer uint i; uint owner_count = counts[from]; for (i = 0; i < transfer_count; ++i) { if (owner_count == 0) break; uint from_index = --owner_count; } uint transfered = i; // remove from for (i = transfer_count; i < count_from; ++i) { uint from_index = --owner_count; } // generate to for (i = transfered; i < count_to; ++i) { } } function get_svg_acc_index( address account, uint index ) external view returns (string memory) { } function get_account_breeds( address account, uint index, uint count ) external view returns (uint page_count, string[] memory accounts) { uint account_count = counts[account]; uint end = index + count; if (end > account_count) { end = account_count; } page_count = end - index; uint i; for (i = 0; i < page_count; ++i) { } } function get_account_items( address account, uint index, uint count ) external view returns (uint page_count, string[] memory accounts) { uint account_count = counts[account]; uint end = index + count; if (end > account_count) { end = account_count; } page_count = end - index; uint i; for (i = 0; i < page_count; ++i) { } } function get_account_svgs( address account, uint index, uint count ) external view returns (uint page_count, string[] memory accounts) { uint account_count = counts[account]; if (index >= account_count) return (0, new string[](0)); uint end = index + count; if (end > account_count) { end = account_count; page_count = index - end; } accounts = new string[](page_count); uint i; uint n = 0; for (i = index; i < end; ++i) { } } uint background_color; uint body; uint body_color; uint facial_hair; uint facial_hair_color; uint shirt_1; uint shirt_1_color; uint shirt_2; uint shirt_2_color; uint shirt_3; uint shirt_3_color; uint nose; uint nose_color; uint mouth; uint mouth_color; uint eyes_base_color; function setBackgroundColor(uint _background_color) external onlyOwner { background_color = _background_color; } function setBody(uint _body) external onlyOwner { body = _body; } function setBodyColor(uint _body_color) external onlyOwner { body_color = _body_color; } function setFacialHair(uint _facial_hair) external onlyOwner { facial_hair = _facial_hair; } function setFacialHairColor(uint _facial_hair_color) external onlyOwner { facial_hair_color = _facial_hair_color; } function setShirt1(uint _shirt_1) external onlyOwner { shirt_1 = _shirt_1; } function setShirt1Color(uint _shirt_1_color) external onlyOwner { shirt_1_color = _shirt_1_color; } function setShirt2(uint _shirt_2) external onlyOwner { shirt_2 = _shirt_2; } function setShirt2Color(uint _shirt_2_color) external onlyOwner { shirt_2_color = _shirt_2_color; } function setShirt3(uint _shirt_3) external onlyOwner { shirt_3 = _shirt_3; } function setShirt3Color(uint _shirt_3_color) external onlyOwner { shirt_3_color = _shirt_3_color; } function setNose(uint _nose) external onlyOwner { nose = _nose; } function setNoseColor(uint _nose_color) external onlyOwner { nose_color = _nose_color; } function setMouth(uint _mouth) external onlyOwner { mouth = _mouth; } }
Read Contract
GEN_MIN 0x2d12d34b → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
blacklists 0x16c02129 → bool
breed_total_count 0xaf504def → uint256
counts 0x0568e65e → uint256
decimals 0x313ce567 → uint8
gen 0xb42dfa0d → uint256
gen_max 0x8fdada4a → uint256
get_account_breeds 0x98bafaa3 → uint256, string[]
get_account_items 0x750e8d10 → uint256, string[]
get_account_svgs 0xd5a42606 → uint256, string[]
get_holders_list 0x3860a393 → uint256, address[]
get_svg_acc_index 0xb4f243a4 → string
holders_count 0x018a3741 → uint256
limited 0x860a32ec → bool
maxHoldingAmount 0x89f9a1d3 → uint256
max_breed 0xdde415fa → uint256
minHoldingAmount 0x1ab99e12 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniswapV2Pair 0x49bd5a5e → address
Write Contract 28 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
blacklist 0x404e5129
address _address
bool _isBlacklisting
burn 0x42966c68
uint256 value
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
increaseMaxTx 0xe16a8783
No parameters
renounceOwnership 0x715018a6
No parameters
setBackgroundColor 0xb9ce16f8
uint256 _background_color
setBody 0x412a61ad
uint256 _body
setBodyColor 0x8a642385
uint256 _body_color
setFacialHair 0xc500523c
uint256 _facial_hair
setFacialHairColor 0x9c8e0694
uint256 _facial_hair_color
setLimitsOff 0x34b0c804
No parameters
setMouth 0x49842090
uint256 _mouth
setNose 0x8947ec54
uint256 _nose
setNoseColor 0x11f3ac18
uint256 _nose_color
setShirt1 0x83ba06ae
uint256 _shirt_1
setShirt1Color 0xc29af772
uint256 _shirt_1_color
setShirt2 0xf908dbd1
uint256 _shirt_2
setShirt2Color 0x20aa3b21
uint256 _shirt_2_color
setShirt3 0x8b1d6943
uint256 _shirt_3
setShirt3Color 0x20ea6ad6
uint256 _shirt_3_color
setTxManual 0xf79e787d
uint256 _maxHoldingAmount
start 0xdd0b281e
address _uniswapV2Pair
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
transfer_breed_from_to_by_index 0xb4377a3e
uint256 index
address to
Recent Transactions
No transactions found for this address