Address Contract Partially Verified
Address
0x49f9DE5D0ED478666A140435371c4B15877d5Fda
Balance
0 ETH
Nonce
1
Code Size
12369 bytes
Creator
0x81DB49Da...f9C7 at tx 0xaae3d658...80b3f0
Indexed Transactions
0
Contract Bytecode
12369 bytes
0x6080604052600436106101235760003560e01c80637d1db4a5116100a0578063bf474bed11610064578063bf474bed146103c0578063c876d0b9146103eb578063c9567bf914610416578063d9e664601461042d578063dd62ed3e146104585761012a565b80637d1db4a5146102d75780638da5cb5b146103025780638f9a55c01461032d57806395d89b4114610358578063a9059cbb146103835761012a565b806349bd5a5e116100e757806349bd5a5e1461022a57806351bc3c851461025557806370a082311461026c578063715018a6146102a9578063751039fc146102c05761012a565b806306fdde031461012f578063095ea7b31461015a57806318160ddd1461019757806323b872dd146101c2578063313ce567146101ff5761012a565b3661012a57005b600080fd5b34801561013b57600080fd5b50610144610495565b60405161015191906121ab565b60405180910390f35b34801561016657600080fd5b50610181600480360381019061017c9190612266565b610527565b60405161018e91906122c1565b60405180910390f35b3480156101a357600080fd5b506101ac610545565b6040516101b991906122eb565b60405180910390f35b3480156101ce57600080fd5b506101e960048036038101906101e49190612306565b61054f565b6040516101f691906122c1565b60405180910390f35b34801561020b57600080fd5b50610214610628565b6040516102219190612375565b60405180910390f35b34801561023657600080fd5b5061023f61063f565b60405161024c919061239f565b60405180910390f35b34801561026157600080fd5b5061026a610665565b005b34801561027857600080fd5b50610293600480360381019061028e91906123ba565b610702565b6040516102a091906122eb565b60405180910390f35b3480156102b557600080fd5b506102be61074b565b005b3480156102cc57600080fd5b506102d561089e565b005b3480156102e357600080fd5b506102ec61099b565b6040516102f991906122eb565b60405180910390f35b34801561030e57600080fd5b506103176109a1565b604051610324919061239f565b60405180910390f35b34801561033957600080fd5b506103426109ca565b60405161034f91906122eb565b60405180910390f35b34801561036457600080fd5b5061036d6109d0565b60405161037a91906121ab565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190612266565b610a62565b6040516103b791906122c1565b60405180910390f35b3480156103cc57600080fd5b506103d5610a80565b6040516103e291906122eb565b60405180910390f35b3480156103f757600080fd5b50610400610a86565b60405161040d91906122c1565b60405180910390f35b34801561042257600080fd5b5061042b610a99565b005b34801561043957600080fd5b50610442610fc5565b60405161044f919061239f565b60405180910390f35b34801561046457600080fd5b5061047f600480360381019061047a91906123e7565b610feb565b60405161048c91906122eb565b60405180910390f35b6060601180546104a490612456565b80601f01602080910402602001604051908101604052809291908181526020018280546104d090612456565b801561051d5780601f106104f25761010080835404028352916020019161051d565b820191906000526020600020905b81548152906001019060200180831161050057829003601f168201915b5050505050905090565b600061053b610534611072565b848461107a565b6001905092915050565b6000601054905090565b600061055c848484611243565b61061d84610568611072565b61061885604051806060016040528060288152602001612ff460289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006105ce611072565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611be19092919063ffffffff16565b61107a565b600190509392505050565b6000600f60009054906101000a900460ff16905090565b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166106a6611072565b73ffffffffffffffffffffffffffffffffffffffff16146106c657600080fd5b60006106d130610702565b905060008111156106e6576106e581611c45565b5b600047905060008111156106fe576106fd81611ebe565b5b5050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610753611072565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d7906124d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6108a6611072565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092a906124d3565b60405180910390fd5b6010546013819055506010546014819055506000600660006101000a81548160ff0219169083151502179055507f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf60105460405161099191906122eb565b60405180910390a1565b60135481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60145481565b6060601280546109df90612456565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0b90612456565b8015610a585780601f10610a2d57610100808354040283529160200191610a58565b820191906000526020600020905b815481529060010190602001808311610a3b57829003601f168201915b5050505050905090565b6000610a76610a6f611072565b8484611243565b6001905092915050565b60155481565b600660009054906101000a900460ff1681565b610aa1611072565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b25906124d3565b60405180910390fd5b601860149054906101000a900460ff1615610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b759061253f565b60405180910390fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610c1030601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660105461107a565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca19190612574565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4e9190612574565b6040518363ffffffff1660e01b8152600401610d6b9291906125a1565b6020604051808303816000875af1158015610d8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dae9190612574565b601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7194730610e3730610702565b600080610e426109a1565b426040518863ffffffff1660e01b8152600401610e649695949392919061260f565b60606040518083038185885af1158015610e82573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ea79190612685565b505050601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610f499291906126d8565b6020604051808303816000875af1158015610f68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8c919061272d565b506001601860166101000a81548160ff0219169083151502179055506001601860146101000a81548160ff021916908315150217905550565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e0906127cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114f9061285e565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161123691906122eb565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a9906128f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131890612982565b60405180910390fd5b60008111611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90612a14565b60405180910390fd5b600061136e6109a1565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141580156113dc57506113ac6109a1565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156119245761141d606461140f600b54600e54116113fc57600754611400565b6009545b85611f2a90919063ffffffff16565b611fa490919063ffffffff16565b9050600660009054906101000a900460ff16156115ac57601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156114e05750601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156115ab5743600560003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d90612acc565b60405180910390fd5b43600560003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156116575750601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156116ad5750600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611768576013548211156116f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ee90612b38565b60405180910390fd5b6014548261170485610702565b61170e9190612b87565b111561174f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174690612c29565b60405180910390fd5b600e600081548092919061176290612c49565b91905055505b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156117f157503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15611835576118326064611824600c54600e541161181157600854611815565b600a545b85611f2a90919063ffffffff16565b611fa490919063ffffffff16565b90505b600061184030610702565b9050601860159054906101000a900460ff161580156118ac5750601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80156118c45750601860169054906101000a900460ff165b80156118d1575060155481115b80156118e05750600d54600e54115b15611922576119026118fd846118f884601554611fee565b611fee565b611c45565b600047905066b1a2bc2ec500008111156119205761191f47611ebe565b5b505b505b6000811115611a285761197f81600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461200790919063ffffffff16565b600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611a1f91906122eb565b60405180910390a35b611a7a82600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461206590919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b21611ad3828461206590919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461200790919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611bc6848661206590919063ffffffff16565b604051611bd391906122eb565b60405180910390a350505050565b6000838311158290611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2091906121ab565b60405180910390fd5b5060008385611c389190612c91565b9050809150509392505050565b6001601860156101000a81548160ff0219169083151502179055506000600267ffffffffffffffff811115611c7d57611c7c612cc5565b5b604051908082528060200260200182016040528015611cab5781602001602082028036833780820191505090505b5090503081600081518110611cc357611cc2612cf4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8e9190612574565b81600181518110611da257611da1612cf4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611e0930601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461107a565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401611e6d959493929190612de1565b600060405180830381600087803b158015611e8757600080fd5b505af1158015611e9b573d6000803e3d6000fd5b50505050506000601860156101000a81548160ff02191690831515021790555050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611f26573d6000803e3d6000fd5b5050565b6000808303611f3c5760009050611f9e565b60008284611f4a9190612e3b565b9050828482611f599190612ec4565b14611f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9090612f67565b60405180910390fd5b809150505b92915050565b6000611fe683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506120af565b905092915050565b6000818311611ffd5782611fff565b815b905092915050565b60008082846120169190612b87565b90508381101561205b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205290612fd3565b60405180910390fd5b8091505092915050565b60006120a783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611be1565b905092915050565b600080831182906120f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ed91906121ab565b60405180910390fd5b50600083856121059190612ec4565b9050809150509392505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561214c578082015181840152602081019050612131565b8381111561215b576000848401525b50505050565b6000601f19601f8301169050919050565b600061217d82612112565b612187818561211d565b935061219781856020860161212e565b6121a081612161565b840191505092915050565b600060208201905081810360008301526121c58184612172565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121fd826121d2565b9050919050565b61220d816121f2565b811461221857600080fd5b50565b60008135905061222a81612204565b92915050565b6000819050919050565b61224381612230565b811461224e57600080fd5b50565b6000813590506122608161223a565b92915050565b6000806040838503121561227d5761227c6121cd565b5b600061228b8582860161221b565b925050602061229c85828601612251565b9150509250929050565b60008115159050919050565b6122bb816122a6565b82525050565b60006020820190506122d660008301846122b2565b92915050565b6122e581612230565b82525050565b600060208201905061230060008301846122dc565b92915050565b60008060006060848603121561231f5761231e6121cd565b5b600061232d8682870161221b565b935050602061233e8682870161221b565b925050604061234f86828701612251565b9150509250925092565b600060ff82169050919050565b61236f81612359565b82525050565b600060208201905061238a6000830184612366565b92915050565b612399816121f2565b82525050565b60006020820190506123b46000830184612390565b92915050565b6000602082840312156123d0576123cf6121cd565b5b60006123de8482850161221b565b91505092915050565b600080604083850312156123fe576123fd6121cd565b5b600061240c8582860161221b565b925050602061241d8582860161221b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061246e57607f821691505b60208210810361248157612480612427565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006124bd60208361211d565b91506124c882612487565b602082019050919050565b600060208201905081810360008301526124ec816124b0565b9050919050565b7f74726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b600061252960178361211d565b9150612534826124f3565b602082019050919050565b600060208201905081810360008301526125588161251c565b9050919050565b60008151905061256e81612204565b92915050565b60006020828403121561258a576125896121cd565b5b60006125988482850161255f565b91505092915050565b60006040820190506125b66000830185612390565b6125c36020830184612390565b9392505050565b6000819050919050565b6000819050919050565b60006125f96125f46125ef846125ca565b6125d4565b612230565b9050919050565b612609816125de565b82525050565b600060c0820190506126246000830189612390565b61263160208301886122dc565b61263e6040830187612600565b61264b6060830186612600565b6126586080830185612390565b61266560a08301846122dc565b979650505050505050565b60008151905061267f8161223a565b92915050565b60008060006060848603121561269e5761269d6121cd565b5b60006126ac86828701612670565b93505060206126bd86828701612670565b92505060406126ce86828701612670565b9150509250925092565b60006040820190506126ed6000830185612390565b6126fa60208301846122dc565b9392505050565b61270a816122a6565b811461271557600080fd5b50565b60008151905061272781612701565b92915050565b600060208284031215612743576127426121cd565b5b600061275184828501612718565b91505092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006127b660248361211d565b91506127c18261275a565b604082019050919050565b600060208201905081810360008301526127e5816127a9565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061284860228361211d565b9150612853826127ec565b604082019050919050565b600060208201905081810360008301526128778161283b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006128da60258361211d565b91506128e58261287e565b604082019050919050565b60006020820190508181036000830152612909816128cd565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061296c60238361211d565b915061297782612910565b604082019050919050565b6000602082019050818103600083015261299b8161295f565b9050919050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b60006129fe60298361211d565b9150612a09826129a2565b604082019050919050565b60006020820190508181036000830152612a2d816129f1565b9050919050565b7f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60008201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b60208201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000604082015250565b6000612ab660498361211d565b9150612ac182612a34565b606082019050919050565b60006020820190508181036000830152612ae581612aa9565b9050919050565b7f4578636565647320746865205f6d61785478416d6f756e742e00000000000000600082015250565b6000612b2260198361211d565b9150612b2d82612aec565b602082019050919050565b60006020820190508181036000830152612b5181612b15565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612b9282612230565b9150612b9d83612230565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612bd257612bd1612b58565b5b828201905092915050565b7f4578636565647320746865206d617857616c6c657453697a652e000000000000600082015250565b6000612c13601a8361211d565b9150612c1e82612bdd565b602082019050919050565b60006020820190508181036000830152612c4281612c06565b9050919050565b6000612c5482612230565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612c8657612c85612b58565b5b600182019050919050565b6000612c9c82612230565b9150612ca783612230565b925082821015612cba57612cb9612b58565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612d58816121f2565b82525050565b6000612d6a8383612d4f565b60208301905092915050565b6000602082019050919050565b6000612d8e82612d23565b612d988185612d2e565b9350612da383612d3f565b8060005b83811015612dd4578151612dbb8882612d5e565b9750612dc683612d76565b925050600181019050612da7565b5085935050505092915050565b600060a082019050612df660008301886122dc565b612e036020830187612600565b8181036040830152612e158186612d83565b9050612e246060830185612390565b612e3160808301846122dc565b9695505050505050565b6000612e4682612230565b9150612e5183612230565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e8a57612e89612b58565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612ecf82612230565b9150612eda83612230565b925082612eea57612ee9612e95565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b6000612f5160218361211d565b9150612f5c82612ef5565b604082019050919050565b60006020820190508181036000830152612f8081612f44565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b6000612fbd601b8361211d565b9150612fc882612f87565b602082019050919050565b60006020820190508181036000830152612fec81612fb0565b905091905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220668142dbf70d0b27a8bbe1f5e96c96dcd37922d3dd2c14030a27fe0d9b01168c64736f6c634300080d0033
Verified Source Code Partial Match
Compiler: v0.8.13+commit.abaa5c0e
EVM: london
Optimization: No
OBS.sol 340 lines
// SPDX-License-Identifier: MIT
/*
Telegram: https://t.me/OBSErc20
*/
pragma solidity 0.8.13;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
return c;
}
}
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
function owner() public view returns (address) {
return _owner;
}
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
}
interface IUniswapV2Factory {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface IUniswapV2Router02 {
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}
contract OBS is Context, IERC20, Ownable {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
mapping (address => bool) private _isExcludedFromFee;
mapping (address => bool) private bots;
mapping(address => uint256) private _holderLastTransferTimestamp;
bool public transferDelayEnabled = true;
address payable private _taxWallet;
uint256 private _initialBuyTax;
uint256 private _initialSellTax;
uint256 private _finalBuyTax;
uint256 private _finalSellTax;
uint256 private _reduceBuyTaxAt;
uint256 private _reduceSellTaxAt;
uint256 private _preventSwapBefore;
uint256 private _buyCount=0;
uint8 private _decimals;
uint256 private _tTotal;
string private _name;
string private _symbol;
uint256 public _maxTxAmount;
uint256 public _maxWalletSize;
uint256 public _taxSwapThreshold;
address public _routerAddress;
IUniswapV2Router02 private uniswapV2Router;
address public uniswapV2Pair;
bool private tradingOpen;
bool private inSwap = false;
bool private swapEnabled = false;
event MaxTxAmountUpdated(uint _maxTxAmount);
modifier lockTheSwap {
inSwap = true;
_;
inSwap = false;
}
constructor (string memory initName,
string memory initSymbol,
uint256 initSupply,
uint8 initDecimal,
uint256 initTax,
uint256 finalTax,
uint256 maxTxPercent,
uint256 maxWalletPercent,
uint256 swapThresholdAmountPercent,
address routerAddress) {
_name = initName;
_symbol = initSymbol;
_decimals = initDecimal;
_tTotal = initSupply * 10**_decimals;
_initialBuyTax = initTax;
_initialSellTax = initTax;
_finalBuyTax = finalTax;
_finalSellTax = finalTax;
_routerAddress = routerAddress;
_maxTxAmount = (initSupply * maxTxPercent / 1000) * 10**_decimals;
_maxWalletSize = (initSupply * maxWalletPercent / 1000) * 10**_decimals;
_taxSwapThreshold= (initSupply * swapThresholdAmountPercent / 1000) * 10**_decimals;
_reduceBuyTaxAt=25;
_reduceSellTaxAt=25;
_preventSwapBefore=25;
_taxWallet = payable(_msgSender());
_balances[_msgSender()] = _tTotal;
_isExcludedFromFee[owner()] = true;
_isExcludedFromFee[address(this)] = true;
_isExcludedFromFee[_taxWallet] = true;
emit Transfer(address(0), _msgSender(), _tTotal);
}
function name() public view returns (string memory) {
return _name;
}
function symbol() public view returns (string memory) {
return _symbol;
}
function decimals() public view returns (uint8) {
return _decimals;
}
function totalSupply() public view override returns (uint256) {
return _tTotal;
}
function balanceOf(address account) public view override returns (uint256) {
return _balances[account];
}
function transfer(address recipient, uint256 amount) public override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender) public view override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
function _approve(address owner, address spender, uint256 amount) private {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _transfer(address from, address to, uint256 amount) private {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(amount > 0, "Transfer amount must be greater than zero");
uint256 taxAmount=0;
if (from != owner() && to != owner()) {
taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
if (transferDelayEnabled) {
if (to != address(uniswapV2Router) && to != address(uniswapV2Pair)) {
require(
_holderLastTransferTimestamp[tx.origin] <
block.number,
"_transfer:: Transfer Delay enabled. Only one purchase per block allowed."
);
_holderLastTransferTimestamp[tx.origin] = block.number;
}
}
if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) {
require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
_buyCount++;
}
if(to == uniswapV2Pair && from!= address(this) ){
taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
}
uint256 contractTokenBalance = balanceOf(address(this));
if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold && _buyCount>_preventSwapBefore) {
swapTokensForEth(min(amount,min(contractTokenBalance,_taxSwapThreshold)));
uint256 contractETHBalance = address(this).balance;
if(contractETHBalance > 50000000000000000) {
sendETHToFee(address(this).balance);
}
}
}
if(taxAmount>0){
_balances[address(this)]=_balances[address(this)].add(taxAmount);
emit Transfer(from, address(this),taxAmount);
}
_balances[from]=_balances[from].sub(amount);
_balances[to]=_balances[to].add(amount.sub(taxAmount));
emit Transfer(from, to, amount.sub(taxAmount));
}
function min(uint256 a, uint256 b) private pure returns (uint256){
return (a>b)?b:a;
}
function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
block.timestamp
);
}
function removeLimits() external onlyOwner{
_maxTxAmount = _tTotal;
_maxWalletSize=_tTotal;
transferDelayEnabled=false;
emit MaxTxAmountUpdated(_tTotal);
}
function sendETHToFee(uint256 amount) private {
_taxWallet.transfer(amount);
}
function openTrading() external onlyOwner() {
require(!tradingOpen,"trading is already open");
uniswapV2Router = IUniswapV2Router02(_routerAddress);
_approve(address(this), address(uniswapV2Router), _tTotal);
uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
swapEnabled = true;
tradingOpen = true;
}
receive() external payable {}
function manualSwap() external {
require(_msgSender()==_taxWallet);
uint256 tokenBalance=balanceOf(address(this));
if(tokenBalance>0){
swapTokensForEth(tokenBalance);
}
uint256 ethBalance=address(this).balance;
if(ethBalance>0){
sendETHToFee(ethBalance);
}
}
}
Read Contract
_maxTxAmount 0x7d1db4a5 → uint256
_maxWalletSize 0x8f9a55c0 → uint256
_routerAddress 0xd9e66460 → address
_taxSwapThreshold 0xbf474bed → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
transferDelayEnabled 0xc876d0b9 → bool
uniswapV2Pair 0x49bd5a5e → address
Write Contract 7 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
manualSwap 0x51bc3c85
No parameters
openTrading 0xc9567bf9
No parameters
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
Recent Transactions
No transactions found for this address