Source Code
Latest 25 from a total of 1,216 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Claim Tokens | 23691356 | 11 days ago | IN | 0 ETH | 0.00025966 | ||||
| Claim Tokens | 23682526 | 12 days ago | IN | 0 ETH | 0.00022281 | ||||
| Claim Tokens | 23648969 | 17 days ago | IN | 0 ETH | 0.00021201 | ||||
| Claim Tokens | 23648710 | 17 days ago | IN | 0 ETH | 0.00012023 | ||||
| Claim Tokens | 23634330 | 19 days ago | IN | 0 ETH | 0.00019584 | ||||
| Claim Tokens | 23614000 | 22 days ago | IN | 0 ETH | 0.00010605 | ||||
| Claim Tokens | 23612053 | 22 days ago | IN | 0 ETH | 0.00013762 | ||||
| Claim Tokens | 23518917 | 35 days ago | IN | 0 ETH | 0.00020835 | ||||
| Claim Tokens | 23517524 | 35 days ago | IN | 0 ETH | 0.00009338 | ||||
| Claim Tokens | 23425354 | 48 days ago | IN | 0 ETH | 0.00011779 | ||||
| Claim Tokens | 23418187 | 49 days ago | IN | 0 ETH | 0.00012044 | ||||
| Claim Tokens | 23404164 | 51 days ago | IN | 0 ETH | 0.00008645 | ||||
| Claim Tokens | 23396738 | 52 days ago | IN | 0 ETH | 0.00010214 | ||||
| Claim Tokens | 23383027 | 54 days ago | IN | 0 ETH | 0.00012052 | ||||
| Claim Tokens | 23346201 | 59 days ago | IN | 0 ETH | 0.00010861 | ||||
| Claim Tokens | 23253312 | 72 days ago | IN | 0 ETH | 0.00012424 | ||||
| Claim Tokens | 23182621 | 82 days ago | IN | 0 ETH | 0.00025362 | ||||
| Claim Tokens | 23181353 | 82 days ago | IN | 0 ETH | 0.00014733 | ||||
| Claim Tokens | 23181323 | 82 days ago | IN | 0 ETH | 0.00018823 | ||||
| Claim Tokens | 23125937 | 90 days ago | IN | 0 ETH | 0.00043167 | ||||
| Claim Tokens | 23002061 | 107 days ago | IN | 0 ETH | 0.00014934 | ||||
| Claim Tokens | 22969123 | 112 days ago | IN | 0 ETH | 0.00032998 | ||||
| Claim Tokens | 22930287 | 118 days ago | IN | 0 ETH | 0.00028714 | ||||
| Claim Tokens | 22915130 | 120 days ago | IN | 0 ETH | 0.0003596 | ||||
| Claim Tokens | 22901805 | 121 days ago | IN | 0 ETH | 0.00021737 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| 0x60806040 | 15868189 | 1106 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
FasttokenDistribution
Compiler Version
v0.8.16+commit.07a7930e
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.16;
/// Openzeppelin imports
import '@openzeppelin/contracts/access/AccessControl.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
/// Local imports
import './Fasttoken.sol';
/**
* Fasttoken initial distribution
*/
contract FasttokenDistribution is AccessControl {
/// Constant private member variables
uint256 private constant MONTH = 30 days;
uint256 private constant YEAR = 12 * MONTH;
uint256 private constant DECIMAL_FACTOR = 10 ** 18;
uint256 private constant SIZE_OF_ALLOCATIONS = 10;
/// Constant public member variables
uint256 public constant SUPPLY = 1000000000 * DECIMAL_FACTOR;
uint256 public constant CANCELATION_PERIOD = 1 days;
bytes32 public constant FOUNDERS_DISTRIBUTOR_ROLE = keccak256('FOUNDERS_DISTRIBUTOR_ROLE');
bytes32 public constant ADVISORS_DISTRIBUTOR_ROLE = keccak256('ADVISORS_DISTRIBUTOR_ROLE');
bytes32 public constant TOKEN_SALE_DISTRIBUTOR_ROLE = keccak256('TOKEN_SALE_DISTRIBUTOR_ROLE');
bytes32 public constant MARKETING_PR_DISTRIBUTOR_ROLE = keccak256('MARKETING_PR_DISTRIBUTOR_ROLE');
bytes32 public constant ECOSYSTEM_DISTRIBUTOR_ROLE = keccak256('ECOSYSTEM_DISTRIBUTOR_ROLE');
bytes32 public constant BLOCKCHAIN_BURN_ROLE = keccak256('BLOCKCHAIN_BURN_ROLE');
/// Public variables
Fasttoken public fasttoken;
uint256 public availableAmount = SUPPLY;
uint256 public grandTotalClaimed = 0;
// Private variables
AllocationStructure[SIZE_OF_ALLOCATIONS] private _allocationTypes;
mapping(address => Allocation) private _allocations;
address[] private _allocatedAddresses;
/// Allocation State
enum AllocationState {
NotAllocated,
Allocated,
Canceled
}
/// Allocation Type
enum AllocationType {
Founders,
Advisors,
Private1,
Private2,
Marketing,
Partners,
Ecosystem,
Public,
Presale,
Blockchain
}
/// Allocation Structure
struct AllocationStructure {
uint256 lockupPeriod;
uint256 vesting;
uint256 totalAmount;
uint256 availableAmount;
}
/// Allocation with vesting information
struct Allocation {
AllocationType allocationType; // Type of allocation
uint256 allocationTime; // Locking calculated from this time
uint256 amount; // Total tokens allocated
uint256 amountClaimed; // Total tokens claimed
AllocationState state; // Allocation state
}
/// Events
event NewAllocation(address indexed recipient, AllocationType indexed allocationType, uint256 amount);
event TokenClaimed(address indexed recipient, AllocationType indexed allocationType, uint256 amountClaimed);
event CancelAllocation(address indexed recipient);
event BurnAllocation(AllocationType indexed allocationType, uint256 amount);
/// Constructor
constructor() {
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
_initAllocationTypes();
_checkAllocations();
fasttoken = new Fasttoken();
}
/// Sets allocation for the given recipient with corresponding amount.
function setAllocation(address recipient_, uint256 amount_, AllocationType allocationType_) public {
require(address(0x0) != recipient_, 'Recipient address cannot be 0x0');
require(0 < amount_, 'Allocated amount must be greater than 0');
//require(AllocationType.Blockchain != allocationType_, 'Cannot set allocation for blockchain type');
_checkRole(_msgSender(), allocationType_);
Allocation storage a = _allocations[recipient_];
require(AllocationState.Allocated != a.state, 'Recipient already has allocation');
if (AllocationState.NotAllocated == a.state) {
_allocatedAddresses.push(recipient_);
}
a.allocationType = allocationType_;
a.allocationTime = block.timestamp;
a.amount = amount_;
a.state = AllocationState.Allocated;
_allocationTypes[uint256(allocationType_)].availableAmount -= amount_;
availableAmount -= amount_;
emit NewAllocation(recipient_, allocationType_, amount_);
}
/// Sets allocation for the given recipient with corresponding amount.
function burn(AllocationType allocationType_) public {
require(AllocationType.Presale == allocationType_
|| AllocationType.Private1 == allocationType_
|| AllocationType.Private2 == allocationType_
|| AllocationType.Public == allocationType_
|| AllocationType.Blockchain == allocationType_,
'Burnable only Presale, Private1, Private2, Public, Blockchain allocations');
_checkRole(_msgSender(), allocationType_);
uint256 i = uint256(allocationType_);
if (0 != _allocationTypes[i].availableAmount) {
fasttoken.burn(_allocationTypes[i].availableAmount);
availableAmount -= _allocationTypes[i].availableAmount;
emit BurnAllocation(allocationType_, _allocationTypes[i].availableAmount);
_allocationTypes[i].availableAmount = 0;
}
}
/// Cancels allocation for the given recipient
function cancelAllocation(address recipient_) public {
Allocation storage a = _allocations[recipient_];
_checkRole(_msgSender(), a.allocationType);
require(AllocationState.Allocated == a.state, 'There is no allocation');
require(0 == a.amountClaimed, 'Cannot cancel allocation with claimed tokens');
require(block.timestamp < a.allocationTime + CANCELATION_PERIOD, 'Cancellation period expired');
a.state = AllocationState.Canceled;
availableAmount += a.amount;
_allocationTypes[uint256(a.allocationType)].availableAmount += a.amount;
emit CancelAllocation(recipient_);
}
/// Transfers a recipient's available allocation to their address
function claimTokens(address recipient_) public {
Allocation storage a = _allocations[recipient_];
require(AllocationState.Allocated == a.state, 'There is no allocation for the recipient');
require(a.amountClaimed < a.amount, 'Allocations have already been transferred');
AllocationStructure storage at = _allocationTypes[uint256(a.allocationType)];
uint256 newPercentage = 0;
if (block.timestamp > a.allocationTime + at.lockupPeriod) {
if (block.timestamp > a.allocationTime + at.lockupPeriod + at.vesting) {
newPercentage = 100;
} else {
uint256 n = at.vesting / MONTH; // at.vesting % MONTH == 0
newPercentage = (((block.timestamp - (a.allocationTime + at.lockupPeriod)) / MONTH) * 100) / n;
}
}
uint256 newAmountClaimed = a.amount;
if (newPercentage < 100) {
newAmountClaimed = a.amount * newPercentage / 100;
}
require(newAmountClaimed > a.amountClaimed, 'Tokens for this period are already transferred');
uint256 tokensToTransfer = newAmountClaimed - a.amountClaimed;
require(fasttoken.transfer(recipient_, tokensToTransfer), 'Cannot transfer tokens');
grandTotalClaimed += tokensToTransfer;
a.amountClaimed = newAmountClaimed;
emit TokenClaimed(recipient_, a.allocationType, tokensToTransfer);
}
/// Allows transfer of accidentally sent ERC20 tokens
function refundTokens(address recipientAddress_, address erc20Address_) external {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), 'Must have admin role to refund');
require(erc20Address_ != address(fasttoken), 'Cannot refund Fasttoken');
ERC20 erc20 = ERC20(erc20Address_);
uint256 balance = erc20.balanceOf(address(this));
require(erc20.transfer(recipientAddress_, balance), 'Cannot transfer tokens');
}
/// Allows transfer of accidentally sent Ethers
function refund(address payable recipientAddress_) external payable {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), 'Must have admin role to refund');
(bool success, ) = recipientAddress_.call{value: address(this).balance}('');
require(success, "Failed to send Ether");
}
/// Gets array of allocated addresses array
function allocatedAddresses() view external returns(address[] memory) {
return _allocatedAddresses;
}
/// Gets array of allocation types
function allocationTypes() view external returns(AllocationStructure[SIZE_OF_ALLOCATIONS] memory) {
return _allocationTypes;
}
/// Gets allocation properties for the given address
function allocation(address address_)
view
external
returns(AllocationType allocationType,
uint256 allocationTime,
uint256 amount,
uint256 amountClaimed,
AllocationState state) {
allocationType = _allocations[address_].allocationType;
allocationTime = _allocations[address_].allocationTime;
amount = _allocations[address_].amount;
amountClaimed = _allocations[address_].amountClaimed;
state = _allocations[address_].state;
}
/// Helper member functions
function _initAllocationTypes() private {
_allocationTypes[uint256(AllocationType.Founders)] = AllocationStructure(
2 * YEAR,
10 * MONTH,
200000000 * DECIMAL_FACTOR,
200000000 * DECIMAL_FACTOR
); // 20%
_allocationTypes[uint256(AllocationType.Advisors)] = AllocationStructure(
YEAR,
10 * MONTH,
30000000 * DECIMAL_FACTOR,
30000000 * DECIMAL_FACTOR
); // 3%
_allocationTypes[uint256(AllocationType.Private1)] = AllocationStructure(
YEAR,
10 * MONTH,
80000000 * DECIMAL_FACTOR,
80000000 * DECIMAL_FACTOR
); // 8%
_allocationTypes[uint256(AllocationType.Private2)] = AllocationStructure(
YEAR,
10 * MONTH,
100000000 * DECIMAL_FACTOR,
100000000 * DECIMAL_FACTOR
); // 10%
_allocationTypes[uint256(AllocationType.Marketing)] = AllocationStructure(
0,
0,
50000000 * DECIMAL_FACTOR,
50000000 * DECIMAL_FACTOR
); // 5%
_allocationTypes[uint256(AllocationType.Partners)] = AllocationStructure(
0,
0,
60000000 * DECIMAL_FACTOR,
60000000 * DECIMAL_FACTOR
); // 6%
_allocationTypes[uint256(AllocationType.Ecosystem)] = AllocationStructure(
0,
0,
240000000 * DECIMAL_FACTOR,
240000000 * DECIMAL_FACTOR
); // 24%
_allocationTypes[uint256(AllocationType.Public)] = AllocationStructure(
0,
0,
60000000 * DECIMAL_FACTOR,
60000000 * DECIMAL_FACTOR
); // 6%
_allocationTypes[uint256(AllocationType.Presale)] = AllocationStructure(
0,
0,
60000000 * DECIMAL_FACTOR,
60000000 * DECIMAL_FACTOR
); // 6%
_allocationTypes[uint256(AllocationType.Blockchain)] = AllocationStructure(
0,
0,
120000000 * DECIMAL_FACTOR,
120000000 * DECIMAL_FACTOR
); // 12% TODO
}
function _checkAllocations() view private {
uint256 sum = 0;
for (uint256 i = 0; i < SIZE_OF_ALLOCATIONS; ++i) {
sum += _allocationTypes[i].totalAmount;
}
require(SUPPLY == sum, 'Invalid allocation types');
}
function _checkRole(address sender_, AllocationType allocationType_) view private {
if (AllocationType.Founders == allocationType_) {
require(hasRole(FOUNDERS_DISTRIBUTOR_ROLE, sender_), 'Must have founders distribution role');
} else if (AllocationType.Advisors == allocationType_) {
require(hasRole(ADVISORS_DISTRIBUTOR_ROLE, sender_), 'Must have advisors distribution role');
} else if (AllocationType.Private1 == allocationType_
|| AllocationType.Private2 == allocationType_
|| AllocationType.Public == allocationType_
|| AllocationType.Presale == allocationType_) {
require(hasRole(TOKEN_SALE_DISTRIBUTOR_ROLE, sender_), 'Must have token sale distribution role');
} else if (AllocationType.Marketing == allocationType_
|| AllocationType.Partners == allocationType_) {
require(hasRole(MARKETING_PR_DISTRIBUTOR_ROLE, sender_), 'Must have marketing and pr distribution role');
} else if (AllocationType.Ecosystem == allocationType_) {
require(hasRole(ECOSYSTEM_DISTRIBUTOR_ROLE, sender_), 'Must have ecosystem distribution role');
} else if (AllocationType.Blockchain == allocationType_) {
require(hasRole(BLOCKCHAIN_BURN_ROLE, sender_), 'Must have blockchain burn role to burn Blockchain tokens');
} else {
require(false, 'Unsupported allocation type');
}
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
/// Openzeppelin imports
import '@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol';
/**
* Implementation of Fasttoken.
* Fasttoken is a standard ERC20 burnable token.
*/
contract Fasttoken is ERC20Burnable {
uint256 public constant INITIALSUPPLY = 1000000000 * (10 ** 18);
constructor()
ERC20('Fasttoken', 'FTN') {
_mint(msg.sender, INITIALSUPPLY);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}// 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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
_spendAllowance(account, _msgSender(), amount);
_burn(account, amount);
}
}// 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 (last updated v4.7.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `_msgSender()` is missing `role`.
* Overriding this function changes the behavior of the {onlyRole} modifier.
*
* Format of the revert message is described in {_checkRole}.
*
* _Available since v4.6._
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(uint160(account), 20),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* May emit a {RoleGranted} event.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "london",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum FasttokenDistribution.AllocationType","name":"allocationType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BurnAllocation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"}],"name":"CancelAllocation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"enum FasttokenDistribution.AllocationType","name":"allocationType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NewAllocation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"enum FasttokenDistribution.AllocationType","name":"allocationType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"amountClaimed","type":"uint256"}],"name":"TokenClaimed","type":"event"},{"inputs":[],"name":"ADVISORS_DISTRIBUTOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BLOCKCHAIN_BURN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CANCELATION_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ECOSYSTEM_DISTRIBUTOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FOUNDERS_DISTRIBUTOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MARKETING_PR_DISTRIBUTOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_SALE_DISTRIBUTOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allocatedAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"allocation","outputs":[{"internalType":"enum FasttokenDistribution.AllocationType","name":"allocationType","type":"uint8"},{"internalType":"uint256","name":"allocationTime","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"amountClaimed","type":"uint256"},{"internalType":"enum FasttokenDistribution.AllocationState","name":"state","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allocationTypes","outputs":[{"components":[{"internalType":"uint256","name":"lockupPeriod","type":"uint256"},{"internalType":"uint256","name":"vesting","type":"uint256"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"availableAmount","type":"uint256"}],"internalType":"struct FasttokenDistribution.AllocationStructure[10]","name":"","type":"tuple[10]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"availableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum FasttokenDistribution.AllocationType","name":"allocationType_","type":"uint8"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"}],"name":"cancelAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fasttoken","outputs":[{"internalType":"contract Fasttoken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"grandTotalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipientAddress_","type":"address"}],"name":"refund","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipientAddress_","type":"address"},{"internalType":"address","name":"erc20Address_","type":"address"}],"name":"refundTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"enum FasttokenDistribution.AllocationType","name":"allocationType_","type":"uint8"}],"name":"setAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60806040526200001c670de0b6b3a7640000633b9aca0062000717565b60025560006003553480156200003157600080fd5b506200003f600033620000a5565b62000049620000b5565b6200005362000583565b6040516200006190620006f3565b604051809103906000f0801580156200007e573d6000803e3d6000fd5b50600180546001600160a01b0319166001600160a01b039290921691909117905562000781565b620000b1828262000640565b5050565b604051806080016040528062278d00600c620000d2919062000717565b620000df90600262000717565b8152602001620000f462278d00600a62000717565b815260200162000111670de0b6b3a7640000630bebc20062000717565b81526020016200012e670de0b6b3a7640000630bebc20062000717565b905280516004556020810151600555604080820151600655606090910151600755805160808101909152806200016962278d00600c62000717565b81526020016200017e62278d00600a62000717565b81526020016200019b670de0b6b3a76400006301c9c38062000717565b8152602001620001b8670de0b6b3a76400006301c9c38062000717565b905280516008556020810151600955604080820151600a55606090910151600b5580516080810190915280620001f362278d00600c62000717565b81526020016200020862278d00600a62000717565b815260200162000225670de0b6b3a76400006304c4b40062000717565b815260200162000242670de0b6b3a76400006304c4b40062000717565b90528051600c9081556020820151600d55604080830151600e55606090920151600f558151608081019092528190620002809062278d009062000717565b81526020016200029562278d00600a62000717565b8152602001620002b2670de0b6b3a76400006305f5e10062000717565b8152602001620002cf670de0b6b3a76400006305f5e10062000717565b90528051601055602080820151601155604080830151601255606090920151601355815160808101835260008082529181019190915290810162000320670de0b6b3a76400006302faf08062000717565b81526020016200033d670de0b6b3a76400006302faf08062000717565b9052805160145560208082015160155560408083015160165560609092015160175581516080810183526000808252918101919091529081016200038e670de0b6b3a7640000630393870062000717565b8152602001620003ab670de0b6b3a7640000630393870062000717565b90528051601855602080820151601955604080830151601a55606090920151601b558151608081018352600080825291810191909152908101620003fc670de0b6b3a7640000630e4e1c0062000717565b815260200162000419670de0b6b3a7640000630e4e1c0062000717565b90528051601c55602080820151601d55604080830151601e55606090920151601f5581516080810183526000808252918101919091529081016200046a670de0b6b3a7640000630393870062000717565b815260200162000487670de0b6b3a7640000630393870062000717565b905280516020908155818101516021556040808301516022556060909201516023558151608081018352600080825291810191909152908101620004d8670de0b6b3a7640000630393870062000717565b8152602001620004f5670de0b6b3a7640000630393870062000717565b90528051602455602081810151602555604080830151602655606090920151602755815160808101835260008082529181019190915290810162000546670de0b6b3a76400006307270e0062000717565b815260200162000563670de0b6b3a76400006307270e0062000717565b9052805160285560208101516029556040810151602a5560600151602b55565b6000805b600a811015620005d157600481600a8110620005a757620005a762000739565b600402016002015482620005bc91906200074f565b9150620005c98162000765565b905062000587565b5080620005eb670de0b6b3a7640000633b9aca0062000717565b146200063d5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420616c6c6f636174696f6e2074797065730000000000000000604482015260640160405180910390fd5b50565b6200064c8282620006c8565b620000b1576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620006843390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff165b92915050565b610dc5806200295783390190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000734576200073462000701565b500290565b634e487b7160e01b600052603260045260246000fd5b80820180821115620006ed57620006ed62000701565b6000600182016200077a576200077a62000701565b5060010190565b6121c680620007916000396000f3fe60806040526004361061019c5760003560e01c806391d14854116100ec578063b81b86301161008a578063d547741f11610064578063d547741f1461056b578063d54bdada1461058b578063df8de3e7146105a2578063fa89401a146105c257600080fd5b8063b81b8630146104b7578063c50497ae14610522578063cf67cf361461053757600080fd5b80639377530f116100c65780639377530f14610424578063a217fddf1461043a578063a6470c841461044f578063b400574a1461048357600080fd5b806391d14854146103ce57806391f7cfb9146103ee57806392d2f1181461040457600080fd5b806336568abe1161015957806357f1935f1161013357806357f1935f146103385780636ea96b66146103585780637a1d32611461038c5780638c97fd41146103ac57600080fd5b806336568abe146102b05780633d008ced146102d057806340eaec8a1461030457600080fd5b806301ffc9a7146101a15780630b4a2638146101d65780631435e397146101f8578063248a9ca31461021a5780632a83a12d146102585780632f2ff15d14610290575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611d88565b6105d5565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61060c565b6040516101cd9190611db2565b34801561020457600080fd5b50610218610213366004611e30565b610681565b005b34801561022657600080fd5b5061024a610235366004611e6e565b60009081526020819052604090206001015490565b6040519081526020016101cd565b34801561026457600080fd5b50600154610278906001600160a01b031681565b6040516001600160a01b0390911681526020016101cd565b34801561029c57600080fd5b506102186102ab366004611e87565b610930565b3480156102bc57600080fd5b506102186102cb366004611e87565b61095a565b3480156102dc57600080fd5b5061024a7ff79482cf5baef583de3604e039dd816e4bbc2a3c342f6524d62dfc7e7d69de1381565b34801561031057600080fd5b5061024a7f9ec91adcdc759804d904682b39177cfeab63add407d3c77a4a4209a886aa5cb681565b34801561034457600080fd5b50610218610353366004611eb7565b6109d8565b34801561036457600080fd5b5061024a7f8a4ece4c1b2db47c88dd7bdc89d6d0511bd137db9bd39f6833eeff5f7bac225b81565b34801561039857600080fd5b506102186103a7366004611ee5565b610bbc565b3480156103b857600080fd5b506103c1610dbd565b6040516101cd9190611f02565b3480156103da57600080fd5b506101c16103e9366004611e87565b610e1f565b3480156103fa57600080fd5b5061024a60025481565b34801561041057600080fd5b5061021861041f366004611f4f565b610e48565b34801561043057600080fd5b5061024a60035481565b34801561044657600080fd5b5061024a600081565b34801561045b57600080fd5b5061024a7f613c31693248e4f062c2c72997dac31882bff11f8b08142708635c19c57f661081565b34801561048f57600080fd5b5061024a7f9000c6e7465731bb159956f621c238436595422168a2b73a5c711e69089b6b3681565b3480156104c357600080fd5b506105116104d2366004611ee5565b6001600160a01b03166000908152602c60205260409020805460018201546002830154600384015460049094015460ff93841695929491939192911690565b6040516101cd959493929190611f80565b34801561052e57600080fd5b5061024a6110c9565b34801561054357600080fd5b5061024a7f9506e14be9dc1e1d90674c305eb7614b35807f3ae4fc112df8e627300c7e2ec081565b34801561057757600080fd5b50610218610586366004611e87565b6110e2565b34801561059757600080fd5b5061024a6201518081565b3480156105ae57600080fd5b506102186105bd366004611ee5565b611107565b6102186105d0366004611ee5565b6114c5565b60006001600160e01b03198216637965db0b60e01b148061060657506301ffc9a760e01b6001600160e01b03198316145b92915050565b610614611d37565b6040805161014081019091526004600a6000835b828210156106785783826004020160405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505081526020019060010190610628565b50505050905090565b6001600160a01b0383166000036106df5760405162461bcd60e51b815260206004820152601f60248201527f526563697069656e7420616464726573732063616e6e6f74206265203078300060448201526064015b60405180910390fd5b8160001061073f5760405162461bcd60e51b815260206004820152602760248201527f416c6c6f636174656420616d6f756e74206d75737420626520677265617465726044820152660207468616e20360cc1b60648201526084016106d6565b61074a335b826115b6565b6001600160a01b0383166000908152602c60205260409020600481015460ff16600281111561077b5761077b611f6a565b6001036107ca5760405162461bcd60e51b815260206004820181905260248201527f526563697069656e7420616c72656164792068617320616c6c6f636174696f6e60448201526064016106d6565b600481015460ff1660028111156107e3576107e3611f6a565b60000361083657602d80546001810182556000919091527f4a2cc91ee622da3bc833a54c37ffcb6f3ec23b7793efc5eaf5e71b7b406c5c060180546001600160a01b0319166001600160a01b0386161790555b80548290829060ff1916600183600981111561085457610854611f6a565b0217905550426001808301919091556002820184905560048201805460ff19168280021790555082600483600981111561089057610890611f6a565b600a81106108a0576108a0611fc9565b6004020160030160008282546108b69190611ff5565b9250508190555082600260008282546108cf9190611ff5565b9091555082905060098111156108e7576108e7611f6a565b846001600160a01b03167ff06566bc20d37121f8822ea65cd542a0ee39fc7bfa84d71149b6e21691d749618560405161092291815260200190565b60405180910390a350505050565b60008281526020819052604090206001015461094b81611a3a565b6109558383611a47565b505050565b6001600160a01b03811633146109ca5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106d6565b6109d48282611acb565b5050565b6109e3600033610e1f565b610a2f5760405162461bcd60e51b815260206004820152601e60248201527f4d75737420686176652061646d696e20726f6c6520746f20726566756e64000060448201526064016106d6565b6001546001600160a01b0390811690821603610a8d5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420726566756e642046617374746f6b656e00000000000000000060448201526064016106d6565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610ad6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afa9190612008565b60405163a9059cbb60e01b81526001600160a01b038681166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af1158015610b4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b719190612021565b610bb65760405162461bcd60e51b815260206004820152601660248201527543616e6e6f74207472616e7366657220746f6b656e7360501b60448201526064016106d6565b50505050565b6001600160a01b0381166000908152602c60205260409020610be233825460ff166115b6565b600481015460ff166002811115610bfb57610bfb611f6a565b600114610c435760405162461bcd60e51b81526020600482015260166024820152752a3432b9329034b99037379030b63637b1b0ba34b7b760511b60448201526064016106d6565b600381015415610caa5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742063616e63656c20616c6c6f636174696f6e207769746820636c60448201526b61696d656420746f6b656e7360a01b60648201526084016106d6565b620151808160010154610cbd9190612043565b4210610d0b5760405162461bcd60e51b815260206004820152601b60248201527f43616e63656c6c6174696f6e20706572696f642065787069726564000000000060448201526064016106d6565b6004810180546002919060ff19166001830217905550806002015460026000828254610d379190612043565b90915550506002810154815460049060ff166009811115610d5a57610d5a611f6a565b600a8110610d6a57610d6a611fc9565b600402016003016000828254610d809190612043565b90915550506040516001600160a01b038316907f097c85f05ca1be6094e91c6c259c23ab8fb09f92e404cae48238a589df51110190600090a25050565b6060602d805480602002602001604051908101604052809291908181526020018280548015610e1557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610df7575b5050505050905090565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b806009811115610e5a57610e5a611f6a565b60081480610e795750806009811115610e7557610e75611f6a565b6002145b80610e955750806009811115610e9157610e91611f6a565b6003145b80610eb15750806009811115610ead57610ead611f6a565b6007145b80610ecd5750806009811115610ec957610ec9611f6a565b6009145b610f515760405162461bcd60e51b815260206004820152604960248201527f4275726e61626c65206f6e6c792050726573616c652c2050726976617465312c60448201527f2050726976617465322c205075626c69632c20426c6f636b636861696e20616c6064820152686c6f636174696f6e7360b81b608482015260a4016106d6565b610f5a33610744565b6000816009811115610f6e57610f6e611f6a565b9050600481600a8110610f8357610f83611fc9565b60040201600301546000146109d4576001546001600160a01b03166342966c68600483600a8110610fb657610fb6611fc9565b60040201600301546040518263ffffffff1660e01b8152600401610fdc91815260200190565b600060405180830381600087803b158015610ff657600080fd5b505af115801561100a573d6000803e3d6000fd5b50505050600481600a811061102157611021611fc9565b60040201600301546002600082825461103a9190611ff5565b90915550829050600981111561105257611052611f6a565b7fced28ad908846118174ca4bd6d6525acd0b578914f7bf1666695204105be7bb1600483600a811061108657611086611fc9565b600402016003015460405161109d91815260200190565b60405180910390a26000600482600a81106110ba576110ba611fc9565b60040201600301819055505050565b6110df670de0b6b3a7640000633b9aca00612056565b81565b6000828152602081905260409020600101546110fd81611a3a565b6109558383611acb565b6001600160a01b0381166000908152602c60205260409020600481015460ff16600281111561113857611138611f6a565b6001146111985760405162461bcd60e51b815260206004820152602860248201527f5468657265206973206e6f20616c6c6f636174696f6e20666f722074686520726044820152671958da5c1a595b9d60c21b60648201526084016106d6565b80600201548160030154106112015760405162461bcd60e51b815260206004820152602960248201527f416c6c6f636174696f6e73206861766520616c7265616479206265656e207472604482015268185b9cd9995c9c995960ba1b60648201526084016106d6565b805460009060049060ff16600981111561121d5761121d611f6a565b600a811061122d5761122d611fc9565b6004020190506000816000015483600101546112499190612043565b4211156112df578160010154826000015484600101546112699190612043565b6112739190612043565b421115611282575060646112df565b600062278d0083600101546112979190612075565b90508062278d00846000015486600101546112b29190612043565b6112bc9042611ff5565b6112c69190612075565b6112d1906064612056565b6112db9190612075565b9150505b6002830154606482101561130c5760648285600201546112ff9190612056565b6113099190612075565b90505b836003015481116113765760405162461bcd60e51b815260206004820152602e60248201527f546f6b656e7320666f72207468697320706572696f642061726520616c72656160448201526d191e481d1c985b9cd9995c9c995960921b60648201526084016106d6565b60008460030154826113889190611ff5565b60015460405163a9059cbb60e01b81526001600160a01b0389811660048301526024820184905292935091169063a9059cbb906044016020604051808303816000875af11580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114019190612021565b6114465760405162461bcd60e51b815260206004820152601660248201527543616e6e6f74207472616e7366657220746f6b656e7360501b60448201526064016106d6565b80600360008282546114589190612043565b909155505060038501829055845460ff16600981111561147a5761147a611f6a565b866001600160a01b03167f1d12ca5bb88e2675f6afdb0d101a8dcccb4795cdbf623114959614bec5c6525b836040516114b591815260200190565b60405180910390a3505050505050565b6114d0600033610e1f565b61151c5760405162461bcd60e51b815260206004820152601e60248201527f4d75737420686176652061646d696e20726f6c6520746f20726566756e64000060448201526064016106d6565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114611569576040519150601f19603f3d011682016040523d82523d6000602084013e61156e565b606091505b50509050806109d45760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016106d6565b8060098111156115c8576115c8611f6a565b600003611651576115f97f9ec91adcdc759804d904682b39177cfeab63add407d3c77a4a4209a886aa5cb683610e1f565b6109d45760405162461bcd60e51b8152602060048201526024808201527f4d757374206861766520666f756e6465727320646973747269627574696f6e20604482015263726f6c6560e01b60648201526084016106d6565b80600981111561166357611663611f6a565b6001036116ec576116947f613c31693248e4f062c2c72997dac31882bff11f8b08142708635c19c57f661083610e1f565b6109d45760405162461bcd60e51b8152602060048201526024808201527f4d75737420686176652061647669736f727320646973747269627574696f6e20604482015263726f6c6560e01b60648201526084016106d6565b8060098111156116fe576116fe611f6a565b6002148061171d575080600981111561171957611719611f6a565b6003145b80611739575080600981111561173557611735611f6a565b6007145b80611755575080600981111561175157611751611f6a565b6008145b156117df576117847f9000c6e7465731bb159956f621c238436595422168a2b73a5c711e69089b6b3683610e1f565b6109d45760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520746f6b656e2073616c6520646973747269627574696f6044820152656e20726f6c6560d01b60648201526084016106d6565b8060098111156117f1576117f1611f6a565b60041480611810575080600981111561180c5761180c611f6a565b6005145b156118a05761183f7f9506e14be9dc1e1d90674c305eb7614b35807f3ae4fc112df8e627300c7e2ec083610e1f565b6109d45760405162461bcd60e51b815260206004820152602c60248201527f4d7573742068617665206d61726b6574696e6720616e6420707220646973747260448201526b69627574696f6e20726f6c6560a01b60648201526084016106d6565b8060098111156118b2576118b2611f6a565b60060361193d576118e37f8a4ece4c1b2db47c88dd7bdc89d6d0511bd137db9bd39f6833eeff5f7bac225b83610e1f565b6109d45760405162461bcd60e51b815260206004820152602560248201527f4d75737420686176652065636f73797374656d20646973747269627574696f6e60448201526420726f6c6560d81b60648201526084016106d6565b80600981111561194f5761194f611f6a565b6009036119f2576119807ff79482cf5baef583de3604e039dd816e4bbc2a3c342f6524d62dfc7e7d69de1383610e1f565b6109d45760405162461bcd60e51b815260206004820152603860248201527f4d757374206861766520626c6f636b636861696e206275726e20726f6c65207460448201527f6f206275726e20426c6f636b636861696e20746f6b656e73000000000000000060648201526084016106d6565b60405162461bcd60e51b815260206004820152601b60248201527f556e737570706f7274656420616c6c6f636174696f6e2074797065000000000060448201526064016106d6565b611a448133611b30565b50565b611a518282610e1f565b6109d4576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611a873390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611ad58282610e1f565b156109d4576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b611b3a8282610e1f565b6109d457611b52816001600160a01b03166014611b94565b611b5d836020611b94565b604051602001611b6e9291906120bb565b60408051601f198184030181529082905262461bcd60e51b82526106d691600401612130565b60606000611ba3836002612056565b611bae906002612043565b67ffffffffffffffff811115611bc657611bc6612163565b6040519080825280601f01601f191660200182016040528015611bf0576020820181803683370190505b509050600360fc1b81600081518110611c0b57611c0b611fc9565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c3a57611c3a611fc9565b60200101906001600160f81b031916908160001a9053506000611c5e846002612056565b611c69906001612043565b90505b6001811115611ce1576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c9d57611c9d611fc9565b1a60f81b828281518110611cb357611cb3611fc9565b60200101906001600160f81b031916908160001a90535060049490941c93611cda81612179565b9050611c6c565b508315611d305760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106d6565b9392505050565b604051806101400160405280600a905b611d726040518060800160405280600081526020016000815260200160008152602001600081525090565b815260200190600190039081611d475790505090565b600060208284031215611d9a57600080fd5b81356001600160e01b031981168114611d3057600080fd5b6105008101818360005b600a811015611dfe5781518051845260208082015181860152604080830151908601526060918201519185019190915260809093019290910190600101611dbc565b50505092915050565b6001600160a01b0381168114611a4457600080fd5b8035600a8110611e2b57600080fd5b919050565b600080600060608486031215611e4557600080fd5b8335611e5081611e07565b925060208401359150611e6560408501611e1c565b90509250925092565b600060208284031215611e8057600080fd5b5035919050565b60008060408385031215611e9a57600080fd5b823591506020830135611eac81611e07565b809150509250929050565b60008060408385031215611eca57600080fd5b8235611ed581611e07565b91506020830135611eac81611e07565b600060208284031215611ef757600080fd5b8135611d3081611e07565b6020808252825182820181905260009190848201906040850190845b81811015611f435783516001600160a01b031683529284019291840191600101611f1e565b50909695505050505050565b600060208284031215611f6157600080fd5b611d3082611e1c565b634e487b7160e01b600052602160045260246000fd5b60a08101600a8710611f9457611f94611f6a565b86825285602083015284604083015283606083015260038310611fb957611fb9611f6a565b8260808301529695505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8181038181111561060657610606611fdf565b60006020828403121561201a57600080fd5b5051919050565b60006020828403121561203357600080fd5b81518015158114611d3057600080fd5b8082018082111561060657610606611fdf565b600081600019048311821515161561207057612070611fdf565b500290565b60008261209257634e487b7160e01b600052601260045260246000fd5b500490565b60005b838110156120b257818101518382015260200161209a565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516120f3816017850160208801612097565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612124816028840160208801612097565b01602801949350505050565b602081526000825180602084015261214f816040850160208701612097565b601f01601f19169190910160400192915050565b634e487b7160e01b600052604160045260246000fd5b60008161218857612188611fdf565b50600019019056fea264697066735822122035d07d23fea4c7b6f67300370d31e8579cf3b7e16a932e8bba9cedf63e969edc64736f6c6343000810003360806040523480156200001157600080fd5b50604051806040016040528060098152602001682330b9ba3a37b5b2b760b91b81525060405180604001604052806003815260200162232a2760e91b815250816003908162000061919062000228565b50600462000070828262000228565b50505062000091336b033b2e3c9fd0803ce80000006200009760201b60201c565b6200031c565b6001600160a01b038216620000f25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001069190620002f4565b90915550506001600160a01b0382166000908152602081905260408120805483929062000135908490620002f4565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001af57607f821691505b602082108103620001d057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200017f57600081815260208120601f850160051c81016020861015620001ff5750805b601f850160051c820191505b8181101562000220578281556001016200020b565b505050505050565b81516001600160401b0381111562000244576200024462000184565b6200025c816200025584546200019a565b84620001d6565b602080601f8311600181146200029457600084156200027b5750858301515b600019600386901b1c1916600185901b17855562000220565b600085815260208120601f198616915b82811015620002c557888601518255948401946001909101908401620002a4565b5085821015620002e45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200031657634e487b7160e01b600052601160045260246000fd5b92915050565b610a99806200032c6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101d0578063a9059cbb146101e3578063dd62ed3e146101f6578063de6ab39c1461020957600080fd5b806370a082311461018c57806379cc6790146101b557806395d89b41146101c857600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016457806342966c681461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761021c565b60405161010491906108af565b60405180910390f35b61012061011b366004610919565b6102ae565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610943565b6102c8565b60405160128152602001610104565b610120610172366004610919565b6102ec565b61018a61018536600461097f565b61030e565b005b61013461019a366004610998565b6001600160a01b031660009081526020819052604090205490565b61018a6101c3366004610919565b61031b565b6100f7610334565b6101206101de366004610919565b610343565b6101206101f1366004610919565b6103c3565b6101346102043660046109ba565b6103d1565b6101346b033b2e3c9fd0803ce800000081565b60606003805461022b906109ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610257906109ed565b80156102a45780601f10610279576101008083540402835291602001916102a4565b820191906000526020600020905b81548152906001019060200180831161028757829003601f168201915b5050505050905090565b6000336102bc8185856103fc565b60019150505b92915050565b6000336102d6858285610521565b6102e185858561059b565b506001949350505050565b6000336102bc8185856102ff83836103d1565b6103099190610a3d565b6103fc565b6103183382610769565b50565b610326823383610521565b6103308282610769565b5050565b60606004805461022b906109ed565b6000338161035182866103d1565b9050838110156103b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102e182868684036103fc565b6000336102bc81858561059b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661045e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103ad565b6001600160a01b0382166104bf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103ad565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061052d84846103d1565b9050600019811461059557818110156105885760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103ad565b61059584848484036103fc565b50505050565b6001600160a01b0383166105ff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103ad565b6001600160a01b0382166106615760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103ad565b6001600160a01b038316600090815260208190526040902054818110156106d95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103ad565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610710908490610a3d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161075c91815260200190565b60405180910390a3610595565b6001600160a01b0382166107c95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103ad565b6001600160a01b0382166000908152602081905260409020548181101561083d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103ad565b6001600160a01b038316600090815260208190526040812083830390556002805484929061086c908490610a50565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610514565b600060208083528351808285015260005b818110156108dc578581018301518582016040015282016108c0565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461091457600080fd5b919050565b6000806040838503121561092c57600080fd5b610935836108fd565b946020939093013593505050565b60008060006060848603121561095857600080fd5b610961846108fd565b925061096f602085016108fd565b9150604084013590509250925092565b60006020828403121561099157600080fd5b5035919050565b6000602082840312156109aa57600080fd5b6109b3826108fd565b9392505050565b600080604083850312156109cd57600080fd5b6109d6836108fd565b91506109e4602084016108fd565b90509250929050565b600181811c90821680610a0157607f821691505b602082108103610a2157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156102c2576102c2610a27565b818103818111156102c2576102c2610a2756fea264697066735822122047f1547be5595f059511aeaf77328f5fcb30c66f0507896fbae4d8f5f22b2d7d64736f6c63430008100033
Deployed Bytecode
0x60806040526004361061019c5760003560e01c806391d14854116100ec578063b81b86301161008a578063d547741f11610064578063d547741f1461056b578063d54bdada1461058b578063df8de3e7146105a2578063fa89401a146105c257600080fd5b8063b81b8630146104b7578063c50497ae14610522578063cf67cf361461053757600080fd5b80639377530f116100c65780639377530f14610424578063a217fddf1461043a578063a6470c841461044f578063b400574a1461048357600080fd5b806391d14854146103ce57806391f7cfb9146103ee57806392d2f1181461040457600080fd5b806336568abe1161015957806357f1935f1161013357806357f1935f146103385780636ea96b66146103585780637a1d32611461038c5780638c97fd41146103ac57600080fd5b806336568abe146102b05780633d008ced146102d057806340eaec8a1461030457600080fd5b806301ffc9a7146101a15780630b4a2638146101d65780631435e397146101f8578063248a9ca31461021a5780632a83a12d146102585780632f2ff15d14610290575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611d88565b6105d5565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61060c565b6040516101cd9190611db2565b34801561020457600080fd5b50610218610213366004611e30565b610681565b005b34801561022657600080fd5b5061024a610235366004611e6e565b60009081526020819052604090206001015490565b6040519081526020016101cd565b34801561026457600080fd5b50600154610278906001600160a01b031681565b6040516001600160a01b0390911681526020016101cd565b34801561029c57600080fd5b506102186102ab366004611e87565b610930565b3480156102bc57600080fd5b506102186102cb366004611e87565b61095a565b3480156102dc57600080fd5b5061024a7ff79482cf5baef583de3604e039dd816e4bbc2a3c342f6524d62dfc7e7d69de1381565b34801561031057600080fd5b5061024a7f9ec91adcdc759804d904682b39177cfeab63add407d3c77a4a4209a886aa5cb681565b34801561034457600080fd5b50610218610353366004611eb7565b6109d8565b34801561036457600080fd5b5061024a7f8a4ece4c1b2db47c88dd7bdc89d6d0511bd137db9bd39f6833eeff5f7bac225b81565b34801561039857600080fd5b506102186103a7366004611ee5565b610bbc565b3480156103b857600080fd5b506103c1610dbd565b6040516101cd9190611f02565b3480156103da57600080fd5b506101c16103e9366004611e87565b610e1f565b3480156103fa57600080fd5b5061024a60025481565b34801561041057600080fd5b5061021861041f366004611f4f565b610e48565b34801561043057600080fd5b5061024a60035481565b34801561044657600080fd5b5061024a600081565b34801561045b57600080fd5b5061024a7f613c31693248e4f062c2c72997dac31882bff11f8b08142708635c19c57f661081565b34801561048f57600080fd5b5061024a7f9000c6e7465731bb159956f621c238436595422168a2b73a5c711e69089b6b3681565b3480156104c357600080fd5b506105116104d2366004611ee5565b6001600160a01b03166000908152602c60205260409020805460018201546002830154600384015460049094015460ff93841695929491939192911690565b6040516101cd959493929190611f80565b34801561052e57600080fd5b5061024a6110c9565b34801561054357600080fd5b5061024a7f9506e14be9dc1e1d90674c305eb7614b35807f3ae4fc112df8e627300c7e2ec081565b34801561057757600080fd5b50610218610586366004611e87565b6110e2565b34801561059757600080fd5b5061024a6201518081565b3480156105ae57600080fd5b506102186105bd366004611ee5565b611107565b6102186105d0366004611ee5565b6114c5565b60006001600160e01b03198216637965db0b60e01b148061060657506301ffc9a760e01b6001600160e01b03198316145b92915050565b610614611d37565b6040805161014081019091526004600a6000835b828210156106785783826004020160405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505081526020019060010190610628565b50505050905090565b6001600160a01b0383166000036106df5760405162461bcd60e51b815260206004820152601f60248201527f526563697069656e7420616464726573732063616e6e6f74206265203078300060448201526064015b60405180910390fd5b8160001061073f5760405162461bcd60e51b815260206004820152602760248201527f416c6c6f636174656420616d6f756e74206d75737420626520677265617465726044820152660207468616e20360cc1b60648201526084016106d6565b61074a335b826115b6565b6001600160a01b0383166000908152602c60205260409020600481015460ff16600281111561077b5761077b611f6a565b6001036107ca5760405162461bcd60e51b815260206004820181905260248201527f526563697069656e7420616c72656164792068617320616c6c6f636174696f6e60448201526064016106d6565b600481015460ff1660028111156107e3576107e3611f6a565b60000361083657602d80546001810182556000919091527f4a2cc91ee622da3bc833a54c37ffcb6f3ec23b7793efc5eaf5e71b7b406c5c060180546001600160a01b0319166001600160a01b0386161790555b80548290829060ff1916600183600981111561085457610854611f6a565b0217905550426001808301919091556002820184905560048201805460ff19168280021790555082600483600981111561089057610890611f6a565b600a81106108a0576108a0611fc9565b6004020160030160008282546108b69190611ff5565b9250508190555082600260008282546108cf9190611ff5565b9091555082905060098111156108e7576108e7611f6a565b846001600160a01b03167ff06566bc20d37121f8822ea65cd542a0ee39fc7bfa84d71149b6e21691d749618560405161092291815260200190565b60405180910390a350505050565b60008281526020819052604090206001015461094b81611a3a565b6109558383611a47565b505050565b6001600160a01b03811633146109ca5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106d6565b6109d48282611acb565b5050565b6109e3600033610e1f565b610a2f5760405162461bcd60e51b815260206004820152601e60248201527f4d75737420686176652061646d696e20726f6c6520746f20726566756e64000060448201526064016106d6565b6001546001600160a01b0390811690821603610a8d5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420726566756e642046617374746f6b656e00000000000000000060448201526064016106d6565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610ad6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afa9190612008565b60405163a9059cbb60e01b81526001600160a01b038681166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af1158015610b4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b719190612021565b610bb65760405162461bcd60e51b815260206004820152601660248201527543616e6e6f74207472616e7366657220746f6b656e7360501b60448201526064016106d6565b50505050565b6001600160a01b0381166000908152602c60205260409020610be233825460ff166115b6565b600481015460ff166002811115610bfb57610bfb611f6a565b600114610c435760405162461bcd60e51b81526020600482015260166024820152752a3432b9329034b99037379030b63637b1b0ba34b7b760511b60448201526064016106d6565b600381015415610caa5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742063616e63656c20616c6c6f636174696f6e207769746820636c60448201526b61696d656420746f6b656e7360a01b60648201526084016106d6565b620151808160010154610cbd9190612043565b4210610d0b5760405162461bcd60e51b815260206004820152601b60248201527f43616e63656c6c6174696f6e20706572696f642065787069726564000000000060448201526064016106d6565b6004810180546002919060ff19166001830217905550806002015460026000828254610d379190612043565b90915550506002810154815460049060ff166009811115610d5a57610d5a611f6a565b600a8110610d6a57610d6a611fc9565b600402016003016000828254610d809190612043565b90915550506040516001600160a01b038316907f097c85f05ca1be6094e91c6c259c23ab8fb09f92e404cae48238a589df51110190600090a25050565b6060602d805480602002602001604051908101604052809291908181526020018280548015610e1557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610df7575b5050505050905090565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b806009811115610e5a57610e5a611f6a565b60081480610e795750806009811115610e7557610e75611f6a565b6002145b80610e955750806009811115610e9157610e91611f6a565b6003145b80610eb15750806009811115610ead57610ead611f6a565b6007145b80610ecd5750806009811115610ec957610ec9611f6a565b6009145b610f515760405162461bcd60e51b815260206004820152604960248201527f4275726e61626c65206f6e6c792050726573616c652c2050726976617465312c60448201527f2050726976617465322c205075626c69632c20426c6f636b636861696e20616c6064820152686c6f636174696f6e7360b81b608482015260a4016106d6565b610f5a33610744565b6000816009811115610f6e57610f6e611f6a565b9050600481600a8110610f8357610f83611fc9565b60040201600301546000146109d4576001546001600160a01b03166342966c68600483600a8110610fb657610fb6611fc9565b60040201600301546040518263ffffffff1660e01b8152600401610fdc91815260200190565b600060405180830381600087803b158015610ff657600080fd5b505af115801561100a573d6000803e3d6000fd5b50505050600481600a811061102157611021611fc9565b60040201600301546002600082825461103a9190611ff5565b90915550829050600981111561105257611052611f6a565b7fced28ad908846118174ca4bd6d6525acd0b578914f7bf1666695204105be7bb1600483600a811061108657611086611fc9565b600402016003015460405161109d91815260200190565b60405180910390a26000600482600a81106110ba576110ba611fc9565b60040201600301819055505050565b6110df670de0b6b3a7640000633b9aca00612056565b81565b6000828152602081905260409020600101546110fd81611a3a565b6109558383611acb565b6001600160a01b0381166000908152602c60205260409020600481015460ff16600281111561113857611138611f6a565b6001146111985760405162461bcd60e51b815260206004820152602860248201527f5468657265206973206e6f20616c6c6f636174696f6e20666f722074686520726044820152671958da5c1a595b9d60c21b60648201526084016106d6565b80600201548160030154106112015760405162461bcd60e51b815260206004820152602960248201527f416c6c6f636174696f6e73206861766520616c7265616479206265656e207472604482015268185b9cd9995c9c995960ba1b60648201526084016106d6565b805460009060049060ff16600981111561121d5761121d611f6a565b600a811061122d5761122d611fc9565b6004020190506000816000015483600101546112499190612043565b4211156112df578160010154826000015484600101546112699190612043565b6112739190612043565b421115611282575060646112df565b600062278d0083600101546112979190612075565b90508062278d00846000015486600101546112b29190612043565b6112bc9042611ff5565b6112c69190612075565b6112d1906064612056565b6112db9190612075565b9150505b6002830154606482101561130c5760648285600201546112ff9190612056565b6113099190612075565b90505b836003015481116113765760405162461bcd60e51b815260206004820152602e60248201527f546f6b656e7320666f72207468697320706572696f642061726520616c72656160448201526d191e481d1c985b9cd9995c9c995960921b60648201526084016106d6565b60008460030154826113889190611ff5565b60015460405163a9059cbb60e01b81526001600160a01b0389811660048301526024820184905292935091169063a9059cbb906044016020604051808303816000875af11580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114019190612021565b6114465760405162461bcd60e51b815260206004820152601660248201527543616e6e6f74207472616e7366657220746f6b656e7360501b60448201526064016106d6565b80600360008282546114589190612043565b909155505060038501829055845460ff16600981111561147a5761147a611f6a565b866001600160a01b03167f1d12ca5bb88e2675f6afdb0d101a8dcccb4795cdbf623114959614bec5c6525b836040516114b591815260200190565b60405180910390a3505050505050565b6114d0600033610e1f565b61151c5760405162461bcd60e51b815260206004820152601e60248201527f4d75737420686176652061646d696e20726f6c6520746f20726566756e64000060448201526064016106d6565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114611569576040519150601f19603f3d011682016040523d82523d6000602084013e61156e565b606091505b50509050806109d45760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016106d6565b8060098111156115c8576115c8611f6a565b600003611651576115f97f9ec91adcdc759804d904682b39177cfeab63add407d3c77a4a4209a886aa5cb683610e1f565b6109d45760405162461bcd60e51b8152602060048201526024808201527f4d757374206861766520666f756e6465727320646973747269627574696f6e20604482015263726f6c6560e01b60648201526084016106d6565b80600981111561166357611663611f6a565b6001036116ec576116947f613c31693248e4f062c2c72997dac31882bff11f8b08142708635c19c57f661083610e1f565b6109d45760405162461bcd60e51b8152602060048201526024808201527f4d75737420686176652061647669736f727320646973747269627574696f6e20604482015263726f6c6560e01b60648201526084016106d6565b8060098111156116fe576116fe611f6a565b6002148061171d575080600981111561171957611719611f6a565b6003145b80611739575080600981111561173557611735611f6a565b6007145b80611755575080600981111561175157611751611f6a565b6008145b156117df576117847f9000c6e7465731bb159956f621c238436595422168a2b73a5c711e69089b6b3683610e1f565b6109d45760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520746f6b656e2073616c6520646973747269627574696f6044820152656e20726f6c6560d01b60648201526084016106d6565b8060098111156117f1576117f1611f6a565b60041480611810575080600981111561180c5761180c611f6a565b6005145b156118a05761183f7f9506e14be9dc1e1d90674c305eb7614b35807f3ae4fc112df8e627300c7e2ec083610e1f565b6109d45760405162461bcd60e51b815260206004820152602c60248201527f4d7573742068617665206d61726b6574696e6720616e6420707220646973747260448201526b69627574696f6e20726f6c6560a01b60648201526084016106d6565b8060098111156118b2576118b2611f6a565b60060361193d576118e37f8a4ece4c1b2db47c88dd7bdc89d6d0511bd137db9bd39f6833eeff5f7bac225b83610e1f565b6109d45760405162461bcd60e51b815260206004820152602560248201527f4d75737420686176652065636f73797374656d20646973747269627574696f6e60448201526420726f6c6560d81b60648201526084016106d6565b80600981111561194f5761194f611f6a565b6009036119f2576119807ff79482cf5baef583de3604e039dd816e4bbc2a3c342f6524d62dfc7e7d69de1383610e1f565b6109d45760405162461bcd60e51b815260206004820152603860248201527f4d757374206861766520626c6f636b636861696e206275726e20726f6c65207460448201527f6f206275726e20426c6f636b636861696e20746f6b656e73000000000000000060648201526084016106d6565b60405162461bcd60e51b815260206004820152601b60248201527f556e737570706f7274656420616c6c6f636174696f6e2074797065000000000060448201526064016106d6565b611a448133611b30565b50565b611a518282610e1f565b6109d4576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611a873390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611ad58282610e1f565b156109d4576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b611b3a8282610e1f565b6109d457611b52816001600160a01b03166014611b94565b611b5d836020611b94565b604051602001611b6e9291906120bb565b60408051601f198184030181529082905262461bcd60e51b82526106d691600401612130565b60606000611ba3836002612056565b611bae906002612043565b67ffffffffffffffff811115611bc657611bc6612163565b6040519080825280601f01601f191660200182016040528015611bf0576020820181803683370190505b509050600360fc1b81600081518110611c0b57611c0b611fc9565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c3a57611c3a611fc9565b60200101906001600160f81b031916908160001a9053506000611c5e846002612056565b611c69906001612043565b90505b6001811115611ce1576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c9d57611c9d611fc9565b1a60f81b828281518110611cb357611cb3611fc9565b60200101906001600160f81b031916908160001a90535060049490941c93611cda81612179565b9050611c6c565b508315611d305760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106d6565b9392505050565b604051806101400160405280600a905b611d726040518060800160405280600081526020016000815260200160008152602001600081525090565b815260200190600190039081611d475790505090565b600060208284031215611d9a57600080fd5b81356001600160e01b031981168114611d3057600080fd5b6105008101818360005b600a811015611dfe5781518051845260208082015181860152604080830151908601526060918201519185019190915260809093019290910190600101611dbc565b50505092915050565b6001600160a01b0381168114611a4457600080fd5b8035600a8110611e2b57600080fd5b919050565b600080600060608486031215611e4557600080fd5b8335611e5081611e07565b925060208401359150611e6560408501611e1c565b90509250925092565b600060208284031215611e8057600080fd5b5035919050565b60008060408385031215611e9a57600080fd5b823591506020830135611eac81611e07565b809150509250929050565b60008060408385031215611eca57600080fd5b8235611ed581611e07565b91506020830135611eac81611e07565b600060208284031215611ef757600080fd5b8135611d3081611e07565b6020808252825182820181905260009190848201906040850190845b81811015611f435783516001600160a01b031683529284019291840191600101611f1e565b50909695505050505050565b600060208284031215611f6157600080fd5b611d3082611e1c565b634e487b7160e01b600052602160045260246000fd5b60a08101600a8710611f9457611f94611f6a565b86825285602083015284604083015283606083015260038310611fb957611fb9611f6a565b8260808301529695505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8181038181111561060657610606611fdf565b60006020828403121561201a57600080fd5b5051919050565b60006020828403121561203357600080fd5b81518015158114611d3057600080fd5b8082018082111561060657610606611fdf565b600081600019048311821515161561207057612070611fdf565b500290565b60008261209257634e487b7160e01b600052601260045260246000fd5b500490565b60005b838110156120b257818101518382015260200161209a565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516120f3816017850160208801612097565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612124816028840160208801612097565b01602801949350505050565b602081526000825180602084015261214f816040850160208701612097565b601f01601f19169190910160400192915050565b634e487b7160e01b600052604160045260246000fd5b60008161218857612188611fdf565b50600019019056fea264697066735822122035d07d23fea4c7b6f67300370d31e8579cf3b7e16a932e8bba9cedf63e969edc64736f6c63430008100033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1.82 | 378,614,720 | $689,078,790.4 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.