Source Code
Latest 25 from a total of 1,363 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Release | 423966043 | 3 days ago | IN | 0.00025 ETH | 0.0000013 | ||||
| Release | 423790517 | 4 days ago | IN | 0.00025 ETH | 0.0000013 | ||||
| Release | 423730539 | 4 days ago | IN | 0.00025 ETH | 0.00000168 | ||||
| Release | 423693975 | 4 days ago | IN | 0.00025 ETH | 0.00000165 | ||||
| Release | 422738012 | 7 days ago | IN | 0.00025 ETH | 0.00000163 | ||||
| Release | 422337093 | 8 days ago | IN | 0.00025 ETH | 0.00000129 | ||||
| Release | 422245623 | 8 days ago | IN | 0.00025 ETH | 0.00000129 | ||||
| Release | 422040641 | 9 days ago | IN | 0.00025 ETH | 0.00000164 | ||||
| Release | 422016170 | 9 days ago | IN | 0.00025 ETH | 0.0000013 | ||||
| Release | 422013907 | 9 days ago | IN | 0.00025 ETH | 0.00000163 | ||||
| Release | 422013405 | 9 days ago | IN | 0.00025 ETH | 0.00000129 | ||||
| Release | 422012881 | 9 days ago | IN | 0.00025 ETH | 0.00000166 | ||||
| Release | 422009063 | 9 days ago | IN | 0.00025 ETH | 0.00000164 | ||||
| Release | 421365334 | 11 days ago | IN | 0.00025 ETH | 0.00000129 | ||||
| Release | 421346027 | 11 days ago | IN | 0.00025 ETH | 0.00000163 | ||||
| Release | 421073322 | 12 days ago | IN | 0.00025 ETH | 0.00000164 | ||||
| Release | 421021934 | 12 days ago | IN | 0.00025 ETH | 0.00000129 | ||||
| Release | 421021691 | 12 days ago | IN | 0.00025 ETH | 0.00000163 | ||||
| Release | 421017819 | 12 days ago | IN | 0.00025 ETH | 0.00000165 | ||||
| Release | 421016922 | 12 days ago | IN | 0.00025 ETH | 0.00000167 | ||||
| Release | 420664432 | 13 days ago | IN | 0.00025 ETH | 0.00000129 | ||||
| Release | 419313004 | 17 days ago | IN | 0.00025 ETH | 0.00000165 | ||||
| Release | 419141038 | 17 days ago | IN | 0.00025 ETH | 0.00000082 | ||||
| Release | 419140858 | 17 days ago | IN | 0.00025 ETH | 0.00000082 | ||||
| Release | 418888974 | 18 days ago | IN | 0.00025 ETH | 0.0000028 |
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x0a3695Dc...C00B6b2a7 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
SHVestingCliff
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
interface IMarketMakerOperator {
function depositTokens(uint256 amount, address user) external;
}
interface SHStaking {
function stakeAs(uint256 _amount, address _to) external;
}
contract SHVestingCliff is Ownable, ReentrancyGuard {
uint256 public constant VESTING_DIVIDER = 100000;
uint256 public constant YEAR_DIVIDER = 31556952;
struct Config {
uint256 tgeDate;
uint256 startDate;
uint256 endDate;
IERC20 token;
uint256 ethClaimFee;
uint256 ethClaimAndStakeFee;
uint256 ethMMFee;
}
Config public config;
IMarketMakerOperator marketMakerOperator;
SHStaking shStaking;
uint public tgePercent;
mapping(address => uint256) public tokensReleased;
mapping(address => uint256) public userTotal;
mapping(address => bool) public freezeUsers;
event TokensReleased(uint256 amount, address user);
event Withdraw(address user, uint256 amount);
event WithdrawEth(address user, uint256 amount);
event UpdateFee(uint256 newFee, uint256 oldFee);
event UpdateStaking(address newStaking);
event UpdateMM(address newMM);
event FreezeAccount(address indexed user, bool freeze);
event TokensReleasedToStake(uint256 amount, address user);
event TokensReleasedToMM(uint256 amount, address user);
error TransferFailed();
error WithdrawFailed();
modifier checkEthFeeAndRefundDust(uint256 value, uint256 expectedFee) {
require(value >= expectedFee, "Insufficient fee: the required fee must be covered");
uint256 dust = unsafeSub(value, expectedFee);
if (dust != 0) {
(bool sent,) = address(msg.sender).call{value : dust}("");
require(sent, "Failed to return overpayment");
}
_;
}
modifier accountNotFrozen() {
require(!freezeUsers[msg.sender], "Account frozen");
_;
}
constructor(
uint256 _tgeDate,
uint256 _startTime,
uint256 _endTime,
address _tokenAddress,
uint256 _ethClaimFee,
uint256 _ethStakeFee,
uint256 _ethMMFee,
uint256 _tgePercent
) {
require(_startTime >= _tgeDate, "Start time must be greater than tge time");
require(_endTime > _startTime, "End time must be greater than start time");
require(_tokenAddress != address(0), "Token address cannot be zero address");
config.tgeDate = _tgeDate;
config.startDate = _startTime;
config.endDate = _endTime;
config.token = IERC20(_tokenAddress);
config.ethClaimFee = _ethClaimFee;
config.ethClaimAndStakeFee = _ethStakeFee;
config.ethMMFee = _ethMMFee;
tgePercent = _tgePercent;
}
function release() external payable nonReentrant accountNotFrozen checkEthFeeAndRefundDust(msg.value, config.ethClaimFee) {
uint256 unreleased = releasableAmount(msg.sender);
require(unreleased != 0, "No tokens to release");
require(msg.value >= config.ethClaimFee, "Insufficient fee: the required fee must be covered");
tokensReleased[msg.sender] = tokensReleased[msg.sender] + unreleased;
if (
!config.token.transfer(msg.sender, unreleased)
) {
revert TransferFailed();
}
emit TokensReleased(unreleased, msg.sender);
}
function releaseToMM() external payable nonReentrant accountNotFrozen checkEthFeeAndRefundDust(msg.value, config.ethMMFee) {
uint256 unreleased = releasableAmount(msg.sender);
require(unreleased != 0, "No tokens to release");
require(address(marketMakerOperator) != address(0), "Address not defined");
require(msg.value >= config.ethMMFee, "Insufficient fee: the required fee must be covered");
tokensReleased[msg.sender] = tokensReleased[msg.sender] + unreleased;
config.token.approve(address(marketMakerOperator), unreleased);
marketMakerOperator.depositTokens(unreleased, msg.sender);
emit TokensReleasedToMM(unreleased, msg.sender);
}
function releaseToStake() external payable nonReentrant accountNotFrozen checkEthFeeAndRefundDust(msg.value, config.ethClaimAndStakeFee) {
uint256 unreleased = releasableAmount(msg.sender);
require(unreleased != 0, "No tokens to release");
require(msg.value >= config.ethClaimAndStakeFee, "Insufficient fee: the required fee must be covered");
tokensReleased[msg.sender] = tokensReleased[msg.sender] + unreleased;
config.token.approve(address(shStaking), unreleased);
shStaking.stakeAs(unreleased, msg.sender);
emit TokensReleasedToStake(unreleased, msg.sender);
}
function releasableAmount(address userAddress) public view returns (uint256) {
if (freezeUsers[userAddress]) {
return 0;
}
if (block.timestamp < config.tgeDate) {
return 0;
}
uint256 totalTokens = userTotal[userAddress];
uint256 tgeTokens = totalTokens * tgePercent / VESTING_DIVIDER;
if (block.timestamp < config.startDate) {
return tgeTokens - tokensReleased[userAddress];
}
if (block.timestamp > config.endDate) {
return totalTokens - tokensReleased[userAddress];
}
uint256 vestingPartTokens = totalTokens - tgeTokens;
uint256 elapsedTime = block.timestamp - config.startDate;
uint256 totalVestingTime = config.endDate - config.startDate;
uint256 vestedAmount = vestingPartTokens * elapsedTime / totalVestingTime;
return vestedAmount + tgeTokens < tokensReleased[userAddress] ? 0 : vestedAmount + tgeTokens - tokensReleased[userAddress];
}
function withdrawToken(IERC20 token, uint256 amount) external onlyOwner {
if (
!token.transfer(msg.sender, amount)
) {
revert TransferFailed();
}
emit Withdraw(msg.sender, amount);
}
function withdrawEth(uint256 amount) external onlyOwner {
require(address(this).balance >= amount, "Insufficient balance");
(bool success,) = payable(msg.sender).call{value : amount}("");
if (!success) {
revert WithdrawFailed();
}
emit WithdrawEth(msg.sender, amount);
}
function updateEthClaimFee(uint256 _newFee) external onlyOwner {
uint256 oldFee = config.ethClaimFee;
config.ethClaimFee = _newFee;
emit UpdateFee(_newFee, oldFee);
}
function updateEthClaimAndStakeFee(uint256 _newFee) external onlyOwner {
uint256 oldFee = config.ethClaimAndStakeFee;
config.ethClaimAndStakeFee = _newFee;
emit UpdateFee(_newFee, oldFee);
}
function updateEthMMFee(uint256 _newFee) external onlyOwner {
uint256 oldFee = config.ethMMFee;
config.ethMMFee = _newFee;
emit UpdateFee(_newFee, oldFee);
}
function updateShStaking(address _shStaking) external onlyOwner {
shStaking = SHStaking(_shStaking);
emit UpdateStaking(_shStaking);
}
function updateMMAddress(address _mm) external onlyOwner {
emit UpdateStaking(_mm);
}
function registerVestingAccounts(address[] memory _userAddresses, uint256[] memory _amounts) external onlyOwner {
require(_amounts.length == _userAddresses.length, "Amounts and userAddresses must have the same length");
for (uint i; i < _userAddresses.length; i = unsafeInc(i)) {
userTotal[_userAddresses[i]] = _amounts[i];
}
}
function freezeVestingAccounts(address[] memory _userAddresses, bool _freeze) external onlyOwner {
for (uint i; i < _userAddresses.length; i = unsafeInc(i)) {
freezeUsers[_userAddresses[i]] = _freeze;
emit FreezeAccount(_userAddresses[i], _freeze);
}
}
function unsafeInc(uint x) private pure returns (uint) {
unchecked {return x + 1;}
}
function unsafeSub(uint x, uint y) private pure returns (uint) {
unchecked {return x - y;}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../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.
*
* By default, the owner account will be the one that deploys the contract. 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;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @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 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;
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
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// 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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
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 amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` 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 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @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;
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"_tgeDate","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"},{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_ethClaimFee","type":"uint256"},{"internalType":"uint256","name":"_ethStakeFee","type":"uint256"},{"internalType":"uint256","name":"_ethMMFee","type":"uint256"},{"internalType":"uint256","name":"_tgePercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"TransferFailed","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"freeze","type":"bool"}],"name":"FreezeAccount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"TokensReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"TokensReleasedToMM","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"TokensReleasedToStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldFee","type":"uint256"}],"name":"UpdateFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newMM","type":"address"}],"name":"UpdateMM","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newStaking","type":"address"}],"name":"UpdateStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawEth","type":"event"},{"inputs":[],"name":"VESTING_DIVIDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YEAR_DIVIDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"config","outputs":[{"internalType":"uint256","name":"tgeDate","type":"uint256"},{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint256","name":"endDate","type":"uint256"},{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"ethClaimFee","type":"uint256"},{"internalType":"uint256","name":"ethClaimAndStakeFee","type":"uint256"},{"internalType":"uint256","name":"ethMMFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freezeUsers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"bool","name":"_freeze","type":"bool"}],"name":"freezeVestingAccounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"registerVestingAccounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"releasableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"release","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"releaseToMM","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"releaseToStake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tgePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokensReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"updateEthClaimAndStakeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"updateEthClaimFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"updateEthMMFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mm","type":"address"}],"name":"updateMMAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_shStaking","type":"address"}],"name":"updateShStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x60806040523480156200001157600080fd5b5060405162001aa538038062001aa5833981016040819052620000349162000205565b6200003f33620001b5565b6001805587871015620000aa5760405162461bcd60e51b815260206004820152602860248201527f53746172742074696d65206d7573742062652067726561746572207468616e206044820152677467652074696d6560c01b60648201526084015b60405180910390fd5b8686116200010c5760405162461bcd60e51b815260206004820152602860248201527f456e642074696d65206d7573742062652067726561746572207468616e2073746044820152676172742074696d6560c01b6064820152608401620000a1565b6001600160a01b038516620001705760405162461bcd60e51b8152602060048201526024808201527f546f6b656e20616464726573732063616e6e6f74206265207a65726f206164646044820152637265737360e01b6064820152608401620000a1565b600297909755600395909555600493909355600580546001600160a01b0319166001600160a01b039390931692909217909155600655600755600855600b556200027d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600080600080610100898b0312156200022357600080fd5b885160208a015160408b015160608c0151929a5090985096506001600160a01b03811681146200025257600080fd5b60808a015160a08b015160c08c015160e0909c01519a9d999c50979a91999098919650945092505050565b611818806200028d6000396000f3fe60806040526004361061013f5760003560e01c806377dac972116100b6578063c311d0491161006f578063c311d04914610397578063df63fdb6146103b7578063e2f0f42d146103f7578063e601cf441461040d578063f1da56821461043a578063f2fde38b1461044257600080fd5b806377dac9721461029b57806379502c55146102bb57806386d1a69f146103305780638da5cb5b146103385780639e281a98146103605780639e568c491461038057600080fd5b806341b0ee081161010857806341b0ee08146101e65780634fc910031461020657806357e739bf146102265780635ba26f2d146102465780636360463a14610266578063715018a61461028657600080fd5b8062c653eb146101445780631726cbc81461016f57806327cea3a81461018f578063386fef11146101bc57806339d4115f146101de575b600080fd5b34801561015057600080fd5b5061015c6301e1855881565b6040519081526020015b60405180910390f35b34801561017b57600080fd5b5061015c61018a3660046113f8565b610462565b34801561019b57600080fd5b5061015c6101aa3660046113f8565b600c6020526000908152604090205481565b3480156101c857600080fd5b506101dc6101d73660046114fb565b6105f4565b005b6101dc6106ec565b3480156101f257600080fd5b506101dc6102013660046115c4565b6109ba565b34801561021257600080fd5b506101dc6102213660046113f8565b610a8a565b34801561023257600080fd5b506101dc610241366004611616565b610ae7565b34801561025257600080fd5b506101dc610261366004611616565b610b35565b34801561027257600080fd5b506101dc6102813660046113f8565b610b7b565b34801561029257600080fd5b506101dc610bbc565b3480156102a757600080fd5b506101dc6102b6366004611616565b610bce565b3480156102c757600080fd5b506002546003546004546005546006546007546008546102f3969594936001600160a01b031692919087565b604080519788526020880196909652948601939093526001600160a01b039091166060850152608084015260a083015260c082015260e001610166565b6101dc610c14565b34801561034457600080fd5b506000546040516001600160a01b039091168152602001610166565b34801561036c57600080fd5b506101dc61037b36600461162f565b610e36565b34801561038c57600080fd5b5061015c620186a081565b3480156103a357600080fd5b506101dc6103b2366004611616565b610f02565b3480156103c357600080fd5b506103e76103d23660046113f8565b600e6020526000908152604090205460ff1681565b6040519015158152602001610166565b34801561040357600080fd5b5061015c600b5481565b34801561041957600080fd5b5061015c6104283660046113f8565b600d6020526000908152604090205481565b6101dc610ff0565b34801561044e57600080fd5b506101dc61045d3660046113f8565b61125d565b6001600160a01b0381166000908152600e602052604081205460ff161561048b57506000919050565b60025442101561049d57506000919050565b6001600160a01b0382166000908152600d6020526040812054600b54909190620186a0906104cb9084611671565b6104d59190611688565b60035490915042101561050d576001600160a01b0384166000908152600c602052604090205461050590826116aa565b949350505050565b60045442111561053a576001600160a01b0384166000908152600c602052604090205461050590836116aa565b600061054682846116aa565b60035490915060009061055990426116aa565b60035460045491925060009161056f91906116aa565b905060008161057e8486611671565b6105889190611688565b6001600160a01b0389166000908152600c60205260409020549091506105ae86836116bd565b106105e5576001600160a01b0388166000908152600c60205260409020546105d686836116bd565b6105e091906116aa565b6105e8565b60005b98975050505050505050565b6105fc6112d6565b815181511461066e5760405162461bcd60e51b815260206004820152603360248201527f416d6f756e747320616e642075736572416464726573736573206d75737420686044820152720c2ecca40e8d0ca40e6c2daca40d8cadccee8d606b1b60648201526084015b60405180910390fd5b60005b82518110156106e75781818151811061068c5761068c6116d0565b6020026020010151600d60008584815181106106aa576106aa6116d0565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055506106e08160010190565b9050610671565b505050565b6106f4611330565b336000908152600e602052604090205460ff16156107245760405162461bcd60e51b8152600401610665906116e6565b6008543490808210156107495760405162461bcd60e51b81526004016106659061170e565b60006107558383611389565b905080156107c757604051600090339083908381818185875af1925050503d806000811461079f576040519150601f19603f3d011682016040523d82523d6000602084013e6107a4565b606091505b50509050806107c55760405162461bcd60e51b815260040161066590611760565b505b60006107d233610462565b9050806000036107f45760405162461bcd60e51b815260040161066590611797565b6009546001600160a01b03166108425760405162461bcd60e51b81526020600482015260136024820152721059191c995cdcc81b9bdd081919599a5b9959606a1b6044820152606401610665565b6008543410156108645760405162461bcd60e51b81526004016106659061170e565b336000908152600c602052604090205461087f9082906116bd565b336000908152600c60205260409081902091909155600554600954915163095ea7b360e01b81526001600160a01b0392831660048201526024810184905291169063095ea7b3906044016020604051808303816000875af11580156108e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090c91906117c5565b506009546040516327b1805160e11b8152600481018390523360248201526001600160a01b0390911690634f6300a290604401600060405180830381600087803b15801561095957600080fd5b505af115801561096d573d6000803e3d6000fd5b5050604080518481523360208201527f663de8f2e14b3620ffecd306d80961aaa78ec266a4722022c580b2f68936860f93500190505b60405180910390a1505050506109b860018055565b565b6109c26112d6565b60005b82518110156106e75781600e60008584815181106109e5576109e56116d0565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550828181518110610a3657610a366116d0565b60200260200101516001600160a01b03167fd16a7a4ba83c78a07676c543502e8155f633ecd3c35abb1da51bcbf129758b0f83604051610a7a911515815260200190565b60405180910390a26001016109c5565b610a926112d6565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527ff6cd2a06182d5d09becddeadb7a155f6daae1a6cf8eb0aeef8476c936efe7534906020015b60405180910390a150565b610aef6112d6565b600680549082905560408051838152602081018390527f8987e6f43a6c6bf408c8c427dceb2f98377f859348939ef4ab7b770b510a395a91015b60405180910390a15050565b610b3d6112d6565b600780549082905560408051838152602081018390527f8987e6f43a6c6bf408c8c427dceb2f98377f859348939ef4ab7b770b510a395a9101610b29565b610b836112d6565b6040516001600160a01b03821681527ff6cd2a06182d5d09becddeadb7a155f6daae1a6cf8eb0aeef8476c936efe753490602001610adc565b610bc46112d6565b6109b86000611393565b610bd66112d6565b600880549082905560408051838152602081018390527f8987e6f43a6c6bf408c8c427dceb2f98377f859348939ef4ab7b770b510a395a9101610b29565b610c1c611330565b336000908152600e602052604090205460ff1615610c4c5760405162461bcd60e51b8152600401610665906116e6565b600654349080821015610c715760405162461bcd60e51b81526004016106659061170e565b6000610c7d8383611389565b90508015610cef57604051600090339083908381818185875af1925050503d8060008114610cc7576040519150601f19603f3d011682016040523d82523d6000602084013e610ccc565b606091505b5050905080610ced5760405162461bcd60e51b815260040161066590611760565b505b6000610cfa33610462565b905080600003610d1c5760405162461bcd60e51b815260040161066590611797565b600654341015610d3e5760405162461bcd60e51b81526004016106659061170e565b336000908152600c6020526040902054610d599082906116bd565b336000818152600c60205260409081902092909255600554915163a9059cbb60e01b81526004810191909152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015610dc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de491906117c5565b610e01576040516312171d8360e31b815260040160405180910390fd5b604080518281523360208201527fdd73fac0473ab56f7ea2725bcf0b74d1321d516447bfe4e3705c3c9853718e2591016109a3565b610e3e6112d6565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf91906117c5565b610ecc576040516312171d8360e31b815260040160405180910390fd5b60408051338152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649101610b29565b610f0a6112d6565b80471015610f515760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610665565b604051600090339083908381818185875af1925050503d8060008114610f93576040519150601f19603f3d011682016040523d82523d6000602084013e610f98565b606091505b5050905080610fba57604051631d42c86760e21b815260040160405180910390fd5b60408051338152602081018490527fccbd99ba6da8f29b2a4f65e474e3c3973564d356c162c08d45f3dc7f0cb5b3aa9101610b29565b610ff8611330565b336000908152600e602052604090205460ff16156110285760405162461bcd60e51b8152600401610665906116e6565b60075434908082101561104d5760405162461bcd60e51b81526004016106659061170e565b60006110598383611389565b905080156110cb57604051600090339083908381818185875af1925050503d80600081146110a3576040519150601f19603f3d011682016040523d82523d6000602084013e6110a8565b606091505b50509050806110c95760405162461bcd60e51b815260040161066590611760565b505b60006110d633610462565b9050806000036110f85760405162461bcd60e51b815260040161066590611797565b60075434101561111a5760405162461bcd60e51b81526004016106659061170e565b336000908152600c60205260409020546111359082906116bd565b336000908152600c60205260409081902091909155600554600a54915163095ea7b360e01b81526001600160a01b0392831660048201526024810184905291169063095ea7b3906044016020604051808303816000875af115801561119e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c291906117c5565b50600a5460405163fd88fa7f60e01b8152600481018390523360248201526001600160a01b039091169063fd88fa7f90604401600060405180830381600087803b15801561120f57600080fd5b505af1158015611223573d6000803e3d6000fd5b5050604080518481523360208201527f4f98e5297023d5a026421b4a8240a76cd26402b197e1aafe090e6b5f90a5bf9b93500190506109a3565b6112656112d6565b6001600160a01b0381166112ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610665565b6112d381611393565b50565b6000546001600160a01b031633146109b85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610665565b6002600154036113825760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610665565b6002600155565b8082035b92915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146112d357600080fd5b60006020828403121561140a57600080fd5b8135611415816113e3565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561145b5761145b61141c565b604052919050565b600067ffffffffffffffff82111561147d5761147d61141c565b5060051b60200190565b600082601f83011261149857600080fd5b813560206114ad6114a883611463565b611432565b82815260059290921b840181019181810190868411156114cc57600080fd5b8286015b848110156114f05780356114e3816113e3565b83529183019183016114d0565b509695505050505050565b6000806040838503121561150e57600080fd5b823567ffffffffffffffff8082111561152657600080fd5b61153286838701611487565b935060209150818501358181111561154957600080fd5b85019050601f8101861361155c57600080fd5b803561156a6114a882611463565b81815260059190911b8201830190838101908883111561158957600080fd5b928401925b828410156115a75783358252928401929084019061158e565b80955050505050509250929050565b80151581146112d357600080fd5b600080604083850312156115d757600080fd5b823567ffffffffffffffff8111156115ee57600080fd5b6115fa85828601611487565b925050602083013561160b816115b6565b809150509250929050565b60006020828403121561162857600080fd5b5035919050565b6000806040838503121561164257600080fd5b823561164d816113e3565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761138d5761138d61165b565b6000826116a557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561138d5761138d61165b565b8082018082111561138d5761138d61165b565b634e487b7160e01b600052603260045260246000fd5b6020808252600e908201526d20b1b1b7bab73a10333937bd32b760911b604082015260600190565b60208082526032908201527f496e73756666696369656e74206665653a2074686520726571756972656420666040820152711959481b5d5cdd0818994818dbdd995c995960721b606082015260800190565b6020808252601c908201527f4661696c656420746f2072657475726e206f7665727061796d656e7400000000604082015260600190565b6020808252601490820152734e6f20746f6b656e7320746f2072656c6561736560601b604082015260600190565b6000602082840312156117d757600080fd5b8151611415816115b656fea2646970667358221220ce3bb496db2436436237fd0e608eca438c5aaec996051eb61098b4f2a79ee10e64736f6c634300081200330000000000000000000000000000000000000000000000000000000065f027a0000000000000000000000000000000000000000000000000000000006690fea0000000000000000000000000000000000000000000000000000000006964c620000000000000000000000000b299751b088336e165da313c33e3195b8c6663a60000000000000000000000000000000000000000000000000000e35fa931a00000000000000000000000000000000000000000000000000000002d79883d200000000000000000000000000000000000000000000000000000002d79883d20000000000000000000000000000000000000000000000000000000000000002710
Deployed Bytecode
0x60806040526004361061013f5760003560e01c806377dac972116100b6578063c311d0491161006f578063c311d04914610397578063df63fdb6146103b7578063e2f0f42d146103f7578063e601cf441461040d578063f1da56821461043a578063f2fde38b1461044257600080fd5b806377dac9721461029b57806379502c55146102bb57806386d1a69f146103305780638da5cb5b146103385780639e281a98146103605780639e568c491461038057600080fd5b806341b0ee081161010857806341b0ee08146101e65780634fc910031461020657806357e739bf146102265780635ba26f2d146102465780636360463a14610266578063715018a61461028657600080fd5b8062c653eb146101445780631726cbc81461016f57806327cea3a81461018f578063386fef11146101bc57806339d4115f146101de575b600080fd5b34801561015057600080fd5b5061015c6301e1855881565b6040519081526020015b60405180910390f35b34801561017b57600080fd5b5061015c61018a3660046113f8565b610462565b34801561019b57600080fd5b5061015c6101aa3660046113f8565b600c6020526000908152604090205481565b3480156101c857600080fd5b506101dc6101d73660046114fb565b6105f4565b005b6101dc6106ec565b3480156101f257600080fd5b506101dc6102013660046115c4565b6109ba565b34801561021257600080fd5b506101dc6102213660046113f8565b610a8a565b34801561023257600080fd5b506101dc610241366004611616565b610ae7565b34801561025257600080fd5b506101dc610261366004611616565b610b35565b34801561027257600080fd5b506101dc6102813660046113f8565b610b7b565b34801561029257600080fd5b506101dc610bbc565b3480156102a757600080fd5b506101dc6102b6366004611616565b610bce565b3480156102c757600080fd5b506002546003546004546005546006546007546008546102f3969594936001600160a01b031692919087565b604080519788526020880196909652948601939093526001600160a01b039091166060850152608084015260a083015260c082015260e001610166565b6101dc610c14565b34801561034457600080fd5b506000546040516001600160a01b039091168152602001610166565b34801561036c57600080fd5b506101dc61037b36600461162f565b610e36565b34801561038c57600080fd5b5061015c620186a081565b3480156103a357600080fd5b506101dc6103b2366004611616565b610f02565b3480156103c357600080fd5b506103e76103d23660046113f8565b600e6020526000908152604090205460ff1681565b6040519015158152602001610166565b34801561040357600080fd5b5061015c600b5481565b34801561041957600080fd5b5061015c6104283660046113f8565b600d6020526000908152604090205481565b6101dc610ff0565b34801561044e57600080fd5b506101dc61045d3660046113f8565b61125d565b6001600160a01b0381166000908152600e602052604081205460ff161561048b57506000919050565b60025442101561049d57506000919050565b6001600160a01b0382166000908152600d6020526040812054600b54909190620186a0906104cb9084611671565b6104d59190611688565b60035490915042101561050d576001600160a01b0384166000908152600c602052604090205461050590826116aa565b949350505050565b60045442111561053a576001600160a01b0384166000908152600c602052604090205461050590836116aa565b600061054682846116aa565b60035490915060009061055990426116aa565b60035460045491925060009161056f91906116aa565b905060008161057e8486611671565b6105889190611688565b6001600160a01b0389166000908152600c60205260409020549091506105ae86836116bd565b106105e5576001600160a01b0388166000908152600c60205260409020546105d686836116bd565b6105e091906116aa565b6105e8565b60005b98975050505050505050565b6105fc6112d6565b815181511461066e5760405162461bcd60e51b815260206004820152603360248201527f416d6f756e747320616e642075736572416464726573736573206d75737420686044820152720c2ecca40e8d0ca40e6c2daca40d8cadccee8d606b1b60648201526084015b60405180910390fd5b60005b82518110156106e75781818151811061068c5761068c6116d0565b6020026020010151600d60008584815181106106aa576106aa6116d0565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055506106e08160010190565b9050610671565b505050565b6106f4611330565b336000908152600e602052604090205460ff16156107245760405162461bcd60e51b8152600401610665906116e6565b6008543490808210156107495760405162461bcd60e51b81526004016106659061170e565b60006107558383611389565b905080156107c757604051600090339083908381818185875af1925050503d806000811461079f576040519150601f19603f3d011682016040523d82523d6000602084013e6107a4565b606091505b50509050806107c55760405162461bcd60e51b815260040161066590611760565b505b60006107d233610462565b9050806000036107f45760405162461bcd60e51b815260040161066590611797565b6009546001600160a01b03166108425760405162461bcd60e51b81526020600482015260136024820152721059191c995cdcc81b9bdd081919599a5b9959606a1b6044820152606401610665565b6008543410156108645760405162461bcd60e51b81526004016106659061170e565b336000908152600c602052604090205461087f9082906116bd565b336000908152600c60205260409081902091909155600554600954915163095ea7b360e01b81526001600160a01b0392831660048201526024810184905291169063095ea7b3906044016020604051808303816000875af11580156108e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090c91906117c5565b506009546040516327b1805160e11b8152600481018390523360248201526001600160a01b0390911690634f6300a290604401600060405180830381600087803b15801561095957600080fd5b505af115801561096d573d6000803e3d6000fd5b5050604080518481523360208201527f663de8f2e14b3620ffecd306d80961aaa78ec266a4722022c580b2f68936860f93500190505b60405180910390a1505050506109b860018055565b565b6109c26112d6565b60005b82518110156106e75781600e60008584815181106109e5576109e56116d0565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550828181518110610a3657610a366116d0565b60200260200101516001600160a01b03167fd16a7a4ba83c78a07676c543502e8155f633ecd3c35abb1da51bcbf129758b0f83604051610a7a911515815260200190565b60405180910390a26001016109c5565b610a926112d6565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527ff6cd2a06182d5d09becddeadb7a155f6daae1a6cf8eb0aeef8476c936efe7534906020015b60405180910390a150565b610aef6112d6565b600680549082905560408051838152602081018390527f8987e6f43a6c6bf408c8c427dceb2f98377f859348939ef4ab7b770b510a395a91015b60405180910390a15050565b610b3d6112d6565b600780549082905560408051838152602081018390527f8987e6f43a6c6bf408c8c427dceb2f98377f859348939ef4ab7b770b510a395a9101610b29565b610b836112d6565b6040516001600160a01b03821681527ff6cd2a06182d5d09becddeadb7a155f6daae1a6cf8eb0aeef8476c936efe753490602001610adc565b610bc46112d6565b6109b86000611393565b610bd66112d6565b600880549082905560408051838152602081018390527f8987e6f43a6c6bf408c8c427dceb2f98377f859348939ef4ab7b770b510a395a9101610b29565b610c1c611330565b336000908152600e602052604090205460ff1615610c4c5760405162461bcd60e51b8152600401610665906116e6565b600654349080821015610c715760405162461bcd60e51b81526004016106659061170e565b6000610c7d8383611389565b90508015610cef57604051600090339083908381818185875af1925050503d8060008114610cc7576040519150601f19603f3d011682016040523d82523d6000602084013e610ccc565b606091505b5050905080610ced5760405162461bcd60e51b815260040161066590611760565b505b6000610cfa33610462565b905080600003610d1c5760405162461bcd60e51b815260040161066590611797565b600654341015610d3e5760405162461bcd60e51b81526004016106659061170e565b336000908152600c6020526040902054610d599082906116bd565b336000818152600c60205260409081902092909255600554915163a9059cbb60e01b81526004810191909152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015610dc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de491906117c5565b610e01576040516312171d8360e31b815260040160405180910390fd5b604080518281523360208201527fdd73fac0473ab56f7ea2725bcf0b74d1321d516447bfe4e3705c3c9853718e2591016109a3565b610e3e6112d6565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf91906117c5565b610ecc576040516312171d8360e31b815260040160405180910390fd5b60408051338152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649101610b29565b610f0a6112d6565b80471015610f515760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610665565b604051600090339083908381818185875af1925050503d8060008114610f93576040519150601f19603f3d011682016040523d82523d6000602084013e610f98565b606091505b5050905080610fba57604051631d42c86760e21b815260040160405180910390fd5b60408051338152602081018490527fccbd99ba6da8f29b2a4f65e474e3c3973564d356c162c08d45f3dc7f0cb5b3aa9101610b29565b610ff8611330565b336000908152600e602052604090205460ff16156110285760405162461bcd60e51b8152600401610665906116e6565b60075434908082101561104d5760405162461bcd60e51b81526004016106659061170e565b60006110598383611389565b905080156110cb57604051600090339083908381818185875af1925050503d80600081146110a3576040519150601f19603f3d011682016040523d82523d6000602084013e6110a8565b606091505b50509050806110c95760405162461bcd60e51b815260040161066590611760565b505b60006110d633610462565b9050806000036110f85760405162461bcd60e51b815260040161066590611797565b60075434101561111a5760405162461bcd60e51b81526004016106659061170e565b336000908152600c60205260409020546111359082906116bd565b336000908152600c60205260409081902091909155600554600a54915163095ea7b360e01b81526001600160a01b0392831660048201526024810184905291169063095ea7b3906044016020604051808303816000875af115801561119e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c291906117c5565b50600a5460405163fd88fa7f60e01b8152600481018390523360248201526001600160a01b039091169063fd88fa7f90604401600060405180830381600087803b15801561120f57600080fd5b505af1158015611223573d6000803e3d6000fd5b5050604080518481523360208201527f4f98e5297023d5a026421b4a8240a76cd26402b197e1aafe090e6b5f90a5bf9b93500190506109a3565b6112656112d6565b6001600160a01b0381166112ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610665565b6112d381611393565b50565b6000546001600160a01b031633146109b85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610665565b6002600154036113825760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610665565b6002600155565b8082035b92915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146112d357600080fd5b60006020828403121561140a57600080fd5b8135611415816113e3565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561145b5761145b61141c565b604052919050565b600067ffffffffffffffff82111561147d5761147d61141c565b5060051b60200190565b600082601f83011261149857600080fd5b813560206114ad6114a883611463565b611432565b82815260059290921b840181019181810190868411156114cc57600080fd5b8286015b848110156114f05780356114e3816113e3565b83529183019183016114d0565b509695505050505050565b6000806040838503121561150e57600080fd5b823567ffffffffffffffff8082111561152657600080fd5b61153286838701611487565b935060209150818501358181111561154957600080fd5b85019050601f8101861361155c57600080fd5b803561156a6114a882611463565b81815260059190911b8201830190838101908883111561158957600080fd5b928401925b828410156115a75783358252928401929084019061158e565b80955050505050509250929050565b80151581146112d357600080fd5b600080604083850312156115d757600080fd5b823567ffffffffffffffff8111156115ee57600080fd5b6115fa85828601611487565b925050602083013561160b816115b6565b809150509250929050565b60006020828403121561162857600080fd5b5035919050565b6000806040838503121561164257600080fd5b823561164d816113e3565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761138d5761138d61165b565b6000826116a557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561138d5761138d61165b565b8082018082111561138d5761138d61165b565b634e487b7160e01b600052603260045260246000fd5b6020808252600e908201526d20b1b1b7bab73a10333937bd32b760911b604082015260600190565b60208082526032908201527f496e73756666696369656e74206665653a2074686520726571756972656420666040820152711959481b5d5cdd0818994818dbdd995c995960721b606082015260800190565b6020808252601c908201527f4661696c656420746f2072657475726e206f7665727061796d656e7400000000604082015260600190565b6020808252601490820152734e6f20746f6b656e7320746f2072656c6561736560601b604082015260600190565b6000602082840312156117d757600080fd5b8151611415816115b656fea2646970667358221220ce3bb496db2436436237fd0e608eca438c5aaec996051eb61098b4f2a79ee10e64736f6c63430008120033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$16,478.96
Net Worth in ETH
5.743332
Token Allocations
STAR
60.88%
AIRENA
33.26%
ETH
5.86%
Multichain Portfolio | 35 Chains
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.