Address Contract Partially Verified
Address
0x5DD14318ead490f545e348a96f902af91Dc22F3C
Balance
0 ETH
Nonce
1
Code Size
11281 bytes
Creator
0x3C1A2589...780B at tx 0x687ad561...4c225a
Indexed Transactions
0
Contract Bytecode
11281 bytes
0x608060405260043610610184575f3560e01c8063715018a6116100d0578063b2d1c9b211610089578063dd62ed3e11610063578063dd62ed3e1461053f578063e79b886e1461057b578063f2fde38b146105a5578063f85864af146105cd5761018b565b8063b2d1c9b2146104d7578063b682a080146104ed578063bf474bed146105155761018b565b8063715018a6146103cd578063768dc710146103e35780638da5cb5b1461041f57806395d89b4114610449578063983e915814610473578063a9059cbb1461049b5761018b565b80632006fbc31161013d578063313ce56711610117578063313ce5671461032757806351bc3c85146103515780636ea751c01461036757806370a08231146103915761018b565b80632006fbc31461029757806323b872dd146102c157806328632d68146102fd5761018b565b8063034832bd1461018f57806306fdde03146101b7578063095ea7b3146101e15780630c24a5761461021d578063131e00b71461024557806318160ddd1461026d5761018b565b3661018b57005b5f80fd5b34801561019a575f80fd5b506101b560048036038101906101b09190611cc4565b6105f7565b005b3480156101c2575f80fd5b506101cb61064b565b6040516101d89190611d5f565b60405180910390f35b3480156101ec575f80fd5b5061020760048036038101906102029190611dd9565b610688565b6040516102149190611e31565b60405180910390f35b348015610228575f80fd5b50610243600480360381019061023e9190611e4a565b6106a5565b005b348015610250575f80fd5b5061026b60048036038101906102669190611e88565b6106bf565b005b348015610278575f80fd5b5061028161071f565b60405161028e9190611ec2565b60405180910390f35b3480156102a2575f80fd5b506102ab610741565b6040516102b89190611ec2565b60405180910390f35b3480156102cc575f80fd5b506102e760048036038101906102e29190611edb565b610747565b6040516102f49190611e31565b60405180910390f35b348015610308575f80fd5b5061031161081b565b60405161031e9190611e31565b60405180910390f35b348015610332575f80fd5b5061033b61082d565b6040516103489190611f46565b60405180910390f35b34801561035c575f80fd5b50610365610835565b005b348015610372575f80fd5b5061037b6108cc565b6040516103889190611f7f565b60405180910390f35b34801561039c575f80fd5b506103b760048036038101906103b29190611e88565b6108f1565b6040516103c49190611ec2565b60405180910390f35b3480156103d8575f80fd5b506103e1610937565b005b3480156103ee575f80fd5b5061040960048036038101906104049190611e88565b61094a565b6040516104169190611e31565b60405180910390f35b34801561042a575f80fd5b50610433610967565b6040516104409190611fa7565b60405180910390f35b348015610454575f80fd5b5061045d61098e565b60405161046a9190611d5f565b60405180910390f35b34801561047e575f80fd5b5061049960048036038101906104949190611e88565b6109cb565b005b3480156104a6575f80fd5b506104c160048036038101906104bc9190611dd9565b610a2a565b6040516104ce9190611e31565b60405180910390f35b3480156104e2575f80fd5b506104eb610a47565b005b3480156104f8575f80fd5b50610513600480360381019061050e9190611cc4565b610ac0565b005b348015610520575f80fd5b50610529610b2e565b6040516105369190611ec2565b60405180910390f35b34801561054a575f80fd5b5061056560048036038101906105609190611fc0565b610b34565b6040516105729190611ec2565b60405180910390f35b348015610586575f80fd5b5061058f610bb6565b60405161059c9190611ec2565b60405180910390f35b3480156105b0575f80fd5b506105cb60048036038101906105c69190611e88565b610bbc565b005b3480156105d8575f80fd5b506105e1610c3e565b6040516105ee9190611ec2565b60405180910390f35b6105ff610c44565b5f8111610641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063890612048565b60405180910390fd5b8060078190555050565b60606040518060400160405280600781526020017f4c6f6f7047505400000000000000000000000000000000000000000000000000815250905090565b5f61069b610694610cc2565b8484610cc9565b6001905092915050565b6106ad610c44565b81600581905550806006819055505050565b6106c7610c44565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f6012600a61072e91906121c2565b6298968061073c919061220c565b905090565b60055481565b5f610753848484610e8c565b6108108461075f610cc2565b61080b85604051806060016040528060288152602001612bb46028913960025f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6107c2610cc2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461162a9092919063ffffffff16565b610cc9565b600190509392505050565b60095f9054906101000a900460ff1681565b5f6012905090565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610875610cc2565b73ffffffffffffffffffffffffffffffffffffffff1614610894575f80fd5b5f61089e306108f1565b90505f8111156108b2576108b18161168c565b5b5f4790505f8111156108c8576108c781611903565b5b5050565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61093f610c44565b6109485f611a05565b565b6003602052805f5260405f205f915054906101000a900460ff1681565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600481526020017f4c47505400000000000000000000000000000000000000000000000000000000815250905090565b6109d3610c44565b5f60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f610a3d610a36610cc2565b8484610e8c565b6001905092915050565b610a4f610c44565b6001151560095f9054906101000a900460ff16151503610aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9b90612297565b60405180910390fd5b600160095f6101000a81548160ff021916908315150217905550565b610ac8610c44565b610ae360c8610ad561071f565b611ac690919063ffffffff16565b8111610b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1b906122ff565b60405180910390fd5b8060088190555050565b60075481565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60065481565b610bc4610c44565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c299061238d565b60405180910390fd5b610c3b81611a05565b50565b60085481565b610c4c610cc2565b73ffffffffffffffffffffffffffffffffffffffff16610c6a610967565b73ffffffffffffffffffffffffffffffffffffffff1614610cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb7906123f5565b60405180910390fd5b565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2e90612483565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9c90612511565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610e7f9190611ec2565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef19061259f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5f9061262d565b60405180910390fd5b5f8111610faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa1906126bb565b60405180910390fd5b5f60035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015611049575060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561137a5760095f9054906101000a900460ff1661109c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109390612749565b60405180910390fd5b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461114957600854826110fd856108f1565b6111079190612767565b1115611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f906127e4565b60405180910390fd5b5b5f600554111561122e57600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156111fd5750600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b1561122d5761122a606461121c60055485611b0f90919063ffffffff16565b611ac690919063ffffffff16565b90505b5b5f60065411156112b857600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112b7576112b460646112a660065485611b0f90919063ffffffff16565b611ac690919063ffffffff16565b90505b5b5f6112c2306108f1565b9050600a60149054906101000a900460ff1615801561132d5750600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80156113455750600a60159054906101000a900460ff165b8015611352575060075481115b15611378576113608161168c565b5f4790505f8111156113765761137547611903565b5b505b505b5f811115611479576113d28160015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611b8690919063ffffffff16565b60015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516114709190611ec2565b60405180910390a35b6114c98260015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611be390919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555061156c6115208284611be390919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611b8690919063ffffffff16565b60015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61160f8486611be390919063ffffffff16565b60405161161c9190611ec2565b60405180910390a350505050565b5f838311158290611671576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116689190611d5f565b60405180910390fd5b505f838561167f9190612802565b9050809150509392505050565b6001600a60146101000a81548160ff0219169083151502179055505f8103156118e6575f600267ffffffffffffffff8111156116cb576116ca612835565b5b6040519080825280602002602001820160405280156116f95781602001602082028036833780820191505090505b50905030815f815181106117105761170f612862565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d991906128a3565b816001815181106117ed576117ec612862565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061185430600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610cc9565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b81526004016118b79594939291906129c7565b5f604051808303815f87803b1580156118ce575f80fd5b505af11580156118e0573d5f803e3d5ffd5b50505050505b5f600a60146101000a81548160ff02191690831515021790555050565b5f60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161194990612a4c565b5f6040518083038185875af1925050503d805f8114611983576040519150601f19603f3d011682016040523d82523d5f602084013e611988565b606091505b5050905080611a015760045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f0759dac7fa668d044a7de2b7fd31ccc6f577fdf83cd0441d6ebaba277754db57836040516119f89190611ec2565b60405180910390a25b5050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611b0783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c2c565b905092915050565b5f808303611b1f575f9050611b80565b5f8284611b2c919061220c565b9050828482611b3b9190612a8d565b14611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290612b2d565b60405180910390fd5b809150505b92915050565b5f808284611b949190612767565b905083811015611bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd090612b95565b60405180910390fd5b8091505092915050565b5f611c2483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061162a565b905092915050565b5f8083118290611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c699190611d5f565b60405180910390fd5b505f8385611c809190612a8d565b9050809150509392505050565b5f80fd5b5f819050919050565b611ca381611c91565b8114611cad575f80fd5b50565b5f81359050611cbe81611c9a565b92915050565b5f60208284031215611cd957611cd8611c8d565b5b5f611ce684828501611cb0565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611d3182611cef565b611d3b8185611cf9565b9350611d4b818560208601611d09565b611d5481611d17565b840191505092915050565b5f6020820190508181035f830152611d778184611d27565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611da882611d7f565b9050919050565b611db881611d9e565b8114611dc2575f80fd5b50565b5f81359050611dd381611daf565b92915050565b5f8060408385031215611def57611dee611c8d565b5b5f611dfc85828601611dc5565b9250506020611e0d85828601611cb0565b9150509250929050565b5f8115159050919050565b611e2b81611e17565b82525050565b5f602082019050611e445f830184611e22565b92915050565b5f8060408385031215611e6057611e5f611c8d565b5b5f611e6d85828601611cb0565b9250506020611e7e85828601611cb0565b9150509250929050565b5f60208284031215611e9d57611e9c611c8d565b5b5f611eaa84828501611dc5565b91505092915050565b611ebc81611c91565b82525050565b5f602082019050611ed55f830184611eb3565b92915050565b5f805f60608486031215611ef257611ef1611c8d565b5b5f611eff86828701611dc5565b9350506020611f1086828701611dc5565b9250506040611f2186828701611cb0565b9150509250925092565b5f60ff82169050919050565b611f4081611f2b565b82525050565b5f602082019050611f595f830184611f37565b92915050565b5f611f6982611d7f565b9050919050565b611f7981611f5f565b82525050565b5f602082019050611f925f830184611f70565b92915050565b611fa181611d9e565b82525050565b5f602082019050611fba5f830184611f98565b92915050565b5f8060408385031215611fd657611fd5611c8d565b5b5f611fe385828601611dc5565b9250506020611ff485828601611dc5565b9150509250929050565b7f5468726573686f6c642063616e6e6f74206265203000000000000000000000005f82015250565b5f612032601583611cf9565b915061203d82611ffe565b602082019050919050565b5f6020820190508181035f83015261205f81612026565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156120e8578086048111156120c4576120c3612066565b5b60018516156120d35780820291505b80810290506120e185612093565b94506120a8565b94509492505050565b5f8261210057600190506121bb565b8161210d575f90506121bb565b8160018114612123576002811461212d5761215c565b60019150506121bb565b60ff84111561213f5761213e612066565b5b8360020a91508482111561215657612155612066565b5b506121bb565b5060208310610133831016604e8410600b84101617156121915782820a90508381111561218c5761218b612066565b5b6121bb565b61219e848484600161209f565b925090508184048111156121b5576121b4612066565b5b81810290505b9392505050565b5f6121cc82611c91565b91506121d783611f2b565b92506122047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846120f1565b905092915050565b5f61221682611c91565b915061222183611c91565b925082820261222f81611c91565b9150828204841483151761224657612245612066565b5b5092915050565b7f4c6f6f702074726164696e6720756e6c6f636b656420616c72656164790000005f82015250565b5f612281601d83611cf9565b915061228c8261224d565b602082019050919050565b5f6020820190508181035f8301526122ae81612275565b9050919050565b7f4c696d69742063616e6e6f7420626520746f6f206c6f770000000000000000005f82015250565b5f6122e9601783611cf9565b91506122f4826122b5565b602082019050919050565b5f6020820190508181035f830152612316816122dd565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612377602683611cf9565b91506123828261231d565b604082019050919050565b5f6020820190508181035f8301526123a48161236b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6123df602083611cf9565b91506123ea826123ab565b602082019050919050565b5f6020820190508181035f83015261240c816123d3565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61246d602483611cf9565b915061247882612413565b604082019050919050565b5f6020820190508181035f83015261249a81612461565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6124fb602283611cf9565b9150612506826124a1565b604082019050919050565b5f6020820190508181035f830152612528816124ef565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f612589602583611cf9565b91506125948261252f565b604082019050919050565b5f6020820190508181035f8301526125b68161257d565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f612617602383611cf9565b9150612622826125bd565b604082019050919050565b5f6020820190508181035f8301526126448161260b565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b5f6126a5602983611cf9565b91506126b08261264b565b604082019050919050565b5f6020820190508181035f8301526126d281612699565b9050919050565b7f4c6f6f702074726164696e67206e6565647320746f20626520756e6c6f636b655f8201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b5f612733602183611cf9565b915061273e826126d9565b604082019050919050565b5f6020820190508181035f83015261276081612727565b9050919050565b5f61277182611c91565b915061277c83611c91565b925082820190508082111561279457612793612066565b5b92915050565b7f43616e7420657863656564206d6178206c6f6f7073207065722077616c6c65745f82015250565b5f6127ce602083611cf9565b91506127d98261279a565b602082019050919050565b5f6020820190508181035f8301526127fb816127c2565b9050919050565b5f61280c82611c91565b915061281783611c91565b925082820390508181111561282f5761282e612066565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f8151905061289d81611daf565b92915050565b5f602082840312156128b8576128b7611c8d565b5b5f6128c58482850161288f565b91505092915050565b5f819050919050565b5f819050919050565b5f6128fa6128f56128f0846128ce565b6128d7565b611c91565b9050919050565b61290a816128e0565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61294281611d9e565b82525050565b5f6129538383612939565b60208301905092915050565b5f602082019050919050565b5f61297582612910565b61297f818561291a565b935061298a8361292a565b805f5b838110156129ba5781516129a18882612948565b97506129ac8361295f565b92505060018101905061298d565b5085935050505092915050565b5f60a0820190506129da5f830188611eb3565b6129e76020830187612901565b81810360408301526129f9818661296b565b9050612a086060830185611f98565b612a156080830184611eb3565b9695505050505050565b5f81905092915050565b50565b5f612a375f83612a1f565b9150612a4282612a29565b5f82019050919050565b5f612a5682612a2c565b9150819050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612a9782611c91565b9150612aa283611c91565b925082612ab257612ab1612a60565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f612b17602183611cf9565b9150612b2282612abd565b604082019050919050565b5f6020820190508181035f830152612b4481612b0b565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f612b7f601b83611cf9565b9150612b8a82612b4b565b602082019050919050565b5f6020820190508181035f830152612bac81612b73565b905091905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212206590cc627610526022c143205c3c5bb1f9b6479addedce2f4b56513e1461ba5b64736f6c634300081a0033
Verified Source Code Partial Match
Compiler: v0.8.26+commit.8a97fa7a
EVM: cancun
Optimization: No
LoopGPT.sol 383 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;
/*
888888 88 88 888888 888888 88 88 888888 88 88 88""Yb 888888 dP"Yb 888888 db 88
88 88 88 88__ 88__ 88 88 88 88 88 88__dP 88__ dP Yb 88__ dPYb 88
88 888888 88"" 88"" Y8 8P 88 Y8 8P 88"Yb 88"" Yb dP 88"" dP==Yb 88
88 88 88 888888 88 `YbodP' 88 `YbodP' 88 Yb 888888 YbodP 88 dP Yb 88
Twitter: http://x.com/LoopGPT
Telegram: http://t.me/LoopGPTAI
Website: http://loopgpt.org/
*/
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;
}
}
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
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 LoopGPT is Context, IERC20, Ownable {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
mapping (address => bool) public _isExcludedFromFee;
address payable public _neuroBank = payable(0x3C1A25894e982d294Ec7F7A87D0058AF7453780B);
uint256 public _loopBuyTax = 0;
uint256 public _loopSellTax = 0;
uint8 private constant _decimals = 18;
uint256 private constant _tTotal = 10000000 * 10**_decimals;
string private constant _name = unicode"LoopGPT";
string private constant _symbol = unicode"LGPT";
uint256 public _taxSwapThreshold= 100000 * 10**_decimals;
uint256 public maxLoopsPerWallet = 2000000 * 10 ** decimals();
bool public loopTradingUnlocked = false;
IUniswapV2Router02 private uniswapV2Router;
address private uniswapV2Pair;
bool private inSwap = false;
bool private swapEnabled = true;
modifier lockTheSwap {
inSwap = true;
_;
inSwap = false;
}
event TaxWalletPaymentRevert(address indexed taxWallet, uint256 amount);
constructor () {
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // mainnet router address
// IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0xD99D1c33F9fC3444f8101754aBC46c52416550D1); // test router address
// Create a uniswap pair for this new token
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
.createPair(address(this), _uniswapV2Router.WETH());
// set the rest of the contract variables
uniswapV2Router = _uniswapV2Router;
_balances[_msgSender()] = _tTotal;
_isExcludedFromFee[owner()] = true;
_isExcludedFromFee[address(this)] = true;
_isExcludedFromFee[_neuroBank] = true;
emit Transfer(address(0), _msgSender(), _tTotal);
}
function name() public pure returns (string memory) {
return _name;
}
function symbol() public pure returns (string memory) {
return _symbol;
}
function decimals() public pure returns (uint8) {
return _decimals;
}
function totalSupply() public pure 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 (!_isExcludedFromFee[from] && !_isExcludedFromFee[to]) {
require(loopTradingUnlocked, "Loop trading needs to be unlocked");
if(to != uniswapV2Pair){
require(balanceOf(to) + amount <= maxLoopsPerWallet, "Cant exceed max loops per wallet");
}
if(_loopBuyTax > 0) {
if (from == uniswapV2Pair && to != address(uniswapV2Router)) {
taxAmount = amount.mul(_loopBuyTax).div(100);
}
}
if(_loopSellTax > 0) {
if(to == uniswapV2Pair){
taxAmount = amount.mul(_loopSellTax).div(100);
}
}
uint256 contractTokenBalance = balanceOf(address(this));
if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold) {
swapTokensForEth(contractTokenBalance);
uint256 contractETHBalance = address(this).balance;
if(contractETHBalance > 0) {
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 {
if(tokenAmount==0){return;}
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 sendETHToFee(uint256 amount) private {
(bool callSuccess, ) = payable(_neuroBank).call{value: amount}("");
if (!callSuccess) {
// Log the failure but do not revert the transaction
emit TaxWalletPaymentRevert(_neuroBank, amount);
}
}
receive() external payable {}
function unlockLoopTrading() public onlyOwner {
require(loopTradingUnlocked != true, "Loop trading unlocked already");
loopTradingUnlocked = true;
}
function updateTaxSwapThreshold(uint256 _taxLimit) public onlyOwner{
require(_taxLimit > 0, "Threshold cannot be 0");
_taxSwapThreshold = _taxLimit;
}
function modifyLoopAntiWhale(uint256 _maxLimit) public onlyOwner{
require(_maxLimit > totalSupply().div(200),"Limit cannot be too low");
maxLoopsPerWallet = _maxLimit;
}
function excludeFromTaxes(address account) public onlyOwner {
_isExcludedFromFee[account] = true;
}
function includeInTaxes(address account) public onlyOwner {
_isExcludedFromFee[account] = false;
}
function configureLoopTaxes(uint256 buyFee, uint256 sellFee) public onlyOwner {
_loopBuyTax = buyFee;
_loopSellTax = sellFee;
}
function manualSwap() external {
require(_msgSender()==_neuroBank);
uint256 tokenBalance=balanceOf(address(this));
if(tokenBalance>0){
swapTokensForEth(tokenBalance);
}
uint256 ethBalance=address(this).balance;
if(ethBalance>0){
sendETHToFee(ethBalance);
}
}
}
Read Contract
_isExcludedFromFee 0x768dc710 → bool
_loopBuyTax 0x2006fbc3 → uint256
_loopSellTax 0xe79b886e → uint256
_neuroBank 0x6ea751c0 → address
_taxSwapThreshold 0xbf474bed → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
loopTradingUnlocked 0x28632d68 → bool
maxLoopsPerWallet 0xf85864af → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 12 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
configureLoopTaxes 0x0c24a576
uint256 buyFee
uint256 sellFee
excludeFromTaxes 0x131e00b7
address account
includeInTaxes 0x983e9158
address account
manualSwap 0x51bc3c85
No parameters
modifyLoopAntiWhale 0xb682a080
uint256 _maxLimit
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
unlockLoopTrading 0xb2d1c9b2
No parameters
updateTaxSwapThreshold 0x034832bd
uint256 _taxLimit
Recent Transactions
No transactions found for this address