Source Code
Latest 25 from a total of 126 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Claim Token | 56107710 | 65 days ago | IN | 0 S | 0.00527642 | ||||
| Claim Token | 54994252 | 74 days ago | IN | 0 S | 0.00661926 | ||||
| Claim Token | 51537165 | 95 days ago | IN | 0 S | 0.00568153 | ||||
| Claim Token | 51479770 | 96 days ago | IN | 0 S | 0.00568153 | ||||
| Claim Token | 51477825 | 96 days ago | IN | 0 S | 0.00559879 | ||||
| Claim Token | 51476914 | 96 days ago | IN | 0 S | 0.00568153 | ||||
| Claim Token | 49828432 | 109 days ago | IN | 0 S | 0.00551605 | ||||
| Claim Token | 49426729 | 112 days ago | IN | 0 S | 0.003702 | ||||
| Claim Token | 49191139 | 115 days ago | IN | 0 S | 0.004557 | ||||
| Claim Token | 49177036 | 115 days ago | IN | 0 S | 0.003899 | ||||
| Claim Token | 48689651 | 119 days ago | IN | 0 S | 0.003702 | ||||
| Claim Token | 47824184 | 125 days ago | IN | 0 S | 0.0042889 | ||||
| Claim Token | 47652664 | 126 days ago | IN | 0 S | 0.004557 | ||||
| Claim Token | 47652005 | 126 days ago | IN | 0 S | 0.004557 | ||||
| Claim Token | 47125845 | 131 days ago | IN | 0 S | 0.00566084 | ||||
| Claim Token | 47123760 | 131 days ago | IN | 0 S | 0.00661926 | ||||
| Claim Token | 47010937 | 132 days ago | IN | 0 S | 0.00165544 | ||||
| Claim Token | 47010853 | 132 days ago | IN | 0 S | 0.00580406 | ||||
| Claim Token | 46749258 | 134 days ago | IN | 0 S | 0.004557 | ||||
| Claim Token | 46505638 | 136 days ago | IN | 0 S | 0.00540833 | ||||
| Claim Token | 46283574 | 138 days ago | IN | 0 S | 0.00493223 | ||||
| Claim Token | 46265229 | 139 days ago | IN | 0 S | 0.00527642 | ||||
| Claim Token | 46258373 | 139 days ago | IN | 0 S | 0.00527642 | ||||
| Claim Token | 46258305 | 139 days ago | IN | 0 S | 0.00527642 | ||||
| Claim Token | 46258066 | 139 days ago | IN | 0 S | 0.00479675 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
SinglePhaseSingleTokenDistributor
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.24;
import "@openzeppelin/contracts/access/Ownable2Step.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
contract SinglePhaseSingleTokenDistributor is Ownable2Step, ReentrancyGuard {
// ***** State Variables *****
IERC20 public distributedToken;
// Account => amount for distribution
mapping(address => uint) public distributionAmounts;
// Account => did receive distribution
mapping(address => bool) public distributed;
uint public totalDistributed;
uint public totalCommitment;
// ***** Events *****
event DistributionAssigned(address indexed account, uint amount);
event TokenDistributed(address indexed account, uint amount);
// ***** Constructor *****
constructor(address _distributionToken) Ownable(msg.sender) {
distributedToken = IERC20(_distributionToken);
}
// ***** Admin Functions *****
/**
* @notice Admin function to set the amounts for each account
*/
function setAmounts(
address[] calldata _accounts,
uint[] calldata _amounts
) external onlyOwner {
require(_accounts.length == _amounts.length, "lengths should match");
uint newTotalCommitment = totalCommitment;
for (uint i; i < _accounts.length; i++) {
newTotalCommitment += _amounts[i];
setAmountForAccountInternal(_accounts[i], _amounts[i]);
}
totalCommitment = newTotalCommitment;
}
/**
* @notice A public function to sweep accidental ERC-20 transfers to this contract. Tokens are sent to admin (Timelock)
* @param token The address of the ERC-20 token to sweep
*/
function sweepToken(IERC20 token) external onlyOwner {
uint256 balance = token.balanceOf(address(this));
token.transfer(owner(), balance);
}
// ***** Public Functions *****
/**
* @notice Allows msg.sender to claim the token, if entitled to.
*/
function claimToken() external nonReentrant {
claimInternal(msg.sender);
}
// ***** View Functions *****
/**
* @notice The 'distribution token' balance of this contract
*/
function selfBalance() public view returns (uint) {
return distributedToken.balanceOf(address(this));
}
// ***** Internal Functions *****
function setAmountForAccountInternal(
address _account,
uint _amount
) internal {
require(!distributed[_account], "account already received distribution");
require(distributionAmounts[_account] == 0, "already assigned");
distributionAmounts[_account] = _amount;
emit DistributionAssigned(_account, _amount);
}
function claimInternal(address _account) internal {
require(!distributed[_account], "account already received distribution");
uint amount = distributionAmounts[_account];
require(amount > 0, "not entitled");
uint contractBalance = selfBalance();
require(contractBalance >= amount, "not enough to distribute");
distributed[_account] = true;
totalDistributed += amount;
distributedToken.transfer(_account, amount);
emit TokenDistributed(_account, amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol)
pragma solidity ^0.8.20;
import {Ownable} from "./Ownable.sol";
/**
* @dev Contract module which provides access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is specified at deployment time in the constructor for `Ownable`. This
* can later be changed with {transferOwnership} and {acceptOwnership}.
*
* This module is used through inheritance. It will make available all functions
* from parent (Ownable).
*/
abstract contract Ownable2Step is Ownable {
address private _pendingOwner;
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);
/**
* @dev Returns the address of the pending owner.
*/
function pendingOwner() public view virtual returns (address) {
return _pendingOwner;
}
/**
* @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual override onlyOwner {
_pendingOwner = newOwner;
emit OwnershipTransferStarted(owner(), newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual override {
delete _pendingOwner;
super._transferOwnership(newOwner);
}
/**
* @dev The new owner accepts the ownership transfer.
*/
function acceptOwnership() public virtual {
address sender = _msgSender();
if (pendingOwner() != sender) {
revert OwnableUnauthorizedAccount(sender);
}
_transferOwnership(sender);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)
pragma solidity ^0.8.20;
/**
* @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;
/**
* @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;
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_distributionToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DistributionAssigned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenDistributed","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"distributed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributedToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"distributionAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"selfBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"setAmounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"sweepToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalCommitment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50604051610bf3380380610bf383398101604081905261002f916100f5565b338061005557604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61005e81610089565b506001600255600380546001600160a01b0319166001600160a01b0392909216919091179055610125565b600180546001600160a01b03191690556100a2816100a5565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561010757600080fd5b81516001600160a01b038116811461011e57600080fd5b9392505050565b610abf806101346000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638c1b51541161008c578063b0bed0ba11610066578063b0bed0ba146101d6578063e30c3978146101de578063efca2eed146101ef578063f2fde38b146101f857600080fd5b80638c1b51541461018b5780638da5cb5b1461019e5780638f49da4b146101c357600080fd5b80634451d89f116100c85780634451d89f14610140578063578bcf3514610148578063715018a61461017b57806379ba50971461018357600080fd5b806301ecefa1146100ef5780630ec484261461010b5780631be195601461012b575b600080fd5b6100f860075481565b6040519081526020015b60405180910390f35b6100f86101193660046108f0565b60046020526000908152604090205481565b61013e6101393660046108f0565b61020b565b005b61013e610317565b61016b6101563660046108f0565b60056020526000908152604090205460ff1681565b6040519015158152602001610102565b61013e610334565b61013e610346565b61013e610199366004610960565b61038f565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b6003546101ab906001600160a01b031681565b6100f861046b565b6001546001600160a01b03166101ab565b6100f860065481565b61013e6102063660046108f0565b6104dd565b61021361054e565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027e91906109cc565b9050816001600160a01b031663a9059cbb6102a16000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156102ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031291906109e5565b505050565b61031f61057b565b610328336105a3565b6103326001600255565b565b61033c61054e565b6103326000610787565b60015433906001600160a01b031681146103835760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b61038c81610787565b50565b61039761054e565b8281146103dd5760405162461bcd60e51b81526020600482015260146024820152730d8cadccee8d0e640e6d0deead8c840dac2e8c6d60631b604482015260640161037a565b60075460005b84811015610461578383828181106103fd576103fd610a07565b905060200201358261040f9190610a1d565b915061045986868381811061042657610426610a07565b905060200201602081019061043b91906108f0565b85858481811061044d5761044d610a07565b905060200201356107a0565b6001016103e3565b5060075550505050565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156104b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d891906109cc565b905090565b6104e561054e565b600180546001600160a01b0383166001600160a01b031990911681179091556105166000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000546001600160a01b031633146103325760405163118cdaa760e01b815233600482015260240161037a565b600280540361059d57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b6001600160a01b03811660009081526005602052604090205460ff16156105dc5760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038116600090815260046020526040902054806106315760405162461bcd60e51b815260206004820152600c60248201526b1b9bdd08195b9d1a5d1b195960a21b604482015260640161037a565b600061063b61046b565b90508181101561068d5760405162461bcd60e51b815260206004820152601860248201527f6e6f7420656e6f75676820746f20646973747269627574650000000000000000604482015260640161037a565b6001600160a01b0383166000908152600560205260408120805460ff19166001179055600680548492906106c2908490610a1d565b909155505060035460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af115801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e91906109e5565b50826001600160a01b03167ff6f55ada4fbb9e2bc6813f97e749a30067f3c13a200ce783269b50e6419e8f648360405161077a91815260200190565b60405180910390a2505050565b600180546001600160a01b031916905561038c8161088b565b6001600160a01b03821660009081526005602052604090205460ff16156107d95760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038216600090815260046020526040902054156108325760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e48185cdcda59db995960821b604482015260640161037a565b6001600160a01b03821660008181526004602052604090819020839055517f4f995813143f46bc49e81b9b001594dd0707cdf28df48f593ccb571259a6c52d9061087f9084815260200190565b60405180910390a25050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461038c57600080fd5b60006020828403121561090257600080fd5b813561090d816108db565b9392505050565b60008083601f84011261092657600080fd5b50813567ffffffffffffffff81111561093e57600080fd5b6020830191508360208260051b850101111561095957600080fd5b9250929050565b6000806000806040858703121561097657600080fd5b843567ffffffffffffffff8082111561098e57600080fd5b61099a88838901610914565b909650945060208701359150808211156109b357600080fd5b506109c087828801610914565b95989497509550505050565b6000602082840312156109de57600080fd5b5051919050565b6000602082840312156109f757600080fd5b8151801515811461090d57600080fd5b634e487b7160e01b600052603260045260246000fd5b80820180821115610a3e57634e487b7160e01b600052601160045260246000fd5b92915050565b60208082526025908201527f6163636f756e7420616c726561647920726563656976656420646973747269626040820152643aba34b7b760d91b60608201526080019056fea2646970667358221220a0c6290f941ef4d8abf904186cb3706d7b1fc90baf85620cca24a8d3065547dd64736f6c63430008180033000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638c1b51541161008c578063b0bed0ba11610066578063b0bed0ba146101d6578063e30c3978146101de578063efca2eed146101ef578063f2fde38b146101f857600080fd5b80638c1b51541461018b5780638da5cb5b1461019e5780638f49da4b146101c357600080fd5b80634451d89f116100c85780634451d89f14610140578063578bcf3514610148578063715018a61461017b57806379ba50971461018357600080fd5b806301ecefa1146100ef5780630ec484261461010b5780631be195601461012b575b600080fd5b6100f860075481565b6040519081526020015b60405180910390f35b6100f86101193660046108f0565b60046020526000908152604090205481565b61013e6101393660046108f0565b61020b565b005b61013e610317565b61016b6101563660046108f0565b60056020526000908152604090205460ff1681565b6040519015158152602001610102565b61013e610334565b61013e610346565b61013e610199366004610960565b61038f565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b6003546101ab906001600160a01b031681565b6100f861046b565b6001546001600160a01b03166101ab565b6100f860065481565b61013e6102063660046108f0565b6104dd565b61021361054e565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027e91906109cc565b9050816001600160a01b031663a9059cbb6102a16000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156102ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031291906109e5565b505050565b61031f61057b565b610328336105a3565b6103326001600255565b565b61033c61054e565b6103326000610787565b60015433906001600160a01b031681146103835760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b61038c81610787565b50565b61039761054e565b8281146103dd5760405162461bcd60e51b81526020600482015260146024820152730d8cadccee8d0e640e6d0deead8c840dac2e8c6d60631b604482015260640161037a565b60075460005b84811015610461578383828181106103fd576103fd610a07565b905060200201358261040f9190610a1d565b915061045986868381811061042657610426610a07565b905060200201602081019061043b91906108f0565b85858481811061044d5761044d610a07565b905060200201356107a0565b6001016103e3565b5060075550505050565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156104b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d891906109cc565b905090565b6104e561054e565b600180546001600160a01b0383166001600160a01b031990911681179091556105166000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000546001600160a01b031633146103325760405163118cdaa760e01b815233600482015260240161037a565b600280540361059d57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b6001600160a01b03811660009081526005602052604090205460ff16156105dc5760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038116600090815260046020526040902054806106315760405162461bcd60e51b815260206004820152600c60248201526b1b9bdd08195b9d1a5d1b195960a21b604482015260640161037a565b600061063b61046b565b90508181101561068d5760405162461bcd60e51b815260206004820152601860248201527f6e6f7420656e6f75676820746f20646973747269627574650000000000000000604482015260640161037a565b6001600160a01b0383166000908152600560205260408120805460ff19166001179055600680548492906106c2908490610a1d565b909155505060035460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af115801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e91906109e5565b50826001600160a01b03167ff6f55ada4fbb9e2bc6813f97e749a30067f3c13a200ce783269b50e6419e8f648360405161077a91815260200190565b60405180910390a2505050565b600180546001600160a01b031916905561038c8161088b565b6001600160a01b03821660009081526005602052604090205460ff16156107d95760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038216600090815260046020526040902054156108325760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e48185cdcda59db995960821b604482015260640161037a565b6001600160a01b03821660008181526004602052604090819020839055517f4f995813143f46bc49e81b9b001594dd0707cdf28df48f593ccb571259a6c52d9061087f9084815260200190565b60405180910390a25050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461038c57600080fd5b60006020828403121561090257600080fd5b813561090d816108db565b9392505050565b60008083601f84011261092657600080fd5b50813567ffffffffffffffff81111561093e57600080fd5b6020830191508360208260051b850101111561095957600080fd5b9250929050565b6000806000806040858703121561097657600080fd5b843567ffffffffffffffff8082111561098e57600080fd5b61099a88838901610914565b909650945060208701359150808211156109b357600080fd5b506109c087828801610914565b95989497509550505050565b6000602082840312156109de57600080fd5b5051919050565b6000602082840312156109f757600080fd5b8151801515811461090d57600080fd5b634e487b7160e01b600052603260045260246000fd5b80820180821115610a3e57634e487b7160e01b600052601160045260246000fd5b92915050565b60208082526025908201527f6163636f756e7420616c726561647920726563656976656420646973747269626040820152643aba34b7b760d91b60608201526080019056fea2646970667358221220a0c6290f941ef4d8abf904186cb3706d7b1fc90baf85620cca24a8d3065547dd64736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38
-----Decoded View---------------
Arg [0] : _distributionToken (address): 0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$609.55
Net Worth in S
Token Allocations
WS
100.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| SONIC | 100.00% | $0.067387 | 9,045.5654 | $609.55 |
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.