Address Contract Verified
Address
0x0489A0377FD50bebDad3431CA428c9d34cfB8eB3
Balance
0 ETH
Nonce
1
Code Size
10078 bytes
Creator
0x785f84E8...6801 at tx 0xaac281db...c4070d
Indexed Transactions
0
Contract Bytecode
10078 bytes
0x60806040526004361061019b575f3560e01c80638da5cb5b116100eb578063a9059cbb11610089578063d944392311610063578063d944392314610594578063dd62ed3e146105be578063e086e5ec146105fa578063f2fde38b146106105761019b565b8063a9059cbb14610512578063bcfaa79d1461054e578063d63e63a01461056a5761019b565b80639b19251a116100c55780639b19251a1461045c5780639fd7b39b14610498578063a0821be3146104ae578063a6177139146104ea5761019b565b80638da5cb5b146103f257806391dd80d21461041c57806395d89b41146104325761019b565b80635fc3ea0b1161015857806370a082311161013257806370a082311461034e578063715018a61461038a5780637d549e99146103a05780638ab1d681146103ca5761019b565b80635fc3ea0b146102d257806365fda1f7146102fa5780636e1682a0146103245761019b565b806306fdde031461019f578063095ea7b3146101c9578063145381281461020557806318160ddd1461024257806323b872dd1461026c578063313ce567146102a8575b5f80fd5b3480156101aa575f80fd5b506101b3610638565b6040516101c09190611deb565b60405180910390f35b3480156101d4575f80fd5b506101ef60048036038101906101ea9190611ea0565b6106c8565b6040516101fc9190611ef8565b60405180910390f35b348015610210575f80fd5b5061022b60048036038101906102269190611ea0565b6106ea565b604051610239929190611f20565b60405180910390f35b34801561024d575f80fd5b50610256610724565b6040516102639190611f47565b60405180910390f35b348015610277575f80fd5b50610292600480360381019061028d9190611f60565b61072d565b60405161029f9190611ef8565b60405180910390f35b3480156102b3575f80fd5b506102bc6107ef565b6040516102c99190611fcb565b60405180910390f35b3480156102dd575f80fd5b506102f860048036038101906102f39190611fe4565b6107f7565b005b348015610305575f80fd5b5061030e610880565b60405161031b9190611f47565b60405180910390f35b34801561032f575f80fd5b50610338610886565b6040516103459190611f47565b60405180910390f35b348015610359575f80fd5b50610374600480360381019061036f9190612034565b61088c565b6040516103819190611f47565b60405180910390f35b348015610395575f80fd5b5061039e6108d1565b005b3480156103ab575f80fd5b506103b46108e4565b6040516103c19190611f47565b60405180910390f35b3480156103d5575f80fd5b506103f060048036038101906103eb9190612034565b6108ea565b005b3480156103fd575f80fd5b50610406610949565b604051610413919061206e565b60405180910390f35b348015610427575f80fd5b50610430610971565b005b34801561043d575f80fd5b50610446610a35565b6040516104539190611deb565b60405180910390f35b348015610467575f80fd5b50610482600480360381019061047d9190612034565b610ac5565b60405161048f9190611ef8565b60405180910390f35b3480156104a3575f80fd5b506104ac610ae2565b005b3480156104b9575f80fd5b506104d460048036038101906104cf9190612034565b610b6f565b6040516104e19190611f47565b60405180910390f35b3480156104f5575f80fd5b50610510600480360381019061050b91906120e8565b610c8a565b005b34801561051d575f80fd5b5061053860048036038101906105339190611ea0565b610d81565b6040516105459190611ef8565b60405180910390f35b61056860048036038101906105639190612034565b610e3e565b005b348015610575575f80fd5b5061057e61109f565b60405161058b9190611ef8565b60405180910390f35b34801561059f575f80fd5b506105a86110b2565b6040516105b59190611ef8565b60405180910390f35b3480156105c9575f80fd5b506105e460048036038101906105df9190612133565b6110c5565b6040516105f19190611f47565b60405180910390f35b348015610605575f80fd5b5061060e611147565b005b34801561061b575f80fd5b5061063660048036038101906106319190612034565b6111ff565b005b6060600380546106479061219e565b80601f01602080910402602001604051908101604052809291908181526020018280546106739061219e565b80156106be5780601f10610695576101008083540402835291602001916106be565b820191905f5260205f20905b8154815290600101906020018083116106a157829003601f168201915b5050505050905090565b5f806106d2611283565b90506106df81858561128a565b600191505092915050565b6009602052815f5260405f208181548110610703575f80fd5b905f5260205f2090600202015f9150915050805f0154908060010154905082565b5f600254905090565b5f83600560149054906101000a900460ff1615801561077f575061074f610949565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b156107b6576040517f9ee2194000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6107bf611283565b90506107cc86868661129c565b6107d78682866113e7565b6107e2868686611479565b6001925050509392505050565b5f6012905090565b6107ff611569565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b815260040161083a9291906121ce565b6020604051808303815f875af1158015610856573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087a919061221f565b50505050565b60085481565b60065481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6108d9611569565b6108e25f6115f0565b565b60075481565b6108f2611569565b5f600a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610979611569565b600560159054906101000a900460ff166109c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bf906122ba565b60405180910390fd5b600560149054906101000a900460ff1615610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90612322565b60405180910390fd5b6001600560146101000a81548160ff021916908315150217905550565b606060048054610a449061219e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a709061219e565b8015610abb5780601f10610a9257610100808354040283529160200191610abb565b820191905f5260205f20905b815481529060010190602001808311610a9e57829003601f168201915b5050505050905090565b600a602052805f5260405f205f915054906101000a900460ff1681565b610aea611569565b600560159054906101000a900460ff1615610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b319061238a565b60405180910390fd5b6001600560156101000a81548160ff0219169083151502179055505f6007549050610b6c610b66610949565b826116b3565b50565b5f80610b7a8361088c565b90505f4290505f5b60095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050811015610c7f575f60095f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208281548110610c1a57610c196123a8565b5b905f5260205f2090600202016040518060400160405290815f82015481526020016001820154815250509050826008548260200151610c599190612402565b1115610c7157805f015184610c6e9190612435565b93505b508080600101915050610b82565b508192505050919050565b610c92611569565b5f5b82829050811015610d7c575f838383818110610cb357610cb26123a8565b5b9050602002016020810190610cc89190612034565b9050600a5f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610d6e576001600a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505b508080600101915050610c94565b505050565b5f610d8a611283565b600560149054906101000a900460ff16158015610dda5750610daa610949565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b15610e11576040517f9ee2194000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f610e1a611283565b9050610e2781868661129c565b610e32818686611479565b60019250505092915050565b600560159054906101000a900460ff1615610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e859061238a565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef3906124b2565b60405180910390fd5b5f3411610f3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f359061251a565b60405180910390fd5b5f633b9aca0034610f4f9190612538565b9050610f5b33826116b3565b8060075f828254610f6c9190612402565b925050819055503460065f828254610f849190612402565b925050819055505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480610ff057503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561100057610ffd610949565b91505b5f60646005600a846110129190612538565b61101c9190612402565b61102691906125a6565b905061103283826116b3565b8060075f8282546110439190612402565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f8fafebcaf9d154343dad25669bfa277f4fbacd7ac6b0c4fed522580e040a0f333484604051611092929190611f20565b60405180910390a2505050565b600560159054906101000a900460ff1681565b600560149054906101000a900460ff1681565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61114f611569565b5f4790505f3373ffffffffffffffffffffffffffffffffffffffff168260405161117890612603565b5f6040518083038185875af1925050503d805f81146111b2576040519150601f19603f3d011682016040523d82523d5f602084013e6111b7565b606091505b50509050806111fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f290612661565b60405180910390fd5b5050565b611207611569565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611277575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161126e919061206e565b60405180910390fd5b611280816115f0565b50565b5f33905090565b6112978383836001611732565b505050565b600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611389576112f383611901565b600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615801561135157508061134f84610b6f565b105b15611388576040517f998d019b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166113e2576113e18282611a84565b5b505050565b5f6113f284846110c5565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146114735781811015611464578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161145b9392919061267f565b60405180910390fd5b61147284848484035f611732565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114e9575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016114e0919061206e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611559575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611550919061206e565b60405180910390fd5b611564838383611b62565b505050565b611571611283565b73ffffffffffffffffffffffffffffffffffffffff1661158f610949565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576115b2611283565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016115e5919061206e565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611723575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161171a919061206e565b60405180910390fd5b61172e5f8383611b62565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036117a2575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401611799919061206e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611812575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401611809919061206e565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080156118fb578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516118f29190611f47565b60405180910390a35b50505050565b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f818054905090505f5b818110801561198957504260085484838154811061196c5761196b6123a8565b5b905f5260205f209060020201600101546119869190612402565b11155b156119a1578080611999906126b4565b91505061194b565b5f811115611a7e575f8190505b82811015611a21578381815481106119c9576119c86123a8565b5b905f5260205f2090600202018483836119e29190612435565b815481106119f3576119f26123a8565b5b905f5260205f2090600202015f820154815f01556001820154816001015590505080806001019150506119ae565b505f8183611a2f9190612435565b90505b82811015611a7c5783805480611a4b57611a4a6126fb565b5b600190038181905f5260205f2090600202015f8082015f9055600182015f9055505090558080600101915050611a32565b505b50505050565b60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20604051806040016040528083815260200142815250908060018154018082558091505060019003905f5260205f2090600202015f909190919091505f820151815f01556020820151816001015550508173ffffffffffffffffffffffffffffffffffffffff167f59a1d9801932a1fc3b1a37608c0121b7eaea4380b37ada7c30fe503c4c9e5bf582604051611b569190611f47565b60405180910390a25050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611bb2578060025f828254611ba69190612402565b92505081905550611c80565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611c3b578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611c329392919061267f565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611cc7578060025f8282540392505081905550611d11565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d6e9190611f47565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611dbd82611d7b565b611dc78185611d85565b9350611dd7818560208601611d95565b611de081611da3565b840191505092915050565b5f6020820190508181035f830152611e038184611db3565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611e3c82611e13565b9050919050565b611e4c81611e32565b8114611e56575f80fd5b50565b5f81359050611e6781611e43565b92915050565b5f819050919050565b611e7f81611e6d565b8114611e89575f80fd5b50565b5f81359050611e9a81611e76565b92915050565b5f8060408385031215611eb657611eb5611e0b565b5b5f611ec385828601611e59565b9250506020611ed485828601611e8c565b9150509250929050565b5f8115159050919050565b611ef281611ede565b82525050565b5f602082019050611f0b5f830184611ee9565b92915050565b611f1a81611e6d565b82525050565b5f604082019050611f335f830185611f11565b611f406020830184611f11565b9392505050565b5f602082019050611f5a5f830184611f11565b92915050565b5f805f60608486031215611f7757611f76611e0b565b5b5f611f8486828701611e59565b9350506020611f9586828701611e59565b9250506040611fa686828701611e8c565b9150509250925092565b5f60ff82169050919050565b611fc581611fb0565b82525050565b5f602082019050611fde5f830184611fbc565b92915050565b5f805f60608486031215611ffb57611ffa611e0b565b5b5f61200886828701611e59565b935050602061201986828701611e8c565b925050604061202a86828701611e59565b9150509250925092565b5f6020828403121561204957612048611e0b565b5b5f61205684828501611e59565b91505092915050565b61206881611e32565b82525050565b5f6020820190506120815f83018461205f565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126120a8576120a7612087565b5b8235905067ffffffffffffffff8111156120c5576120c461208b565b5b6020830191508360208202830111156120e1576120e061208f565b5b9250929050565b5f80602083850312156120fe576120fd611e0b565b5b5f83013567ffffffffffffffff81111561211b5761211a611e0f565b5b61212785828601612093565b92509250509250929050565b5f806040838503121561214957612148611e0b565b5b5f61215685828601611e59565b925050602061216785828601611e59565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806121b557607f821691505b6020821081036121c8576121c7612171565b5b50919050565b5f6040820190506121e15f83018561205f565b6121ee6020830184611f11565b9392505050565b6121fe81611ede565b8114612208575f80fd5b50565b5f81519050612219816121f5565b92915050565b5f6020828403121561223457612233611e0b565b5b5f6122418482850161220b565b91505092915050565b7f49444f206d75737420656e64206265666f726520616464696e67206c697175695f8201527f6469747900000000000000000000000000000000000000000000000000000000602082015250565b5f6122a4602483611d85565b91506122af8261224a565b604082019050919050565b5f6020820190508181035f8301526122d181612298565b9050919050565b7f4c697175696469747920616c72656164792061646465640000000000000000005f82015250565b5f61230c601783611d85565b9150612317826122d8565b602082019050919050565b5f6020820190508181035f83015261233981612300565b9050919050565b7f49444f2068617320656e646564000000000000000000000000000000000000005f82015250565b5f612374600d83611d85565b915061237f82612340565b602082019050919050565b5f6020820190508181035f8301526123a181612368565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61240c82611e6d565b915061241783611e6d565b925082820190508082111561242f5761242e6123d5565b5b92915050565b5f61243f82611e6d565b915061244a83611e6d565b9250828203905081811115612462576124616123d5565b5b92915050565b7f4f6e6c7920454f412063616e2063616c6c20746869732066756e6374696f6e005f82015250565b5f61249c601f83611d85565b91506124a782612468565b602082019050919050565b5f6020820190508181035f8301526124c981612490565b9050919050565b7f4d7573742073656e642045544820746f20707572636861736520746f6b656e735f82015250565b5f612504602083611d85565b915061250f826124d0565b602082019050919050565b5f6020820190508181035f830152612531816124f8565b9050919050565b5f61254282611e6d565b915061254d83611e6d565b925082820261255b81611e6d565b91508282048414831517612572576125716123d5565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6125b082611e6d565b91506125bb83611e6d565b9250826125cb576125ca612579565b5b828204905092915050565b5f81905092915050565b50565b5f6125ee5f836125d6565b91506125f9826125e0565b5f82019050919050565b5f61260d826125e3565b9150819050919050565b7f4661696c656420746f2073656e642045746865720000000000000000000000005f82015250565b5f61264b601483611d85565b915061265682612617565b602082019050919050565b5f6020820190508181035f8301526126788161263f565b9050919050565b5f6060820190506126925f83018661205f565b61269f6020830185611f11565b6126ac6040830184611f11565b949350505050565b5f6126be82611e6d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036126f0576126ef6123d5565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffdfea264697066735822122023f1efd2d3d8c1de64e4eb1f619e0862b10569ed41847386f0407d48ee373b6464736f6c634300081a0033
Verified Source Code Full Match
Compiler: v0.8.26+commit.8a97fa7a
EVM: cancun
Optimization: No
Bette.sol 172 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
error CooldownPeriodActive();
error LiquidityNotAdded();
struct Transaction {
uint256 amount;
uint256 timestamp;
}
contract Bette is ERC20, Ownable {
bool public liquidityAdded = false;
bool public idoEnded = false;
uint256 public totalETHReceived;
uint256 public totalTokensMinted;
uint256 public transactionCooldown = 30 minutes;
mapping(address => Transaction[]) public transactions;
mapping(address => bool) public whitelist;
event TokensPurchased(address indexed buyer, uint256 ethAmount, uint256 tokenAmount);
event TransferRecorded(address indexed sender, uint256 value);
modifier onlyDuringIDO() {
require(!idoEnded, "IDO has ended");
_;
}
modifier onlyAfterLiquidityAddedOrOwner(address from) {
if (!liquidityAdded && from != owner()) revert LiquidityNotAdded();
_;
}
modifier onlyEOA() {
require(tx.origin == msg.sender, "Only EOA can call this function");
_;
}
constructor() ERC20("Bette", "Bette") Ownable(msg.sender) {
}
// IDO
function mintTokens(address _referrer) external payable onlyDuringIDO onlyEOA {
require(msg.value > 0, "Must send ETH to purchase tokens");
uint256 tokenAmount = msg.value * 1 gwei;
_mint(msg.sender, tokenAmount);
totalTokensMinted += tokenAmount;
totalETHReceived += msg.value;
if (_referrer == address(0) || _referrer == msg.sender) {
_referrer = owner();
}
uint256 reward = (tokenAmount * 10 + 5) / 100;
_mint(_referrer, reward);
totalTokensMinted += reward;
emit TokensPurchased(msg.sender, msg.value, tokenAmount);
}
function endIDOAndMintLPTokens() external onlyOwner onlyDuringIDO {
idoEnded = true;
uint256 lpTokens = totalTokensMinted;
_mint(owner(), lpTokens);
}
function confirmLiquidityAdded() external onlyOwner {
require(idoEnded, "IDO must end before adding liquidity");
require(!liquidityAdded, "Liquidity already added");
liquidityAdded = true;
}
function addToWhitelistBatch(address[] calldata addresses) external onlyOwner {
for (uint256 i = 0; i < addresses.length; i++) {
address addr = addresses[i];
if (!whitelist[addr]) {
whitelist[addr] = true;
}
}
}
function removeFromWhitelist(address _address) external onlyOwner {
whitelist[_address] = false;
}
function withdrawERC20(address tokenAddress, uint256 amount, address to) external onlyOwner {
IERC20(tokenAddress).transfer(to, amount);
}
function withdrawETH() external onlyOwner {
uint256 amount = address(this).balance;
(bool success, ) = msg.sender.call{value: amount}("");
require(success, "Failed to send Ether");
}
function transfer(address to, uint256 value) public override onlyAfterLiquidityAddedOrOwner(_msgSender()) returns (bool) {
address sender = _msgSender();
_beforeTokenTransfer(sender, to, value);
super._transfer(sender, to, value);
return true;
}
function transferFrom(address from, address to, uint256 value) public override onlyAfterLiquidityAddedOrOwner(from) returns (bool) {
address spender = _msgSender();
_beforeTokenTransfer(from, to, value);
super._spendAllowance(from, spender, value);
super._transfer(from, to, value);
return true;
}
function availableBalance(address user) public view returns (uint256) {
uint256 totalAvailable = balanceOf(user);
uint256 currentTime = block.timestamp;
for (uint256 i = 0; i < transactions[user].length; i++) {
Transaction memory txRecord = transactions[user][i];
if (txRecord.timestamp + transactionCooldown > currentTime) {
totalAvailable -= txRecord.amount;
}
}
return totalAvailable;
}
function _beforeTokenTransfer(address from, address to, uint256 value) internal {
if (!whitelist[from]) {
_cleanupTransactions(from);
if (!whitelist[from] && availableBalance(from) < value) revert CooldownPeriodActive();
}
if (!whitelist[to]) {
_recordTransaction(to, value);
}
}
function _recordTransaction(address user, uint256 value) internal {
transactions[user].push(Transaction(value, block.timestamp));
emit TransferRecorded(user, value);
}
function _cleanupTransactions(address user) internal {
Transaction[] storage userTxs = transactions[user];
uint256 length = userTxs.length;
uint256 i;
while (i < length && userTxs[i].timestamp + transactionCooldown <= block.timestamp) {
i++;
}
if (i > 0) {
for (uint256 j = i; j < length; j++) {
userTxs[j - i] = userTxs[j];
}
for (uint256 k = length - i; k < length; k++) {
userTxs.pop();
}
}
}
}
Ownable.sol 100 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @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 {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_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);
}
}
ERC20.sol 312 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC-20
* applications.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Skips emitting an {Approval} event indicating an allowance update. This is not
* required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
*
* ```solidity
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}
draft-IERC6093.sol 161 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC-721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC-1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}
Context.sol 28 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}
IERC20Metadata.sol 26 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC-20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
IERC20.sol 79 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}
Read Contract
allowance 0xdd62ed3e → uint256
availableBalance 0xa0821be3 → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
idoEnded 0xd63e63a0 → bool
liquidityAdded 0xd9443923 → bool
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalETHReceived 0x6e1682a0 → uint256
totalSupply 0x18160ddd → uint256
totalTokensMinted 0x7d549e99 → uint256
transactionCooldown 0x65fda1f7 → uint256
transactions 0x14538128 → uint256, uint256
whitelist 0x9b19251a → bool
Write Contract 12 functions
These functions modify contract state and require a wallet transaction to execute.
addToWhitelistBatch 0xa6177139
address[] addresses
approve 0x095ea7b3
address spender
uint256 value
returns: bool
confirmLiquidityAdded 0x91dd80d2
No parameters
endIDOAndMintLPTokens 0x9fd7b39b
No parameters
mintTokens 0xbcfaa79d
address _referrer
removeFromWhitelist 0x8ab1d681
address _address
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address to
uint256 value
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 value
returns: bool
transferOwnership 0xf2fde38b
address newOwner
withdrawERC20 0x5fc3ea0b
address tokenAddress
uint256 amount
address to
withdrawETH 0xe086e5ec
No parameters
Recent Transactions
No transactions found for this address