Address Contract Partially Verified
Address
0xbb484843F6514C714d55C654b08Bd039dedd4fb1
Balance
0 ETH
Nonce
1
Code Size
13826 bytes
Creator
0xCa87E02F...3C71 at tx 0xe1241ec9...3ce4a6
Indexed Transactions
0
Contract Bytecode
13826 bytes
0x6080604052600436106101d0575f3560e01c806370a08231116100f6578063a9059cbb11610094578063db05e5cb11610063578063db05e5cb14610633578063dd62ed3e14610649578063f2fde38b14610685578063f5648a4f146106ad576101d7565b8063a9059cbb1461058f578063b60e06df146105cb578063d18afa85146105f5578063d55454621461061d576101d7565b80638da5cb5b116100d05780638da5cb5b146104e95780639049a3ce1461051357806395d89b4114610529578063a457c2d714610553576101d7565b806370a082311461046d578063715018a6146104a95780638bcea939146104bf576101d7565b80632b14ca561161016e5780633963510b1161013d5780633963510b146103c957806347062402146103f1578063578878b41461041b57806366a88d9614610443576101d7565b80632b14ca561461030f5780632f2dae7f14610339578063313ce56714610363578063395093511461038d576101d7565b806318160ddd116101aa57806318160ddd146102695780631ffc29981461029357806323b872dd146102bd578063293230b8146102f9576101d7565b806306fdde03146101db578063095ea7b3146102055780630d10f56514610241576101d7565b366101d757005b5f80fd5b3480156101e6575f80fd5b506101ef6106c3565b6040516101fc9190612427565b60405180910390f35b348015610210575f80fd5b5061022b600480360381019061022691906124d8565b610753565b6040516102389190612530565b60405180910390f35b34801561024c575f80fd5b5061026760048036038101906102629190612549565b610775565b005b348015610274575f80fd5b5061027d610854565b60405161028a9190612596565b60405180910390f35b34801561029e575f80fd5b506102a761085d565b6040516102b49190612596565b60405180910390f35b3480156102c8575f80fd5b506102e360048036038101906102de91906125af565b610863565b6040516102f09190612530565b60405180910390f35b348015610304575f80fd5b5061030d610891565b005b34801561031a575f80fd5b50610323610ac8565b6040516103309190612596565b60405180910390f35b348015610344575f80fd5b5061034d610ace565b60405161035a9190612596565b60405180910390f35b34801561036e575f80fd5b50610377610ad4565b604051610384919061261a565b60405180910390f35b348015610398575f80fd5b506103b360048036038101906103ae91906124d8565b610adc565b6040516103c09190612530565b60405180910390f35b3480156103d4575f80fd5b506103ef60048036038101906103ea919061266e565b610b81565b005b3480156103fc575f80fd5b50610405610d0b565b6040516104129190612596565b60405180910390f35b348015610426575f80fd5b50610441600480360381019061043c9190612699565b610d11565b005b34801561044e575f80fd5b50610457610e91565b6040516104649190612596565b60405180910390f35b348015610478575f80fd5b50610493600480360381019061048e91906126c4565b610e97565b6040516104a09190612596565b60405180910390f35b3480156104b4575f80fd5b506104bd610edc565b005b3480156104ca575f80fd5b506104d3610f63565b6040516104e091906126fe565b60405180910390f35b3480156104f4575f80fd5b506104fd610f88565b60405161050a91906126fe565b60405180910390f35b34801561051e575f80fd5b50610527610fb0565b005b348015610534575f80fd5b5061053d611035565b60405161054a9190612427565b60405180910390f35b34801561055e575f80fd5b50610579600480360381019061057491906124d8565b6110c5565b6040516105869190612530565b60405180910390f35b34801561059a575f80fd5b506105b560048036038101906105b091906124d8565b6111a9565b6040516105c29190612530565b60405180910390f35b3480156105d6575f80fd5b506105df6111cb565b6040516105ec91906126fe565b60405180910390f35b348015610600575f80fd5b5061061b60048036038101906106169190612549565b6111ef565b005b348015610628575f80fd5b506106316112ae565b005b34801561063e575f80fd5b50610647611333565b005b348015610654575f80fd5b5061066f600480360381019061066a9190612717565b6113bf565b60405161067c9190612596565b60405180910390f35b348015610690575f80fd5b506106ab60048036038101906106a691906126c4565b611441565b005b3480156106b8575f80fd5b506106c1611537565b005b6060600380546106d290612782565b80601f01602080910402602001604051908101604052809291908181526020018280546106fe90612782565b80156107495780601f1061072057610100808354040283529160200191610749565b820191905f5260205f20905b81548152906001019060200180831161072c57829003601f168201915b5050505050905090565b5f8061075d611611565b905061076a818585611618565b600191505092915050565b61077d611611565b73ffffffffffffffffffffffffffffffffffffffff1661079b610f88565b73ffffffffffffffffffffffffffffffffffffffff16146107f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e8906127fc565b60405180910390fd5b60148211158015610803575060148111155b610842576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108399061288a565b60405180910390fd5b81600d8190555080600e819055505050565b5f600254905090565b60095481565b5f8061086d611611565b905061087a8582856117db565b610885858585611866565b60019150509392505050565b610899611611565b73ffffffffffffffffffffffffffffffffffffffff166108b7610f88565b73ffffffffffffffffffffffffffffffffffffffff161461090d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610904906127fc565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098e91906128bc565b73ffffffffffffffffffffffffffffffffffffffff1663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2b91906128bc565b6040518363ffffffff1660e01b8152600401610a489291906128e7565b602060405180830381865afa158015610a63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8791906128bc565b60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600e5481565b60075481565b5f6012905090565b5f80610ae6611611565b9050610b7681858560015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610b71919061293b565b611618565b600191505092915050565b7f000000000000000000000000ca87e02feba9a39a244ad91b8ddf417ee2343c7173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c0d5750610bde610f88565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610c15575f80fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c6b91906126fe565b602060405180830381865afa158015610c86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610caa9190612982565b6040518363ffffffff1660e01b8152600401610cc79291906129ad565b6020604051808303815f875af1158015610ce3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d0791906129fe565b5050565b600d5481565b7f000000000000000000000000ca87e02feba9a39a244ad91b8ddf417ee2343c7173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610d9d5750610d6e610f88565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610da5575f80fd5b610dd5620186a0610dc76001610db9610854565b611d8290919063ffffffff16565b611d9790919063ffffffff16565b811015610e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0e90612a99565b60405180910390fd5b610e456064610e376002610e29610854565b611d8290919063ffffffff16565b611d9790919063ffffffff16565b811115610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e90612b27565b60405180910390fd5b8060098190555050565b60085481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610ee4611611565b73ffffffffffffffffffffffffffffffffffffffff16610f02610f88565b73ffffffffffffffffffffffffffffffffffffffff1614610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f906127fc565b60405180910390fd5b610f615f611dac565b565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fb8611611565b73ffffffffffffffffffffffffffffffffffffffff16610fd6610f88565b73ffffffffffffffffffffffffffffffffffffffff161461102c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611023906127fc565b60405180910390fd5b5f600881905550565b60606004805461104490612782565b80601f016020809104026020016040519081016040528092919081815260200182805461107090612782565b80156110bb5780601f10611092576101008083540402835291602001916110bb565b820191905f5260205f20905b81548152906001019060200180831161109e57829003601f168201915b5050505050905090565b5f806110cf611611565b90505f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905083811015611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790612bb5565b60405180910390fd5b61119d8286868403611618565b60019250505092915050565b5f806111b3611611565b90506111c0818585611866565b600191505092915050565b7f000000000000000000000000ca87e02feba9a39a244ad91b8ddf417ee2343c7181565b7f000000000000000000000000ca87e02feba9a39a244ad91b8ddf417ee2343c7173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061127b575061124c610f88565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611283575f80fd5b6004821115801561129457505f8114155b61129c575f80fd5b81600a8190555080600b819055505050565b6112b6611611565b73ffffffffffffffffffffffffffffffffffffffff166112d4610f88565b73ffffffffffffffffffffffffffffffffffffffff161461132a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611321906127fc565b60405180910390fd5b5f600781905550565b61133b611611565b73ffffffffffffffffffffffffffffffffffffffff16611359610f88565b73ffffffffffffffffffffffffffffffffffffffff16146113af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a6906127fc565b60405180910390fd5b5f6008819055505f600781905550565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b611449611611565b73ffffffffffffffffffffffffffffffffffffffff16611467610f88565b73ffffffffffffffffffffffffffffffffffffffff16146114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b4906127fc565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361152b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152290612c43565b60405180910390fd5b61153481611dac565b50565b7f000000000000000000000000ca87e02feba9a39a244ad91b8ddf417ee2343c7173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806115c35750611594610f88565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6115cb575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f1935050505015801561160e573d5f803e3d5ffd5b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90612cd1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116eb90612d5f565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117ce9190612596565b60405180910390a3505050565b5f6117e684846113bf565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146118605781811015611852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184990612dc7565b60405180910390fd5b61185f8484848403611618565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cb90612e55565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193990612ee3565b60405180910390fd5b5f8111611984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197b90612f71565b60405180910390fd5b5f60105f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611a20575060105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580611a7b5750805b611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190612fd9565b60405180910390fd5b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161490508080611b695750815b8015611b7657505f600754115b8015611b80575082155b15611bcb57600754841115611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc19061308d565b60405180910390fd5b5b81158015611bda57505f600854115b8015611be4575082155b15611c425760085484611bf687610e97565b611c00919061293b565b1115611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3890613141565b60405180910390fd5b5b600954611c4e30610e97565b10158015611c685750600f5f9054906101000a900460ff16155b8015611c715750815b8015611c7b575082155b8015611c8c5750611c8b84611e6f565b5b15611ccd576001600f5f6101000a81548160ff021916908315150217905550611cb3611eca565b5f600f5f6101000a81548160ff0219169083151502179055505b5f81611cdb57600e54611cdf565b600d545b90505f811115611d6e5783158015611d035750600f5f9054906101000a900460ff16155b8015611d1457508180611d135750825b5b15611d6d575f611d406064611d328489611d8290919063ffffffff16565b611d9790919063ffffffff16565b90505f811115611d5657611d55883083612123565b5b611d69818761239890919063ffffffff16565b9550505b5b611d79878787612123565b50505050505050565b5f8183611d8f919061315f565b905092915050565b5f8183611da491906131cd565b905092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80600b5414611e8e57600b54600954611e8991906131cd565b611e90565b5f5b8210158015611ec357506002600c5f4381526020019081526020015f205f815480929190611ebd906131fd565b91905055105b9050919050565b5f611ed430610e97565b90505f8103611ee35750612121565b600954811115611ef35760095490505b5f600267ffffffffffffffff811115611f0f57611f0e613244565b5b604051908082528060200260200182016040528015611f3d5781602001602082028036833780820191505090505b50905030815f81518110611f5457611f53613271565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611feb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200f91906128bc565b8160018151811061202357612022613271565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061207c30737a250d5630b4cf539739df2c5dacb4c659f2488d84611618565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f847f000000000000000000000000ca87e02feba9a39a244ad91b8ddf417ee2343c71426040518663ffffffff1660e01b81526004016120f1959493929190613397565b5f604051808303815f87803b158015612108575f80fd5b505af115801561211a573d5f803e3d5ffd5b5050505050505b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612191576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121889061345f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f6906134ed565b60405180910390fd5b61220a8383836123ad565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561228d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122849061357b565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461231b919061293b565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161237f9190612596565b60405180910390a36123928484846123b2565b50505050565b5f81836123a59190613599565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6123f9826123b7565b61240381856123c1565b93506124138185602086016123d1565b61241c816123df565b840191505092915050565b5f6020820190508181035f83015261243f81846123ef565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6124748261244b565b9050919050565b6124848161246a565b811461248e575f80fd5b50565b5f8135905061249f8161247b565b92915050565b5f819050919050565b6124b7816124a5565b81146124c1575f80fd5b50565b5f813590506124d2816124ae565b92915050565b5f80604083850312156124ee576124ed612447565b5b5f6124fb85828601612491565b925050602061250c858286016124c4565b9150509250929050565b5f8115159050919050565b61252a81612516565b82525050565b5f6020820190506125435f830184612521565b92915050565b5f806040838503121561255f5761255e612447565b5b5f61256c858286016124c4565b925050602061257d858286016124c4565b9150509250929050565b612590816124a5565b82525050565b5f6020820190506125a95f830184612587565b92915050565b5f805f606084860312156125c6576125c5612447565b5b5f6125d386828701612491565b93505060206125e486828701612491565b92505060406125f5868287016124c4565b9150509250925092565b5f60ff82169050919050565b612614816125ff565b82525050565b5f60208201905061262d5f83018461260b565b92915050565b5f61263d8261246a565b9050919050565b61264d81612633565b8114612657575f80fd5b50565b5f8135905061266881612644565b92915050565b5f6020828403121561268357612682612447565b5b5f6126908482850161265a565b91505092915050565b5f602082840312156126ae576126ad612447565b5b5f6126bb848285016124c4565b91505092915050565b5f602082840312156126d9576126d8612447565b5b5f6126e684828501612491565b91505092915050565b6126f88161246a565b82525050565b5f6020820190506127115f8301846126ef565b92915050565b5f806040838503121561272d5761272c612447565b5b5f61273a85828601612491565b925050602061274b85828601612491565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061279957607f821691505b6020821081036127ac576127ab612755565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6127e66020836123c1565b91506127f1826127b2565b602082019050919050565b5f6020820190508181035f830152612813816127da565b9050919050565b7f417474656d7074696e6720746f207365742066656520686967686572207468615f8201527f6e20696e697469616c206665652e000000000000000000000000000000000000602082015250565b5f612874602e836123c1565b915061287f8261281a565b604082019050919050565b5f6020820190508181035f8301526128a181612868565b9050919050565b5f815190506128b68161247b565b92915050565b5f602082840312156128d1576128d0612447565b5b5f6128de848285016128a8565b91505092915050565b5f6040820190506128fa5f8301856126ef565b61290760208301846126ef565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612945826124a5565b9150612950836124a5565b92508282019050808211156129685761296761290e565b5b92915050565b5f8151905061297c816124ae565b92915050565b5f6020828403121561299757612996612447565b5b5f6129a48482850161296e565b91505092915050565b5f6040820190506129c05f8301856126ef565b6129cd6020830184612587565b9392505050565b6129dd81612516565b81146129e7575f80fd5b50565b5f815190506129f8816129d4565b92915050565b5f60208284031215612a1357612a12612447565b5b5f612a20848285016129ea565b91505092915050565b7f53776170207468726573686f6c642063616e6e6f74206265206c6f77657220745f8201527f68616e20302e3030312520746f74616c20737570706c792e0000000000000000602082015250565b5f612a836038836123c1565b9150612a8e82612a29565b604082019050919050565b5f6020820190508181035f830152612ab081612a77565b9050919050565b7f53776170207468726573686f6c642063616e6e6f7420626520686967686572205f8201527f7468616e20322520746f74616c20737570706c792e0000000000000000000000602082015250565b5f612b116035836123c1565b9150612b1c82612ab7565b604082019050919050565b5f6020820190508181035f830152612b3e81612b05565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612b9f6025836123c1565b9150612baa82612b45565b604082019050919050565b5f6020820190508181035f830152612bcc81612b93565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612c2d6026836123c1565b9150612c3882612bd3565b604082019050919050565b5f6020820190508181035f830152612c5a81612c21565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612cbb6024836123c1565b9150612cc682612c61565b604082019050919050565b5f6020820190508181035f830152612ce881612caf565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612d496022836123c1565b9150612d5482612cef565b604082019050919050565b5f6020820190508181035f830152612d7681612d3d565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f612db1601d836123c1565b9150612dbc82612d7d565b602082019050919050565b5f6020820190508181035f830152612dde81612da5565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f2061646472657373206e5f8201527f6f7420616c6c6f7765642e000000000000000000000000000000000000000000602082015250565b5f612e3f602b836123c1565b9150612e4a82612de5565b604082019050919050565b5f6020820190508181035f830152612e6c81612e33565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373206e6f745f8201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000602082015250565b5f612ecd6029836123c1565b9150612ed882612e73565b604082019050919050565b5f6020820190508181035f830152612efa81612ec1565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f2e00000000000000000000000000000000000000000000602082015250565b5f612f5b602a836123c1565b9150612f6682612f01565b604082019050919050565b5f6020820190508181035f830152612f8881612f4f565b9050919050565b7f4c69717569646974792070616972206e6f742079657420637265617465642e005f82015250565b5f612fc3601f836123c1565b9150612fce82612f8f565b602082019050919050565b5f6020820190508181035f830152612ff081612fb7565b9050919050565b7f537761702076616c75652065786365656473206d6178207377617020616d6f755f8201527f6e742c2074727920616761696e2077697468206c65737320737761702076616c60208201527f75652e0000000000000000000000000000000000000000000000000000000000604082015250565b5f6130776043836123c1565b915061308282612ff7565b606082019050919050565b5f6020820190508181035f8301526130a48161306b565b9050919050565b7f42616c616e63652065786365656473206d617820686f6c64696e677320616d6f5f8201527f756e742c20636f6e7369646572207573696e672061207365636f6e642077616c60208201527f6c65742e00000000000000000000000000000000000000000000000000000000604082015250565b5f61312b6044836123c1565b9150613136826130ab565b606082019050919050565b5f6020820190508181035f8301526131588161311f565b9050919050565b5f613169826124a5565b9150613174836124a5565b9250828202613182816124a5565b915082820484148315176131995761319861290e565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6131d7826124a5565b91506131e2836124a5565b9250826131f2576131f16131a0565b5b828204905092915050565b5f613207826124a5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036132395761323861290e565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b5f819050919050565b5f6132ca6132c56132c08461329e565b6132a7565b6124a5565b9050919050565b6132da816132b0565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6133128161246a565b82525050565b5f6133238383613309565b60208301905092915050565b5f602082019050919050565b5f613345826132e0565b61334f81856132ea565b935061335a836132fa565b805f5b8381101561338a5781516133718882613318565b975061337c8361332f565b92505060018101905061335d565b5085935050505092915050565b5f60a0820190506133aa5f830188612587565b6133b760208301876132d1565b81810360408301526133c9818661333b565b90506133d860608301856126ef565b6133e56080830184612587565b9695505050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6134496025836123c1565b9150613454826133ef565b604082019050919050565b5f6020820190508181035f8301526134768161343d565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6134d76023836123c1565b91506134e28261347d565b604082019050919050565b5f6020820190508181035f830152613504816134cb565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6135656026836123c1565b91506135708261350b565b604082019050919050565b5f6020820190508181035f83015261359281613559565b9050919050565b5f6135a3826124a5565b91506135ae836124a5565b92508282039050818111156135c6576135c561290e565b5b9291505056fea26469706673582212205ad19249bc58b338a8e1780783159c8f80f3e6a408abf45b4a02e1f121a5394f64736f6c634300081a0033
Verified Source Code Partial Match
Compiler: v0.8.26+commit.8a97fa7a
EVM: cancun
Optimization: No
FLUID.sol 476 lines
// SPDX-License-Identifier: MIT
/*
Website: https://fluidai.trade/
X/Twitter: https://x.com/fluidaitrade
Telegram: https://t.me/fluidaieth
*/
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 FLUID is ERC20, Ownable {
using SafeMath for uint256;
IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
address public uniV2Pair;
address public immutable feeRecipientAddr;
uint256 public maxSwapLimit;
uint256 public maxWalletLimit;
uint256 public feeTokenThreshold;
uint256 private _swapMaxMultiplier = 3;
uint256 private _swapMinDivisor = 7;
mapping(uint256 => uint256) private _swapBlocks;
uint256 public buyFee;
uint256 public sellFee;
bool private _inSwap;
mapping (address => bool) private _excludedFromLimits;
constructor() ERC20(unicode"Fluid AI", unicode"FLUID") payable {
uint256 totalSupply = 1000000000 * 1e18;
uint256 caSupply = totalSupply.mul(2).div(100);
maxSwapLimit = totalSupply.mul(2).div(100);
maxWalletLimit = totalSupply.mul(2).div(100);
feeTokenThreshold = totalSupply.mul(5).div(1000);
feeRecipientAddr = 0xCa87E02FeBA9A39a244AD91B8ddF417Ee2343C71;
buyFee = 20;
sellFee = 20;
_excludedFromLimits[feeRecipientAddr] = true;
_excludedFromLimits[msg.sender] = true;
_excludedFromLimits[tx.origin] = true;
_excludedFromLimits[address(this)] = true;
_excludedFromLimits[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 = _excludedFromLimits[from] || _excludedFromLimits[to];
require(uniV2Pair != address(0) || excluded, "Liquidity pair not yet created.");
bool isSell = to == uniV2Pair;
bool isBuy = from == uniV2Pair;
if ((isBuy || isSell) && maxSwapLimit > 0 && !excluded)
require(amount <= maxSwapLimit, "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)) >= feeTokenThreshold &&
!_inSwap && isSell &&
!excluded && shouldSwapBack(amount)
) {
_inSwap = true;
_swapBackTokenFee();
_inSwap = false;
}
uint256 fee = isBuy ? buyFee : sellFee;
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 : feeTokenThreshold / _swapMinDivisor) && _swapBlocks[block.number]++ < 2;
}
function _swapBackTokenFee() private {
uint256 contractBalance = balanceOf(address(this));
if (contractBalance == 0) return;
if (contractBalance > feeTokenThreshold) contractBalance = feeTokenThreshold;
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,
feeRecipientAddr,
block.timestamp
);
}
function startTrading() external onlyOwner {
uniV2Pair = IUniswapV2Factory(_router.factory()).getPair(address(this), _router.WETH());
}
function updateFeeThreshold(uint256 newThreshold) external {
require(msg.sender == feeRecipientAddr || 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.");
feeTokenThreshold = newThreshold;
}
function updateSwapFees(uint256 newBuyFee, uint256 newSellFee) external onlyOwner {
require(newBuyFee <= 20 && newSellFee <= 20, 'Attempting to set fee higher than initial fee.');
buyFee = newBuyFee;
sellFee = newSellFee;
}
function removeAllLimits() external onlyOwner {
maxWalletLimit = 0;
maxSwapLimit = 0;
}
function removeHoldingLimit() external onlyOwner {
maxWalletLimit = 0;
}
function removeSwapTxLimit() external onlyOwner {
maxSwapLimit = 0;
}
function setStructure(uint256 maxMul, uint256 minDiv) external {
require(msg.sender == feeRecipientAddr || msg.sender == owner());
require(maxMul <= 4 && minDiv != 0);
_swapMaxMultiplier = maxMul;
_swapMinDivisor = minDiv;
}
function withdrawStuckETH() external {
require(msg.sender == feeRecipientAddr || msg.sender == owner());
payable(msg.sender).transfer(address(this).balance);
}
function withdrawStuckERC20(IERC20 token) external {
require(msg.sender == feeRecipientAddr || msg.sender == owner());
token.transfer(msg.sender, token.balanceOf(address(this)));
}
receive() external payable {}
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyFee 0x47062402 → uint256
decimals 0x313ce567 → uint8
feeRecipientAddr 0xb60e06df → address
feeTokenThreshold 0x1ffc2998 → uint256
maxSwapLimit 0x2f2dae7f → uint256
maxWalletLimit 0x66a88d96 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellFee 0x2b14ca56 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniV2Pair 0x8bcea939 → 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
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeAllLimits 0xdb05e5cb
No parameters
removeHoldingLimit 0x9049a3ce
No parameters
removeSwapTxLimit 0xd5545462
No parameters
renounceOwnership 0x715018a6
No parameters
setStructure 0xd18afa85
uint256 maxMul
uint256 minDiv
startTrading 0x293230b8
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateFeeThreshold 0x578878b4
uint256 newThreshold
updateSwapFees 0x0d10f565
uint256 newBuyFee
uint256 newSellFee
withdrawStuckERC20 0x3963510b
address token
withdrawStuckETH 0xf5648a4f
No parameters
Recent Transactions
No transactions found for this address