Address Contract Partially Verified
Address
0x75dFb04Caf41D20E5DB0f859020a586254EAcdDC
Balance
0 ETH
Nonce
1
Code Size
9287 bytes
Creator
0x7eB7A15D...9C53 at tx 0xec430d0d...c749d0
Indexed Transactions
0
Contract Bytecode
9287 bytes
0x608060405260043610610262575f3560e01c8063715018a61161013f578063af2f14ca116100b3578063e5a2ec4911610078578063e5a2ec49146106d9578063eff691721461070d578063f2fde38b1461072c578063f851a4401461074b578063fc0c546a1461076a578063fc81cc8914610789575f5ffd5b8063af2f14ca14610649578063b3f0067414610668578063b9d999bf14610687578063c00c82c21461069b578063c54e44eb146106ba575f5ffd5b80638f283970116101045780638f283970146105b857806391c1494b146105d75780639460ab95146105f5578063a464f44714610614578063a88468e714610628578063acfb235514610630575f5ffd5b8063715018a6146105355780637a08ed481461054957806384345ee3146105685780638980f11f1461057d5780638da5cb5b1461059c575f5ffd5b806343f94440116101d6578063578cd32f1161019b578063578cd32f1461048b5780636031d3be146104aa57806369d89575146104e45780636b870ddf146104f85780636e34d9291461050c5780637107d7a614610520575f5ffd5b806343f94440146103f757806345a6f7cb146104165780634e71d92d1461044457806350c1b9231461045857806354f63ee514610477575f5ffd5b80631e3a5831116102275780631e3a5831146102fa578063333e99db14610325578063393d7de6146103635780633c47681e146103825780633dcc0db2146103a15780634309c214146103c0575f5ffd5b80630412a0b11461027557806308c89b6d1461029d578063153b0d1e146102b257806318fd84d7146102d15780631ad2ad1a146102e6575f5ffd5b366102715761026f6107a8565b005b5f5ffd5b348015610280575f5ffd5b5061028a60085481565b6040519081526020015b60405180910390f35b3480156102a8575f5ffd5b5061028a60035481565b3480156102bd575f5ffd5b5061026f6102cc366004612182565b610b29565b3480156102dc575f5ffd5b5061028a60095481565b3480156102f1575f5ffd5b5061026f610bfd565b348015610305575f5ffd5b5061028a6103143660046121b9565b600e6020525f908152604090205481565b348015610330575f5ffd5b5061035361033f3660046121b9565b600c6020525f908152604090205460ff1681565b6040519015158152602001610294565b34801561036e575f5ffd5b5061028a61037d3660046121d4565b610c66565b34801561038d575f5ffd5b5061026f61039c3660046121b9565b610c8f565b3480156103ac575f5ffd5b5061026f6103bb3660046121b9565b610d63565b3480156103cb575f5ffd5b506103df6103da3660046121d4565b610e28565b6040516001600160a01b039091168152602001610294565b348015610402575f5ffd5b5061026f6104113660046121d4565b610e50565b348015610421575f5ffd5b506103536104303660046121b9565b60116020525f908152604090205460ff1681565b34801561044f575f5ffd5b5061026f610eeb565b348015610463575f5ffd5b5061026f6104723660046121b9565b611192565b348015610482575f5ffd5b5061026f611256565b348015610496575f5ffd5b5061028a6104a53660046121d4565b6112bf565b3480156104b5575f5ffd5b506104c96104c43660046121eb565b611312565b60408051938452602084019290925290820152606001610294565b3480156104ef575f5ffd5b5061026f611350565b348015610503575f5ffd5b5061026f6113a5565b348015610517575f5ffd5b5061028a611409565b34801561052b575f5ffd5b5061028a600b5481565b348015610540575f5ffd5b5061026f61149c565b348015610554575f5ffd5b5061026f6105633660046121b9565b61150d565b348015610573575f5ffd5b5061028a600a5481565b348015610588575f5ffd5b5061026f6105973660046121eb565b6115ae565b3480156105a7575f5ffd5b505f546001600160a01b03166103df565b3480156105c3575f5ffd5b5061026f6105d23660046121b9565b6116d8565b3480156105e2575f5ffd5b50600d5461035390610100900460ff1681565b348015610600575f5ffd5b5061026f61060f3660046121d4565b61179d565b34801561061f575f5ffd5b5061026f6117f7565b61026f6107a8565b34801561063b575f5ffd5b50600d546103539060ff1681565b348015610654575f5ffd5b5061026f6106633660046121d4565b611860565b348015610673575f5ffd5b506004546103df906001600160a01b031681565b348015610692575f5ffd5b5060105461028a565b3480156106a6575f5ffd5b5061026f6106b53660046121d4565b61190d565b3480156106c5575f5ffd5b506006546103df906001600160a01b031681565b3480156106e4575f5ffd5b5061028a6106f33660046121b9565b6001600160a01b03165f908152600f602052604090205490565b348015610718575f5ffd5b506002546103df906001600160a01b031681565b348015610737575f5ffd5b5061026f6107463660046121b9565b611c1c565b348015610756575f5ffd5b506005546103df906001600160a01b031681565b348015610775575f5ffd5b506007546103df906001600160a01b031681565b348015610794575f5ffd5b5061026f6107a33660046121d4565b611d03565b6107b0611d61565b5f34116108045760405162461bcd60e51b815260206004820152601b60248201527f50726573616c65203a20556e7375697461626c6520416d6f756e74000000000060448201526064015b60405180910390fd5b600a5461081c610813346112bf565b60095490611d8b565b111561085d5760405162461bcd60e51b815260206004820152601060248201526f4861726463617020526561636865642160801b60448201526064016107fb565b600d5460ff1615156001146108b45760405162461bcd60e51b815260206004820181905260248201527f50726573616c65203a2050726573616c65206973206e6f74207374617274656460448201526064016107fb565b335f908152600c602052604090205460ff16156108e35760405162461bcd60e51b81526004016107fb90612215565b5f670de0b6b3a76400006108f5611409565b6108ff9034612260565b6109099190612277565b600b5490915061091e64e8d4a5100083612277565b101561096c5760405162461bcd60e51b815260206004820152601e60248201527f43616e277420627579206c657373207468616e204d696e20416d6f756e74000060448201526064016107fb565b6004546040516001600160a01b03909116903480156108fc02915f818181858888f193505050501580156109a2573d5f5f3e3d5ffd5b505f6109ad346112bf565b335f908152600e60205260408120805492935083929091906109d0908490612296565b90915550506009546109e29082611d8b565b6009555f6109f564e8d4a5100084612277565b90508060035f828254610a089190612296565b9091555050335f818152600f602090815260408083208151606081018352428152808401888152818401888152835460018181018655948852868820935160039091029093019283559051928201929092559051600290910155928252601190529081205460ff1615159003610ad457335f818152601160205260408120805460ff191660019081179091556010805491820181559091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b03191690911790555b60408051338152602081018390529081018390524260608201527f1622dbe42d9fff19cd05e6cc7024a485545b3e695ceafc0d09ff7a922ca045699060800160405180910390a1505050610b2760018055565b565b5f546001600160a01b03163314610b525760405162461bcd60e51b81526004016107fb906122a9565b6001600160a01b038216610b9a5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016107fb565b6001600160a01b0382165f818152600c6020908152604091829020805460ff19168515159081179091558251938452908301527f558ddc7901da7a479d966a256ccb9e108173ec7674c5c8a2ee30c5c3fb42387291015b60405180910390a15050565b5f546001600160a01b03163314610c265760405162461bcd60e51b81526004016107fb906122a9565b600d805460ff191690556040515f81527f877f6a55330cd3380d3f298c796ba27b979cc3c9ed832ff87995b90e6d20d29d906020015b60405180910390a1565b5f610c89620f4240610c8384600854611df090919063ffffffff16565b90611e6e565b92915050565b5f546001600160a01b03163314610cb85760405162461bcd60e51b81526004016107fb906122a9565b6001600160a01b038116610d0e5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420726563697069656e7420616464726573730000000000000060448201526064016107fb565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527ffeec756c64d2cd29819a1506560be5b252fe9134578977a2e1ce5a75a4990b8b906020015b60405180910390a150565b5f546001600160a01b03163314610d8c5760405162461bcd60e51b81526004016107fb906122a9565b6001600160a01b038116610dda5760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b60448201526064016107fb565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527f47da22c0331e51a69591b5e2172f95386c96f1c78b7668baeb4feaad35a177a990602001610d58565b60108181548110610e37575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f546001600160a01b03163314610e795760405162461bcd60e51b81526004016107fb906122a9565b5f8111610eb65760405162461bcd60e51b815260206004820152600b60248201526a043616e27742073657420360ac1b60448201526064016107fb565b60088190556040518181527f63f32f63810afda7c9be9643f9fa73ee3f39a9fd8bb35775a2b0d73e48ed9bed90602001610d58565b610ef3611d61565b600d5460ff610100909104161515600114610f485760405162461bcd60e51b815260206004820152601560248201527410db185a5b481a5cc81b9bdd081bdc195b881e595d605a1b60448201526064016107fb565b335f908152600c602052604090205460ff1615610f775760405162461bcd60e51b81526004016107fb90612215565b335f908152600e602052604090205480610fc85760405162461bcd60e51b81526020600482015260126024820152711b9bc818db185a5b58589b1948199bdd5b9960721b60448201526064016107fb565b6007546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561100e573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103291906122de565b8111156110815760405162461bcd60e51b815260206004820152601f60248201527f4e6f742073756666696369656e7420746f6b656e7320617661696c61626c650060448201526064016107fb565b335f818152600e602052604080822091909155600754905163a9059cbb60e01b81526004810192909252602482018390526001600160a01b03169063a9059cbb906044016020604051808303815f875af11580156110e1573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110591906122f5565b6111495760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b60448201526064016107fb565b6040805133815260208101839052428183015290517f4cd77af129e13fdebdac2ba12ea5741c39309a8877ce9a4b7f8bb0dbd41cd5e59181900360600190a150610b2760018055565b5f546001600160a01b031633146111bb5760405162461bcd60e51b81526004016107fb906122a9565b6001600160a01b0381166112085760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642055534454206164647265737360601b60448201526064016107fb565b600680546001600160a01b0319166001600160a01b0383169081179091556040519081527f47da22c0331e51a69591b5e2172f95386c96f1c78b7668baeb4feaad35a177a990602001610d58565b5f546001600160a01b0316331461127f5760405162461bcd60e51b81526004016107fb906122a9565b600d805460ff191660019081179091556040519081527f877f6a55330cd3380d3f298c796ba27b979cc3c9ed832ff87995b90e6d20d29d90602001610c5c565b5f5f670de0b6b3a76400006112d2611409565b6112dc9085612260565b6112e69190612277565b90505f670de0b6b3a7640000600854836113009190612260565b61130a9190612277565b949350505050565b600f602052815f5260405f20818154811061132b575f80fd5b5f91825260209091206003909102018054600182015460029092015490935090915083565b5f546001600160a01b031633146113795760405162461bcd60e51b81526004016107fb906122a9565b60405133904780156108fc02915f818181858888f193505050501580156113a2573d5f5f3e3d5ffd5b50565b5f546001600160a01b031633146113ce5760405162461bcd60e51b81526004016107fb906122a9565b600d805461ff00191690556040515f81527fe93a361a601424914cc8b65dffe57432f1225844744faa2bf834c3fb911bb3e790602001610c5c565b5f5f60025f9054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561145b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061147f919061232e565b505050915050806402540be400611496919061237c565b91505090565b5f546001600160a01b031633146114c55760405162461bcd60e51b81526004016107fb906122a9565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146115365760405162461bcd60e51b81526004016107fb906122a9565b6001600160a01b03811661158c5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642061676772656761746f72206164647265737300000000000060448201526064016107fb565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b031633146115d75760405162461bcd60e51b81526004016107fb906122a9565b6001600160a01b0382166116255760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b60448201526064016107fb565b611699306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611664573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168891906123ab565b6001600160a01b0384169083611eaf565b604080516001600160a01b0384168152602081018390527f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa289101610bf1565b5f546001600160a01b031633146117015760405162461bcd60e51b81526004016107fb906122a9565b6001600160a01b03811661174f5760405162461bcd60e51b8152602060048201526015602482015274496e76616c69642061646d696e206164647265737360581b60448201526064016107fb565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527ffeec756c64d2cd29819a1506560be5b252fe9134578977a2e1ce5a75a4990b8b90602001610d58565b6005546001600160a01b03163314610e795760405162461bcd60e51b815260206004820181905260248201527f50726573616c653a2063616c6c6572206973206e6f74207468652061646d696e60448201526064016107fb565b5f546001600160a01b031633146118205760405162461bcd60e51b81526004016107fb906122a9565b600d805461ff001916610100179055604051600181527fe93a361a601424914cc8b65dffe57432f1225844744faa2bf834c3fb911bb3e790602001610c5c565b5f546001600160a01b031633146118895760405162461bcd60e51b81526004016107fb906122a9565b5f81116118d85760405162461bcd60e51b815260206004820152601960248201527f496e76616c6964206d61782070726573616c652076616c75650000000000000060448201526064016107fb565b600a8190556040518181527f5cfeff1f6a2d384184f9f8d61ab1a4348446de022cdb0cf812dda6e958ccd2ff90602001610d58565b611915611d61565b600d5460ff16151560011461196c5760405162461bcd60e51b815260206004820181905260248201527f50726573616c65203a2050726573616c65206973206e6f74207374617274656460448201526064016107fb565b5f81116119bb5760405162461bcd60e51b815260206004820152601b60248201527f50726573616c65203a20556e7375697461626c6520416d6f756e74000000000060448201526064016107fb565b600a546119ca61081383610c66565b1115611a0b5760405162461bcd60e51b815260206004820152601060248201526f4861726463617020526561636865642160801b60448201526064016107fb565b335f908152600c602052604090205460ff1615611a3a5760405162461bcd60e51b81526004016107fb90612215565b600b54811015611a8c5760405162461bcd60e51b815260206004820152601e60248201527f43616e277420627579206c657373207468616e204d696e20416d6f756e74000060448201526064016107fb565b5f611a9682610c66565b600454600654919250611ab8916001600160a01b039081169133911685611f17565b335f908152600e602052604081208054839290611ad6908490612296565b9091555050600954611ae89082611d8b565b6009819055508160035f828254611aff9190612296565b9091555050335f818152600f602090815260408083208151606081018352428152808401878152818401898152835460018181018655948852868820935160039091029093019283559051928201929092559051600290910155928252601190529081205460ff1615159003611bcb57335f818152601160205260408120805460ff191660019081179091556010805491820181559091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b03191690911790555b60408051338152602081018490529081018290524260608201527f1622dbe42d9fff19cd05e6cc7024a485545b3e695ceafc0d09ff7a922ca045699060800160405180910390a1506113a260018055565b5f546001600160a01b03163314611c455760405162461bcd60e51b81526004016107fb906122a9565b6001600160a01b038116611caa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107fb565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b03163314611d2c5760405162461bcd60e51b81526004016107fb906122a9565b600b8190556040518181527fd0fd52fbd5825ec045a1ea7e88c2faff7f4864f4b647e92d3637404da9cb0ba590602001610d58565b600260015403611d8457604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b5f80611d978385612296565b905083811015611de95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016107fb565b9392505050565b5f825f03611dff57505f610c89565b5f611e0a8385612260565b905082611e178583612277565b14611de95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016107fb565b5f611de983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f55565b6040516001600160a01b038316602482015260448101829052611f1290849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611f8a565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052611f4f9085906323b872dd60e01b90608401611edb565b50505050565b5f8183611f755760405162461bcd60e51b81526004016107fb91906123c6565b505f611f818486612277565b95945050505050565b5f611fde826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661205b9092919063ffffffff16565b805190915015611f125780806020019051810190611ffc91906122f5565b611f125760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107fb565b606061130a84845f8585843b6120b35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107fb565b5f5f866001600160a01b031685876040516120ce91906123fb565b5f6040518083038185875af1925050503d805f8114612108576040519150601f19603f3d011682016040523d82523d5f602084013e61210d565b606091505b509150915061211d828286612128565b979650505050505050565b60608315612137575081611de9565b8251156121475782518084602001fd5b8160405162461bcd60e51b81526004016107fb91906123c6565b6001600160a01b03811681146113a2575f5ffd5b80151581146113a2575f5ffd5b5f5f60408385031215612193575f5ffd5b823561219e81612161565b915060208301356121ae81612175565b809150509250929050565b5f602082840312156121c9575f5ffd5b8135611de981612161565b5f602082840312156121e4575f5ffd5b5035919050565b5f5f604083850312156121fc575f5ffd5b823561220781612161565b946020939093013593505050565b6020808252601d908201527f50726573616c65203a20796f752061726520626c61636b6c6973746564000000604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610c8957610c8961224c565b5f8261229157634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610c8957610c8961224c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f602082840312156122ee575f5ffd5b5051919050565b5f60208284031215612305575f5ffd5b8151611de981612175565b805169ffffffffffffffffffff81168114612329575f5ffd5b919050565b5f5f5f5f5f60a08688031215612342575f5ffd5b61234b86612310565b6020870151604088015160608901519297509095509350915061237060808701612310565b90509295509295909350565b8082025f8212600160ff1b841416156123975761239761224c565b8181058314821517610c8957610c8961224c565b5f602082840312156123bb575f5ffd5b8151611de981612161565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f82518060208501845e5f92019182525091905056fea2646970667358221220737f1475deb802f3d9728a5b2626da1c410891d5d6e2dd5fb3577e5e0cc8b59f64736f6c634300081c0033
Verified Source Code Partial Match
Compiler: v0.8.28+commit.7893614a
EVM: cancun
Optimization: Yes (200 runs)
KROWN_Presale.sol 972 lines
// SPDX-License-Identifier: MIT
pragma solidity =0.8.28;
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(
address(this).balance >= amount,
"Address: insufficient balance"
);
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{value: amount}("");
require(
success,
"Address: unable to send value, recipient may have reverted"
);
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data)
internal
returns (bytes memory)
{
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return
functionCallWithValue(
target,
data,
value,
"Address: low-level call with value failed"
);
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(
address(this).balance >= value,
"Address: insufficient balance for call"
);
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{value: value}(
data
);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data)
internal
view
returns (bytes memory)
{
return
functionStaticCall(
target,
data,
"Address: low-level static call failed"
);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data)
internal
returns (bytes memory)
{
return
functionDelegateCall(
target,
data,
"Address: low-level delegate call failed"
);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) private pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
_callOptionalReturn(
token,
abi.encodeWithSelector(token.transfer.selector, to, value)
);
}
function safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value
) internal {
_callOptionalReturn(
token,
abi.encodeWithSelector(token.transferFrom.selector, from, to, value)
);
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(
IERC20 token,
address spender,
uint256 value
) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(
token,
abi.encodeWithSelector(token.approve.selector, spender, value)
);
}
function safeIncreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(
value
);
_callOptionalReturn(
token,
abi.encodeWithSelector(
token.approve.selector,
spender,
newAllowance
)
);
}
function safeDecreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(
value,
"SafeERC20: decreased allowance below zero"
);
_callOptionalReturn(
token,
abi.encodeWithSelector(
token.approve.selector,
spender,
newAllowance
)
);
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(
data,
"SafeERC20: low-level call failed"
);
if (returndata.length > 0) {
// Return data is optional
// solhint-disable-next-line max-line-length
require(
abi.decode(returndata, (bool)),
"SafeERC20: ERC20 operation did not succeed"
);
}
}
}
contract Context {
function _msgSender() internal view virtual returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
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) {
// Solidity only automatically asserts when dividing by 0
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
constructor() {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
function owner() public view returns (address) {
return _owner;
}
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,
* consider using {ReentrancyGuardTransient} instead.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant NOT_ENTERED = 1;
uint256 private constant ENTERED = 2;
uint256 private _status;
/**
* @dev Unauthorized reentrant call.
*/
error ReentrancyGuardReentrantCall();
constructor() {
_status = NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be NOT_ENTERED
if (_status == ENTERED) {
revert ReentrancyGuardReentrantCall();
}
// Any calls to nonReentrant after this point will fail
_status = ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == ENTERED;
}
}
// ETH LIVE PRICE
interface AggregatorV3Interface {
function decimals() external view returns (uint8);
function description() external view returns (string memory);
function version() external view returns (uint256);
function getRoundData(uint80 _roundId)
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}
contract KROWN_Presale is Ownable, ReentrancyGuard {
using SafeMath for uint256;
using SafeERC20 for IERC20;
AggregatorV3Interface public priceFeedETH; //interface for interacting the AggregatorV3Interface
uint256 public totalUSDTRaised; //all usd amt raised in presale
address payable public feeReceiver; //address which received the funds from presale
address public admin; //address which can set the batches
IERC20 public USDT; //interface for interacting the USDT
IERC20 public token; //interface for interacting the token
uint256 public TokenPricePerUsdt; // price of KROWN token against 1 USD
uint256 public TokenSold; // The total number of tokens sold during the presale period.
uint256 public maxTokeninPresale; // The maximum number of tokens that can be sold during a single presale event.
uint256 public minBuy; //min buy amount in usd
mapping(address => bool) public isBlacklist; //blacklist address list
bool public presaleStatus; //A flag indicating whether the current presale is active or not.
bool public CanClaim; //A flag indicating whether the claim of tokens is active or not.
mapping(address => uint256) public Claimable; //returns the claimable tokens against provided address
// stored user buying time, claimable amount, usdt spent
struct UserData {
uint256 buyingTime;
uint256 Claimable;
uint256 AmtUSD;
}
mapping(address => UserData[]) public buyHistory; // Show record of user buying transactions .
address[] public Holders; // stores all holders address .
mapping(address => bool) public isNewHolders; // check to see if new holder or not.
event Recovered(address token, uint256 amount); // Notified whenever owner recovered stuck funds.
event buy(
address userAddress,
uint256 USDamount,
uint256 tokenBought,
uint256 time
); // Notified whenever any sell occur in the contract
event tokenClaim(address userAddress, uint256 tokenClaimed, uint256 time); // Notified whenever token claim occur in the contract
event Price(uint256 oldprice); // Notified whenever someone sets up new price for token.
event presalestatus(bool _status); // Indicates whether the current presale is active or not.
event maxtokeninpresale(uint256 _newmaxtoken); // Notified whenever owner sets up max token in presale.
event tokenaddress(address _newtoken); // Notified whenever owner sets up KROWN token address in presale.
event updateblacklist(address _wallet, bool _isblacklist); // Notified whenever owner add/remove address in blacklist.
event updateRecipient(address newrecipient); // Notified whenever owner sets up funds receiver address in presale.
event updateClaimOn(bool _isClaimOn); // Notified whenever owner sets up claim state.
event updateMinBuy(uint256 newMinBuy); // Notified whenever owner update min buy amount.
constructor(
) {
// Phase 1 (1 USD for 30769.23 tokens)
TokenPricePerUsdt = 30769.23 * 1E18;
maxTokeninPresale = 25000000000 * (1E18);
minBuy = 10e6;
priceFeedETH = AggregatorV3Interface(
0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419 //ETH mainnet aggregator
);
USDT = IERC20(0xdAC17F958D2ee523a2206206994597C13D831ec7);
feeReceiver = payable(0xBBC86b2ee0DE49E9f09A4Fe06970F717E5174E14);
admin = (0xa3cd5Ff09ce33f2d235bf31dDece2ef08Da52BF0);
}
receive() external payable {
// React to receiving ETH
BuyWithETH();
}
// modifies to check caller is admin
modifier onlyAdmin() {
require(admin == _msgSender(), "Presale: caller is not the admin");
_;
}
//Allows users to buy KROWN token using ETH during the presale period.
//It checks if the user is not blacklisted and if there are still tokens available.
function BuyWithETH() public payable nonReentrant {
require(msg.value > 0, "Presale : Unsuitable Amount");
require(
TokenSold.add(ETHToToken(msg.value)) <= maxTokeninPresale,
"Hardcap Reached!"
);
require(presaleStatus == true, "Presale : Presale is not started");
require(
isBlacklist[msg.sender] == false,
"Presale : you are blacklisted"
);
uint256 ETHToUsd = (msg.value * (getLatestPriceETH())) / (1 ether);
require(ETHToUsd / 1e12 >= minBuy, "Can't buy less than Min Amount");
// Update claimable tokens for the buyer
payable(feeReceiver).transfer(msg.value);
uint256 tokensToTransfer = ETHToToken(msg.value);
Claimable[msg.sender] += tokensToTransfer;
TokenSold = TokenSold.add(tokensToTransfer);
uint256 usdamt = ETHToUsd / 1e12;
totalUSDTRaised += usdamt;
buyHistory[msg.sender].push(
UserData({
buyingTime: block.timestamp, //stores user time of buy
Claimable: tokensToTransfer, //stores users claimable amount
AmtUSD: usdamt // stores users usdt spent amount
})
);
//see if new holder , adds the new holders address in contract
if (isNewHolders[msg.sender] == false) {
isNewHolders[msg.sender] = true;
Holders.push(msg.sender);
}
emit buy(msg.sender, usdamt, tokensToTransfer, block.timestamp);
}
//Allows users to buy KROWN token using USDT during presale.
//It checks if the user is not blacklisted and if there are still tokens available.
function BuyWithUSDT(uint256 _amt) external nonReentrant {
require(presaleStatus == true, "Presale : Presale is not started");
require(_amt > 0, "Presale : Unsuitable Amount");
require(
TokenSold.add(getValuePerUsdt(_amt)) <= maxTokeninPresale,
"Hardcap Reached!"
);
require(
isBlacklist[msg.sender] == false,
"Presale : you are blacklisted"
);
require(_amt >= minBuy, "Can't buy less than Min Amount");
uint256 tokensToTransfer = getValuePerUsdt(_amt);
IERC20(USDT).safeTransferFrom(msg.sender, feeReceiver, _amt);
Claimable[msg.sender] += tokensToTransfer;
TokenSold = TokenSold.add(tokensToTransfer);
totalUSDTRaised += _amt;
buyHistory[msg.sender].push(
UserData({
buyingTime: block.timestamp, //stores user time of buy
Claimable: tokensToTransfer, //stores users claimable amount
AmtUSD: _amt // stores users usdt spent amount
})
);
//see if new holder , adds the new holders address in contract
if (isNewHolders[msg.sender] == false) {
isNewHolders[msg.sender] = true;
Holders.push(msg.sender);
}
emit buy(msg.sender, _amt, tokensToTransfer, block.timestamp);
}
//Allows users to claim their bought tokens during presale period
function claim() external nonReentrant {
require(CanClaim == true, "Claim is not open yet");
require(
isBlacklist[msg.sender] == false,
"Presale : you are blacklisted"
);
uint256 claimable = Claimable[msg.sender];
require(claimable > 0, "no claimable found");
require(
claimable <= token.balanceOf(address(this)),
"Not sufficient tokens available"
);
Claimable[msg.sender] = 0;
require(token.transfer(msg.sender, claimable), "Token transfer failed");
emit tokenClaim(msg.sender, claimable, block.timestamp);
}
//owner use this function to trigger the claim of tokens
function StartClaim() external onlyOwner {
CanClaim = true;
emit updateClaimOn(true);
}
//owner use this function to stop the claim of tokens
function StopClaim() external onlyOwner {
CanClaim = false;
emit updateClaimOn(false);
}
//This function can use for stopping the current presale period.
function stopPresale() external onlyOwner {
presaleStatus = false;
emit presalestatus(false);
}
//This function can use for resume the current presale period.
function resumePresale() external onlyOwner {
presaleStatus = true;
emit presalestatus(true);
}
//This function can use for setting the maximum number of KROWN tokens
// that can be sold during an ongoing or future presale period.
function setmaxTokeninPresale(uint256 _value) external onlyOwner {
require(_value > 0, "Invalid max presale value");
maxTokeninPresale = _value;
emit maxtokeninpresale(_value);
}
//This function used for setting a new price per USDT token during the presale period.
function setPresalePricePerUsdt(uint256 _newPrice) external onlyOwner {
require(_newPrice > 0, "Can't set 0");
TokenPricePerUsdt = _newPrice;
emit Price(_newPrice);
}
//This function used for setting a new price per USDT token during the presale period.
//called by only admin
function setPresalePricePerUsdtAdmin(uint256 _newPrice) external onlyAdmin {
require(_newPrice > 0, "Can't set 0");
TokenPricePerUsdt = _newPrice;
emit Price(_newPrice);
}
//owner use this function to update the aggregator address
function setaggregatorv3(address _priceFeedETH) external onlyOwner {
require(_priceFeedETH != address(0), "Invalid aggregator address");
priceFeedETH = AggregatorV3Interface(_priceFeedETH);
}
//use for setting interface of KROWN token to interact
function settoken(address _token) external onlyOwner {
require(_token != address(0), "Invalid token address");
token = IERC20(_token);
emit tokenaddress(_token);
}
//use for setting interface of USDT token to interact
function setUSDT(address _usdt) external onlyOwner {
require(_usdt != address(0), "Invalid USDT address");
USDT = IERC20(_usdt);
emit tokenaddress(_usdt);
}
//use for adding/removing address to blacklist
function setBlacklist(address _addr, bool _state) external onlyOwner {
require(_addr != address(0), "Invalid address");
isBlacklist[_addr] = _state;
emit updateblacklist(_addr, _state);
}
//use for changing the presale fund receiver address
function changefeeReceiver(address payable newFeeReceiver)
external
onlyOwner
{
require(newFeeReceiver != address(0), "Invalid recipient address");
feeReceiver = newFeeReceiver;
emit updateRecipient(newFeeReceiver);
}
//use for changing the admin address
function changeAdmin(address payable newAdmin) external onlyOwner {
require(newAdmin != address(0), "Invalid admin address");
admin = newAdmin;
emit updateRecipient(newAdmin);
}
//owner use this function to update min buy amount in usd
function SetMinBuy(uint256 _minBuy) external onlyOwner {
minBuy = _minBuy;
emit updateMinBuy(minBuy);
}
///////////// methods for getting prices against ETH & USDT /////////////////////
//this function has a mechanism in the contract, allowing conversion of Ether (ETH)
// into KROWN tokens during an ongoing presale period.
// Returns the latest price of ETH from an external aggregator.
function getLatestPriceETH() public view returns (uint256) {
(, int256 price, , , ) = priceFeedETH.latestRoundData();
return uint256(price * 1e10);
}
function ETHToToken(uint256 _amount) public view returns (uint256) {
uint256 ETHToUsd = (_amount * (getLatestPriceETH())) / (1 ether);
uint256 numberOfTokens = (ETHToUsd * (TokenPricePerUsdt)) / (1e18);
return numberOfTokens;
}
// This function returns the current value of KROWN token per USDT (Tether) token,
function getValuePerUsdt(uint256 _amt) public view returns (uint256) {
return (TokenPricePerUsdt.mul(_amt)).div(1e6);
}
//////////// Methods for recovering any stucked funds from contract ///////////////
//This function is a mechanism in the contract, allowing an owner (i.e., using the onlyOwner modifier)
// to release stucked funds from presale contract to owner address.
function releaseFunds() external onlyOwner {
payable(msg.sender).transfer(address(this).balance);
}
//use for recovering stucked token in the contract
function recoverERC20(address tokenAddress, uint256 tokenAmount)
external
onlyOwner
{
require(tokenAddress != address(0), "Invalid token address");
IERC20(tokenAddress).safeTransfer(this.owner(), tokenAmount);
emit Recovered(address(tokenAddress), tokenAmount);
}
function checkHolderslLength() public view returns (uint256) {
return Holders.length;
}
function buyHistoryLength(address _addr) public view returns (uint256) {
return buyHistory[_addr].length;
}
}
Read Contract
CanClaim 0x91c1494b → bool
Claimable 0x1e3a5831 → uint256
ETHToToken 0x578cd32f → uint256
Holders 0x4309c214 → address
TokenPricePerUsdt 0x0412a0b1 → uint256
TokenSold 0x18fd84d7 → uint256
USDT 0xc54e44eb → address
admin 0xf851a440 → address
buyHistory 0x6031d3be → uint256, uint256, uint256
buyHistoryLength 0xe5a2ec49 → uint256
checkHolderslLength 0xb9d999bf → uint256
feeReceiver 0xb3f00674 → address
getLatestPriceETH 0x6e34d929 → uint256
getValuePerUsdt 0x393d7de6 → uint256
isBlacklist 0x333e99db → bool
isNewHolders 0x45a6f7cb → bool
maxTokeninPresale 0x84345ee3 → uint256
minBuy 0x7107d7a6 → uint256
owner 0x8da5cb5b → address
presaleStatus 0xacfb2355 → bool
priceFeedETH 0xeff69172 → address
token 0xfc0c546a → address
totalUSDTRaised 0x08c89b6d → uint256
Write Contract 21 functions
These functions modify contract state and require a wallet transaction to execute.
BuyWithETH 0xa88468e7
No parameters
BuyWithUSDT 0xc00c82c2
uint256 _amt
SetMinBuy 0xfc81cc89
uint256 _minBuy
StartClaim 0xa464f447
No parameters
StopClaim 0x6b870ddf
No parameters
changeAdmin 0x8f283970
address newAdmin
changefeeReceiver 0x3c47681e
address newFeeReceiver
claim 0x4e71d92d
No parameters
recoverERC20 0x8980f11f
address tokenAddress
uint256 tokenAmount
releaseFunds 0x69d89575
No parameters
renounceOwnership 0x715018a6
No parameters
resumePresale 0x54f63ee5
No parameters
setBlacklist 0x153b0d1e
address _addr
bool _state
setPresalePricePerUsdt 0x43f94440
uint256 _newPrice
setPresalePricePerUsdtAdmin 0x9460ab95
uint256 _newPrice
setUSDT 0x50c1b923
address _usdt
setaggregatorv3 0x7a08ed48
address _priceFeedETH
setmaxTokeninPresale 0xaf2f14ca
uint256 _value
settoken 0x3dcc0db2
address _token
stopPresale 0x1ad2ad1a
No parameters
transferOwnership 0xf2fde38b
address newOwner
Recent Transactions
No transactions found for this address