Address Contract Partially Verified
Address
0xa79Aceef0a240d651948fbeCfA38966aD18B446d
Balance
0 ETH
Nonce
1
Code Size
13826 bytes
Creator
0xA5A6e1A4...CdD7 at tx 0xc6e0276f...0fbf8b
Indexed Transactions
0
Contract Bytecode
13826 bytes
0x6080604052600436106101d0575f3560e01c80638a8c523c116100f6578063cc1776d311610094578063e91284d411610063578063e91284d414610633578063f2fde38b1461065d578063f442d3fb14610685578063f5648a4f146106ad576101d7565b8063cc1776d31461058f578063d18afa85146105b9578063db05e5cb146105e1578063dd62ed3e146105f7576101d7565b8063a457c2d7116100d0578063a457c2d7146104eb578063a9059cbb14610527578063b144896f14610563578063cbbda29b14610579576101d7565b80638a8c523c146104815780638da5cb5b1461049757806395d89b41146104c1576101d7565b8063412753581161016e57806359acbe4e1161013d57806359acbe4e146103dd57806366a88d961461040557806370a082311461042f578063715018a61461046b576101d7565b806341275358146103355780634f28cac21461035f5780634f7041a51461038957806353945d7b146103b3576101d7565b806323b872dd116101aa57806323b872dd1461026b578063313ce567146102a757806339509351146102d15780633963510b1461030d576101d7565b806306fdde03146101db578063095ea7b31461020557806318160ddd14610241576101d7565b366101d757005b5f80fd5b3480156101e6575f80fd5b506101ef6106c3565b6040516101fc9190612427565b60405180910390f35b348015610210575f80fd5b5061022b600480360381019061022691906124d8565b610753565b6040516102389190612530565b60405180910390f35b34801561024c575f80fd5b50610255610775565b6040516102629190612558565b60405180910390f35b348015610276575f80fd5b50610291600480360381019061028c9190612571565b61077e565b60405161029e9190612530565b60405180910390f35b3480156102b2575f80fd5b506102bb6107ac565b6040516102c891906125dc565b60405180910390f35b3480156102dc575f80fd5b506102f760048036038101906102f291906124d8565b6107b4565b6040516103049190612530565b60405180910390f35b348015610318575f80fd5b50610333600480360381019061032e9190612630565b610859565b005b348015610340575f80fd5b506103496109e3565b604051610356919061266a565b60405180910390f35b34801561036a575f80fd5b50610373610a07565b6040516103809190612558565b60405180910390f35b348015610394575f80fd5b5061039d610a0d565b6040516103aa9190612558565b60405180910390f35b3480156103be575f80fd5b506103c7610a13565b6040516103d4919061266a565b60405180910390f35b3480156103e8575f80fd5b5061040360048036038101906103fe9190612683565b610a38565b005b348015610410575f80fd5b50610419610b17565b6040516104269190612558565b60405180910390f35b34801561043a575f80fd5b50610455600480360381019061045091906126c1565b610b1d565b6040516104629190612558565b60405180910390f35b348015610476575f80fd5b5061047f610b62565b005b34801561048c575f80fd5b50610495610be9565b005b3480156104a2575f80fd5b506104ab610e20565b6040516104b8919061266a565b60405180910390f35b3480156104cc575f80fd5b506104d5610e48565b6040516104e29190612427565b60405180910390f35b3480156104f6575f80fd5b50610511600480360381019061050c91906124d8565b610ed8565b60405161051e9190612530565b60405180910390f35b348015610532575f80fd5b5061054d600480360381019061054891906124d8565b610fbc565b60405161055a9190612530565b60405180910390f35b34801561056e575f80fd5b50610577610fde565b005b348015610584575f80fd5b5061058d611063565b005b34801561059a575f80fd5b506105a36110e8565b6040516105b09190612558565b60405180910390f35b3480156105c4575f80fd5b506105df60048036038101906105da9190612683565b6110ee565b005b3480156105ec575f80fd5b506105f56111ad565b005b348015610602575f80fd5b5061061d600480360381019061061891906126ec565b611239565b60405161062a9190612558565b60405180910390f35b34801561063e575f80fd5b506106476112bb565b6040516106549190612558565b60405180910390f35b348015610668575f80fd5b50610683600480360381019061067e91906126c1565b6112c1565b005b348015610690575f80fd5b506106ab60048036038101906106a6919061272a565b6113b7565b005b3480156106b8575f80fd5b506106c1611537565b005b6060600380546106d290612782565b80601f01602080910402602001604051908101604052809291908181526020018280546106fe90612782565b80156107495780601f1061072057610100808354040283529160200191610749565b820191905f5260205f20905b81548152906001019060200180831161072c57829003601f168201915b5050505050905090565b5f8061075d611611565b905061076a818585611618565b600191505092915050565b5f600254905090565b5f80610788611611565b90506107958582856117db565b6107a0858585611866565b60019150509392505050565b5f6012905090565b5f806107be611611565b905061084e81858560015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461084991906127df565b611618565b600191505092915050565b7f00000000000000000000000051d7b8fdb9410e6f5cd68303dd696c9eb57fa67273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806108e557506108b6610e20565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6108ed575f80fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610943919061266a565b602060405180830381865afa15801561095e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109829190612826565b6040518363ffffffff1660e01b815260040161099f929190612851565b6020604051808303815f875af11580156109bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109df91906128a2565b5050565b7f00000000000000000000000051d7b8fdb9410e6f5cd68303dd696c9eb57fa67281565b60075481565b600d5481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a40611611565b73ffffffffffffffffffffffffffffffffffffffff16610a5e610e20565b73ffffffffffffffffffffffffffffffffffffffff1614610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab90612917565b60405180910390fd5b600f8211158015610ac65750601e8111155b610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc906129a5565b60405180910390fd5b81600d8190555080600e819055505050565b60085481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610b6a611611565b73ffffffffffffffffffffffffffffffffffffffff16610b88610e20565b73ffffffffffffffffffffffffffffffffffffffff1614610bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd590612917565b60405180910390fd5b610be75f611d82565b565b610bf1611611565b73ffffffffffffffffffffffffffffffffffffffff16610c0f610e20565b73ffffffffffffffffffffffffffffffffffffffff1614610c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5c90612917565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce691906129d7565b73ffffffffffffffffffffffffffffffffffffffff1663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8391906129d7565b6040518363ffffffff1660e01b8152600401610da0929190612a02565b602060405180830381865afa158015610dbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddf91906129d7565b60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610e5790612782565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8390612782565b8015610ece5780601f10610ea557610100808354040283529160200191610ece565b820191905f5260205f20905b815481529060010190602001808311610eb157829003601f168201915b5050505050905090565b5f80610ee2611611565b90505f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905083811015610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a90612a99565b60405180910390fd5b610fb08286868403611618565b60019250505092915050565b5f80610fc6611611565b9050610fd3818585611866565b600191505092915050565b610fe6611611565b73ffffffffffffffffffffffffffffffffffffffff16611004610e20565b73ffffffffffffffffffffffffffffffffffffffff161461105a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105190612917565b60405180910390fd5b5f600881905550565b61106b611611565b73ffffffffffffffffffffffffffffffffffffffff16611089610e20565b73ffffffffffffffffffffffffffffffffffffffff16146110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d690612917565b60405180910390fd5b5f600781905550565b600e5481565b7f00000000000000000000000051d7b8fdb9410e6f5cd68303dd696c9eb57fa67273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061117a575061114b610e20565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611182575f80fd5b6004821115801561119357505f8114155b61119b575f80fd5b81600a8190555080600b819055505050565b6111b5611611565b73ffffffffffffffffffffffffffffffffffffffff166111d3610e20565b73ffffffffffffffffffffffffffffffffffffffff1614611229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122090612917565b60405180910390fd5b5f6008819055505f600781905550565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60095481565b6112c9611611565b73ffffffffffffffffffffffffffffffffffffffff166112e7610e20565b73ffffffffffffffffffffffffffffffffffffffff161461133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490612917565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a290612b27565b60405180910390fd5b6113b481611d82565b50565b7f00000000000000000000000051d7b8fdb9410e6f5cd68303dd696c9eb57fa67273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114435750611414610e20565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61144b575f80fd5b61147b620186a061146d600161145f610775565b611e4590919063ffffffff16565b611e5a90919063ffffffff16565b8110156114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490612bb5565b60405180910390fd5b6114eb60646114dd60026114cf610775565b611e4590919063ffffffff16565b611e5a90919063ffffffff16565b81111561152d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152490612c43565b60405180910390fd5b8060098190555050565b7f00000000000000000000000051d7b8fdb9410e6f5cd68303dd696c9eb57fa67273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806115c35750611594610e20565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6115cb575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f1935050505015801561160e573d5f803e3d5ffd5b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90612cd1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116eb90612d5f565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117ce9190612558565b60405180910390a3505050565b5f6117e68484611239565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146118605781811015611852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184990612dc7565b60405180910390fd5b61185f8484848403611618565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cb90612e55565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193990612ee3565b60405180910390fd5b5f8111611984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197b90612f71565b60405180910390fd5b5f60105f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611a20575060105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580611a7b5750805b611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190612fd9565b60405180910390fd5b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161490508080611b695750815b8015611b7657505f600754115b8015611b80575082155b15611bcb57600754841115611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc19061308d565b60405180910390fd5b5b81158015611bda57505f600854115b8015611be4575082155b15611c425760085484611bf687610b1d565b611c0091906127df565b1115611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3890613141565b60405180910390fd5b5b600954611c4e30610b1d565b10158015611c685750600f5f9054906101000a900460ff16155b8015611c715750815b8015611c7b575082155b8015611c8c5750611c8b84611e6f565b5b15611ccd576001600f5f6101000a81548160ff021916908315150217905550611cb3611eca565b5f600f5f6101000a81548160ff0219169083151502179055505b5f81611cdb57600e54611cdf565b600d545b90505f811115611d6e5783158015611d035750600f5f9054906101000a900460ff16155b8015611d1457508180611d135750825b5b15611d6d575f611d406064611d328489611e4590919063ffffffff16565b611e5a90919063ffffffff16565b90505f811115611d5657611d55883083612123565b5b611d69818761239890919063ffffffff16565b9550505b5b611d79878787612123565b50505050505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8183611e52919061315f565b905092915050565b5f8183611e6791906131cd565b905092915050565b5f80600b5414611e8e57600b54600954611e8991906131cd565b611e90565b5f5b8210158015611ec357506002600c5f4381526020019081526020015f205f815480929190611ebd906131fd565b91905055105b9050919050565b5f611ed430610b1d565b90505f8103611ee35750612121565b600954811115611ef35760095490505b5f600267ffffffffffffffff811115611f0f57611f0e613244565b5b604051908082528060200260200182016040528015611f3d5781602001602082028036833780820191505090505b50905030815f81518110611f5457611f53613271565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611feb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200f91906129d7565b8160018151811061202357612022613271565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061207c30737a250d5630b4cf539739df2c5dacb4c659f2488d84611618565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f847f00000000000000000000000051d7b8fdb9410e6f5cd68303dd696c9eb57fa672426040518663ffffffff1660e01b81526004016120f1959493929190613397565b5f604051808303815f87803b158015612108575f80fd5b505af115801561211a573d5f803e3d5ffd5b5050505050505b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612191576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121889061345f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f6906134ed565b60405180910390fd5b61220a8383836123ad565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561228d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122849061357b565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461231b91906127df565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161237f9190612558565b60405180910390a36123928484846123b2565b50505050565b5f81836123a59190613599565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6123f9826123b7565b61240381856123c1565b93506124138185602086016123d1565b61241c816123df565b840191505092915050565b5f6020820190508181035f83015261243f81846123ef565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6124748261244b565b9050919050565b6124848161246a565b811461248e575f80fd5b50565b5f8135905061249f8161247b565b92915050565b5f819050919050565b6124b7816124a5565b81146124c1575f80fd5b50565b5f813590506124d2816124ae565b92915050565b5f80604083850312156124ee576124ed612447565b5b5f6124fb85828601612491565b925050602061250c858286016124c4565b9150509250929050565b5f8115159050919050565b61252a81612516565b82525050565b5f6020820190506125435f830184612521565b92915050565b612552816124a5565b82525050565b5f60208201905061256b5f830184612549565b92915050565b5f805f6060848603121561258857612587612447565b5b5f61259586828701612491565b93505060206125a686828701612491565b92505060406125b7868287016124c4565b9150509250925092565b5f60ff82169050919050565b6125d6816125c1565b82525050565b5f6020820190506125ef5f8301846125cd565b92915050565b5f6125ff8261246a565b9050919050565b61260f816125f5565b8114612619575f80fd5b50565b5f8135905061262a81612606565b92915050565b5f6020828403121561264557612644612447565b5b5f6126528482850161261c565b91505092915050565b6126648161246a565b82525050565b5f60208201905061267d5f83018461265b565b92915050565b5f806040838503121561269957612698612447565b5b5f6126a6858286016124c4565b92505060206126b7858286016124c4565b9150509250929050565b5f602082840312156126d6576126d5612447565b5b5f6126e384828501612491565b91505092915050565b5f806040838503121561270257612701612447565b5b5f61270f85828601612491565b925050602061272085828601612491565b9150509250929050565b5f6020828403121561273f5761273e612447565b5b5f61274c848285016124c4565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061279957607f821691505b6020821081036127ac576127ab612755565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6127e9826124a5565b91506127f4836124a5565b925082820190508082111561280c5761280b6127b2565b5b92915050565b5f81519050612820816124ae565b92915050565b5f6020828403121561283b5761283a612447565b5b5f61284884828501612812565b91505092915050565b5f6040820190506128645f83018561265b565b6128716020830184612549565b9392505050565b61288181612516565b811461288b575f80fd5b50565b5f8151905061289c81612878565b92915050565b5f602082840312156128b7576128b6612447565b5b5f6128c48482850161288e565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6129016020836123c1565b915061290c826128cd565b602082019050919050565b5f6020820190508181035f83015261292e816128f5565b9050919050565b7f417474656d7074696e6720746f207365742066656520686967686572207468615f8201527f6e20696e697469616c206665652e000000000000000000000000000000000000602082015250565b5f61298f602e836123c1565b915061299a82612935565b604082019050919050565b5f6020820190508181035f8301526129bc81612983565b9050919050565b5f815190506129d18161247b565b92915050565b5f602082840312156129ec576129eb612447565b5b5f6129f9848285016129c3565b91505092915050565b5f604082019050612a155f83018561265b565b612a22602083018461265b565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612a836025836123c1565b9150612a8e82612a29565b604082019050919050565b5f6020820190508181035f830152612ab081612a77565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612b116026836123c1565b9150612b1c82612ab7565b604082019050919050565b5f6020820190508181035f830152612b3e81612b05565b9050919050565b7f53776170207468726573686f6c642063616e6e6f74206265206c6f77657220745f8201527f68616e20302e3030312520746f74616c20737570706c792e0000000000000000602082015250565b5f612b9f6038836123c1565b9150612baa82612b45565b604082019050919050565b5f6020820190508181035f830152612bcc81612b93565b9050919050565b7f53776170207468726573686f6c642063616e6e6f7420626520686967686572205f8201527f7468616e20322520746f74616c20737570706c792e0000000000000000000000602082015250565b5f612c2d6035836123c1565b9150612c3882612bd3565b604082019050919050565b5f6020820190508181035f830152612c5a81612c21565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612cbb6024836123c1565b9150612cc682612c61565b604082019050919050565b5f6020820190508181035f830152612ce881612caf565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612d496022836123c1565b9150612d5482612cef565b604082019050919050565b5f6020820190508181035f830152612d7681612d3d565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f612db1601d836123c1565b9150612dbc82612d7d565b602082019050919050565b5f6020820190508181035f830152612dde81612da5565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f2061646472657373206e5f8201527f6f7420616c6c6f7765642e000000000000000000000000000000000000000000602082015250565b5f612e3f602b836123c1565b9150612e4a82612de5565b604082019050919050565b5f6020820190508181035f830152612e6c81612e33565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373206e6f745f8201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000602082015250565b5f612ecd6029836123c1565b9150612ed882612e73565b604082019050919050565b5f6020820190508181035f830152612efa81612ec1565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f2e00000000000000000000000000000000000000000000602082015250565b5f612f5b602a836123c1565b9150612f6682612f01565b604082019050919050565b5f6020820190508181035f830152612f8881612f4f565b9050919050565b7f4c69717569646974792070616972206e6f742079657420637265617465642e005f82015250565b5f612fc3601f836123c1565b9150612fce82612f8f565b602082019050919050565b5f6020820190508181035f830152612ff081612fb7565b9050919050565b7f537761702076616c75652065786365656473206d6178207377617020616d6f755f8201527f6e742c2074727920616761696e2077697468206c65737320737761702076616c60208201527f75652e0000000000000000000000000000000000000000000000000000000000604082015250565b5f6130776043836123c1565b915061308282612ff7565b606082019050919050565b5f6020820190508181035f8301526130a48161306b565b9050919050565b7f42616c616e63652065786365656473206d617820686f6c64696e677320616d6f5f8201527f756e742c20636f6e7369646572207573696e672061207365636f6e642077616c60208201527f6c65742e00000000000000000000000000000000000000000000000000000000604082015250565b5f61312b6044836123c1565b9150613136826130ab565b606082019050919050565b5f6020820190508181035f8301526131588161311f565b9050919050565b5f613169826124a5565b9150613174836124a5565b9250828202613182816124a5565b91508282048414831517613199576131986127b2565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6131d7826124a5565b91506131e2836124a5565b9250826131f2576131f16131a0565b5b828204905092915050565b5f613207826124a5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613239576132386127b2565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b5f819050919050565b5f6132ca6132c56132c08461329e565b6132a7565b6124a5565b9050919050565b6132da816132b0565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6133128161246a565b82525050565b5f6133238383613309565b60208301905092915050565b5f602082019050919050565b5f613345826132e0565b61334f81856132ea565b935061335a836132fa565b805f5b8381101561338a5781516133718882613318565b975061337c8361332f565b92505060018101905061335d565b5085935050505092915050565b5f60a0820190506133aa5f830188612549565b6133b760208301876132d1565b81810360408301526133c9818661333b565b90506133d8606083018561265b565b6133e56080830184612549565b9695505050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6134496025836123c1565b9150613454826133ef565b604082019050919050565b5f6020820190508181035f8301526134768161343d565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6134d76023836123c1565b91506134e28261347d565b604082019050919050565b5f6020820190508181035f830152613504816134cb565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6135656026836123c1565b91506135708261350b565b604082019050919050565b5f6020820190508181035f83015261359281613559565b9050919050565b5f6135a3826124a5565b91506135ae836124a5565b92508282039050818111156135c6576135c56127b2565b5b9291505056fea2646970667358221220b334cbe9026b4652a6415db666813dd6d25a50bd66115b3da8b892cc8d570f2264736f6c634300081a0033
Verified Source Code Partial Match
Compiler: v0.8.26+commit.8a97fa7a
EVM: cancun
Optimization: No
SEDGE.sol 480 lines
// SPDX-License-Identifier: MIT
/*
Website: www.sedgeai.com
X/Twitter: x.com/socialedgeai
Telegram: t.me/sedgeai
Browser Extension: https://chromewebstore.google.com/detail/social-edge/ahkbhclbdleobmdmkaabbgdfpnnfmjkp?authuser=1&hl=en
TG Bot / Mini App: https://t.me/socialedge_bot
Docs: https://social-edge.gitbook.io/social-edge-or-product-docs
*/
pragma solidity ^0.8.26;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address to, 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 from,
address to,
uint256 amount
) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
interface IERC20Metadata is IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
}
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function decimals() public view virtual override returns (uint8) {
return 18;
}
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, _allowances[owner][spender] + addedValue);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = _allowances[owner][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() {
_transferOwnership(_msgSender());
}
function owner() public view virtual returns (address) {
return _owner;
}
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
}
interface IUniswapV2Factory {
function createPair(address tokenA, address tokenB) external returns (address pair);
function getPair(address tokenA, address tokenB) external view returns (address pair);
}
interface IUniswapV2Router02 {
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);
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}
contract SEDGE is ERC20, Ownable {
using SafeMath for uint256;
IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
address public uniV2PairAddress;
address public immutable feeAddress;
uint256 public maxSwapSize;
uint256 public maxWalletLimit;
uint256 public feeThresholdSize;
uint256 private _swapMaxMultiplier = 3;
uint256 private _swapMinDivisor = 7;
mapping(uint256 => uint256) private _swapBlocks;
uint256 public buyTax;
uint256 public sellTax;
bool private _inSwap;
mapping (address => bool) private _excludedLimits;
constructor() ERC20(unicode"Social Edge", "SEDGE") payable {
uint256 totalSupply = 1000000 * 1e18;
uint256 caSupply = totalSupply.mul(1).div(10000);
maxSwapSize = totalSupply.mul(15).div(1000);
maxWalletLimit = totalSupply.mul(15).div(1000);
feeThresholdSize = totalSupply.mul(5).div(1000);
feeAddress = 0x51D7B8FDB9410e6F5CD68303dD696C9EB57fa672;
buyTax = 0;
sellTax = 0;
_excludedLimits[feeAddress] = true;
_excludedLimits[msg.sender] = true;
_excludedLimits[tx.origin] = true;
_excludedLimits[address(this)] = true;
_excludedLimits[address(0xdead)] = true;
_mint(address(this), caSupply);
_mint(tx.origin, totalSupply.sub(caSupply));
}
function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "Transfer from the zero address not allowed.");
require(to != address(0), "Transfer to the zero address not allowed.");
require(amount > 0, 'Transfer amount must be greater than zero.');
bool excluded = _excludedLimits[from] || _excludedLimits[to];
require(uniV2PairAddress != address(0) || excluded, "Liquidity pair not yet created.");
bool isSell = to == uniV2PairAddress;
bool isBuy = from == uniV2PairAddress;
if ((isBuy || isSell) && maxSwapSize > 0 && !excluded)
require(amount <= maxSwapSize, "Swap value exceeds max swap amount, try again with less swap value.");
if (!isSell && maxWalletLimit > 0 && !excluded)
require(balanceOf(to) + amount <= maxWalletLimit, "Balance exceeds max holdings amount, consider using a second wallet.");
if (
balanceOf(address(this)) >= feeThresholdSize &&
!_inSwap && isSell &&
!excluded && shouldSwapBack(amount)
) {
_inSwap = true;
_swapTokenFee();
_inSwap = false;
}
uint256 fee = isBuy ? buyTax : sellTax;
if (fee > 0) {
if (!excluded && !_inSwap && (isBuy || isSell)) {
uint256 fees = amount.mul(fee).div(100);
if (fees > 0)
super._transfer(from, address(this), fees);
amount = amount.sub(fees);
}
}
super._transfer(from, to, amount);
}
function shouldSwapBack(uint256 amount) private returns (bool) {
return amount >= (_swapMinDivisor == 0 ? 0 : feeThresholdSize / _swapMinDivisor) && _swapBlocks[block.number]++ < 2;
}
function _swapTokenFee() private {
uint256 contractBalance = balanceOf(address(this));
if (contractBalance == 0) return;
if (contractBalance > feeThresholdSize) contractBalance = feeThresholdSize;
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = _router.WETH();
_approve(address(this), address(_router), contractBalance);
_router.swapExactTokensForETHSupportingFeeOnTransferTokens(
contractBalance,
0,
path,
feeAddress,
block.timestamp
);
}
function enableTrading() external onlyOwner {
uniV2PairAddress = IUniswapV2Factory(_router.factory()).getPair(address(this), _router.WETH());
}
function updateFeeTokenThreshold(uint256 newThreshold) external {
require(msg.sender == feeAddress || msg.sender == owner());
require(newThreshold >= totalSupply().mul(1).div(100000), "Swap threshold cannot be lower than 0.001% total supply.");
require(newThreshold <= totalSupply().mul(2).div(100), "Swap threshold cannot be higher than 2% total supply.");
feeThresholdSize = newThreshold;
}
function setSwapFees(uint256 newBuyFee, uint256 newSellFee) external onlyOwner {
require(newBuyFee <= 15 && newSellFee <= 30, 'Attempting to set fee higher than initial fee.');
buyTax = newBuyFee;
sellTax = newSellFee;
}
function removeAllLimits() external onlyOwner {
maxWalletLimit = 0;
maxSwapSize = 0;
}
function removeWalletLimit() external onlyOwner {
maxWalletLimit = 0;
}
function removeSwapLimit() external onlyOwner {
maxSwapSize = 0;
}
function setStructure(uint256 maxMul, uint256 minDiv) external {
require(msg.sender == feeAddress || msg.sender == owner());
require(maxMul <= 4 && minDiv != 0);
_swapMaxMultiplier = maxMul;
_swapMinDivisor = minDiv;
}
function withdrawStuckETH() external {
require(msg.sender == feeAddress || msg.sender == owner());
payable(msg.sender).transfer(address(this).balance);
}
function withdrawStuckERC20(IERC20 token) external {
require(msg.sender == feeAddress || msg.sender == owner());
token.transfer(msg.sender, token.balanceOf(address(this)));
}
receive() external payable {}
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyTax 0x4f7041a5 → uint256
decimals 0x313ce567 → uint8
feeAddress 0x41275358 → address
feeThresholdSize 0xe91284d4 → uint256
maxSwapSize 0x4f28cac2 → uint256
maxWalletLimit 0x66a88d96 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellTax 0xcc1776d3 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniV2PairAddress 0x53945d7b → address
Write Contract 16 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
enableTrading 0x8a8c523c
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeAllLimits 0xdb05e5cb
No parameters
removeSwapLimit 0xcbbda29b
No parameters
removeWalletLimit 0xb144896f
No parameters
renounceOwnership 0x715018a6
No parameters
setStructure 0xd18afa85
uint256 maxMul
uint256 minDiv
setSwapFees 0x59acbe4e
uint256 newBuyFee
uint256 newSellFee
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateFeeTokenThreshold 0xf442d3fb
uint256 newThreshold
withdrawStuckERC20 0x3963510b
address token
withdrawStuckETH 0xf5648a4f
No parameters
Recent Transactions
No transactions found for this address