Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60098054 | 8778652 | 1856 days ago | IN | 0 ETH | 0.00261861 |
Loading...
Loading
Contract Name:
ERC20Token
Compiler Version
v0.5.12+commit.7709ece9
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-10-20 */ pragma solidity ^0.5.12; // File: @openzeppelin/contracts/utils/Address.sol /** * @dev Collection of functions related to the address type, */ library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing a contract. * * > It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } } // File: @openzeppelin/contracts/introspection/ERC165Checker.sol /** * @dev Library used to query support of an interface declared via `IERC165`. * * Note that these functions return the actual result of the query: they do not * `revert` if an interface is not supported. It is up to the caller to decide * what to do in these cases. */ library ERC165Checker { // As per the EIP-165 spec, no interface should ever match 0xffffffff bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff; /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Returns true if `account` supports the `IERC165` interface, */ function _supportsERC165(address account) internal view returns (bool) { // Any contract that implements ERC165 must explicitly indicate support of // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid return _supportsERC165Interface(account, _INTERFACE_ID_ERC165) && !_supportsERC165Interface(account, _INTERFACE_ID_INVALID); } /** * @dev Returns true if `account` supports the interface defined by * `interfaceId`. Support for `IERC165` itself is queried automatically. * * See `IERC165.supportsInterface`. */ function _supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) { // query support of both ERC165 as per the spec and support of _interfaceId return _supportsERC165(account) && _supportsERC165Interface(account, interfaceId); } /** * @dev Returns true if `account` supports all the interfaces defined in * `interfaceIds`. Support for `IERC165` itself is queried automatically. * * Batch-querying can lead to gas savings by skipping repeated checks for * `IERC165` support. * * See `IERC165.supportsInterface`. */ function _supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) { // query support of ERC165 itself if (!_supportsERC165(account)) { return false; } // query support of each interface in _interfaceIds for (uint256 i = 0; i < interfaceIds.length; i++) { if (!_supportsERC165Interface(account, interfaceIds[i])) { return false; } } // all interfaces supported return true; } /** * @notice Query if a contract implements an interface, does not check ERC165 support * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return true if the contract at account indicates support of the interface with * identifier interfaceId, false otherwise * @dev Assumes that account contains a contract that supports ERC165, otherwise * the behavior of this method is undefined. This precondition can be checked * with the `supportsERC165` method in this library. * Interface identification is specified in ERC-165. */ function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) { // success determines whether the staticcall succeeded and result determines // whether the contract at account indicates support of _interfaceId (bool success, bool result) = _callERC165SupportsInterface(account, interfaceId); return (success && result); } /** * @notice Calls the function with selector 0x01ffc9a7 (ERC165) and suppresses throw * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return success true if the STATICCALL succeeded, false otherwise * @return result true if the STATICCALL succeeded and the contract at account * indicates support of the interface with identifier interfaceId, false otherwise */ function _callERC165SupportsInterface(address account, bytes4 interfaceId) private view returns (bool success, bool result) { bytes memory encodedParams = abi.encodeWithSelector(_INTERFACE_ID_ERC165, interfaceId); // solhint-disable-next-line no-inline-assembly assembly { let encodedParams_data := add(0x20, encodedParams) let encodedParams_size := mload(encodedParams) let output := mload(0x40) // Find empty storage location using "free memory pointer" mstore(output, 0x0) success := staticcall( 30000, // 30k gas account, // To addr encodedParams_data, encodedParams_size, output, 0x20 // Outputs are 32 bytes long ) result := mload(output) // Load the result } } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see `ERC20Detailed`. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a `Transfer` event. */ function transfer(address recipient, 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. * * > 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool); /** * @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); } // File: @openzeppelin/contracts/math/SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, "SafeMath: division by zero"); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.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 `ERC20Mintable`. * * *For a detailed writeup see our guide [How to implement supply * mechanisms](https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226).* * * We have followed general OpenZeppelin guidelines: functions revert instead * of 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 IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; /** * @dev See `IERC20.totalSupply`. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See `IERC20.balanceOf`. */ function balanceOf(address account) public view returns (uint256) { return _balances[account]; } /** * @dev See `IERC20.transfer`. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev See `IERC20.allowance`. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See `IERC20.approve`. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public returns (bool) { _approve(msg.sender, spender, value); 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`; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `value`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(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 returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].add(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 returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue)); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, 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 * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destoys `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 value) internal { require(account != address(0), "ERC20: burn from the zero address"); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 value) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = value; emit Approval(owner, spender, value); } /** * @dev Destoys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See `_burn` and `_approve`. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, msg.sender, _allowances[account][msg.sender].sub(amount)); } } // File: @openzeppelin/contracts/introspection/IERC165.sol /** * @dev Interface of the ERC165 standard, as defined in the * [EIP](https://eips.ethereum.org/EIPS/eip-165). * * 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 * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * 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); } // File: @openzeppelin/contracts/introspection/ERC165.sol /** * @dev Implementation of the `IERC165` interface. * * Contracts may inherit from this and call `_registerInterface` to declare * their support of an interface. */ contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See `IERC165.supportsInterface`. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See `IERC165.supportsInterface`. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: erc-payable-token/contracts/token/ERC1363/IERC1363.sol /** * @title IERC1363 Interface * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Interface for a Payable Token contract as defined in * https://github.com/ethereum/EIPs/issues/1363 */ contract IERC1363 is IERC20, ERC165 { /* * Note: the ERC-165 identifier for this interface is 0x4bbee2df. * 0x4bbee2df === * bytes4(keccak256('transferAndCall(address,uint256)')) ^ * bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) */ /* * Note: the ERC-165 identifier for this interface is 0xfb9ec8ce. * 0xfb9ec8ce === * bytes4(keccak256('approveAndCall(address,uint256)')) ^ * bytes4(keccak256('approveAndCall(address,uint256,bytes)')) */ /** * @notice Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver * @param to address The address which you want to transfer to * @param value uint256 The amount of tokens to be transferred * @return true unless throwing */ function transferAndCall(address to, uint256 value) public returns (bool); /** * @notice Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver * @param to address The address which you want to transfer to * @param value uint256 The amount of tokens to be transferred * @param data bytes Additional data with no specified format, sent in call to `to` * @return true unless throwing */ function transferAndCall(address to, uint256 value, bytes memory data) public returns (bool); /** * @notice Transfer tokens from one address to another and then call `onTransferReceived` on receiver * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 The amount of tokens to be transferred * @return true unless throwing */ function transferFromAndCall(address from, address to, uint256 value) public returns (bool); /** * @notice Transfer tokens from one address to another and then call `onTransferReceived` on receiver * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 The amount of tokens to be transferred * @param data bytes Additional data with no specified format, sent in call to `to` * @return true unless throwing */ function transferFromAndCall(address from, address to, uint256 value, bytes memory data) public returns (bool); /** * @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender * and then call `onApprovalReceived` on spender. * 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 * @param spender address The address which will spend the funds * @param value uint256 The amount of tokens to be spent */ function approveAndCall(address spender, uint256 value) public returns (bool); /** * @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender * and then call `onApprovalReceived` on spender. * 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 * @param spender address The address which will spend the funds * @param value uint256 The amount of tokens to be spent * @param data bytes Additional data with no specified format, sent in call to `spender` */ function approveAndCall(address spender, uint256 value, bytes memory data) public returns (bool); } // File: erc-payable-token/contracts/token/ERC1363/IERC1363Receiver.sol /** * @title IERC1363Receiver Interface * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Interface for any contract that wants to support transferAndCall or transferFromAndCall * from ERC1363 token contracts as defined in * https://github.com/ethereum/EIPs/issues/1363 */ contract IERC1363Receiver { /* * Note: the ERC-165 identifier for this interface is 0x88a7ca5c. * 0x88a7ca5c === bytes4(keccak256("onTransferReceived(address,address,uint256,bytes)")) */ /** * @notice Handle the receipt of ERC1363 tokens * @dev Any ERC1363 smart contract calls this function on the recipient * after a `transfer` or a `transferFrom`. This function MAY throw to revert and reject the * transfer. Return of other than the magic value MUST result in the * transaction being reverted. * Note: the token contract address is always the message sender. * @param operator address The address which called `transferAndCall` or `transferFromAndCall` function * @param from address The address which are token transferred from * @param value uint256 The amount of tokens transferred * @param data bytes Additional data with no specified format * @return `bytes4(keccak256("onTransferReceived(address,address,uint256,bytes)"))` * unless throwing */ function onTransferReceived(address operator, address from, uint256 value, bytes memory data) public returns (bytes4); // solhint-disable-line max-line-length } // File: erc-payable-token/contracts/token/ERC1363/IERC1363Spender.sol /** * @title IERC1363Spender Interface * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Interface for any contract that wants to support approveAndCall * from ERC1363 token contracts as defined in * https://github.com/ethereum/EIPs/issues/1363 */ contract IERC1363Spender { /* * Note: the ERC-165 identifier for this interface is 0x7b04a2d0. * 0x7b04a2d0 === bytes4(keccak256("onApprovalReceived(address,uint256,bytes)")) */ /** * @notice Handle the approval of ERC1363 tokens * @dev Any ERC1363 smart contract calls this function on the recipient * after an `approve`. This function MAY throw to revert and reject the * approval. Return of other than the magic value MUST result in the * transaction being reverted. * Note: the token contract address is always the message sender. * @param owner address The address which called `approveAndCall` function * @param value uint256 The amount of tokens to be spent * @param data bytes Additional data with no specified format * @return `bytes4(keccak256("onApprovalReceived(address,uint256,bytes)"))` * unless throwing */ function onApprovalReceived(address owner, uint256 value, bytes memory data) public returns (bytes4); } // File: erc-payable-token/contracts/token/ERC1363/ERC1363.sol /** * @title ERC1363 * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Implementation of an ERC1363 interface */ contract ERC1363 is ERC20, IERC1363 { using Address for address; /* * Note: the ERC-165 identifier for this interface is 0x4bbee2df. * 0x4bbee2df === * bytes4(keccak256('transferAndCall(address,uint256)')) ^ * bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) */ bytes4 internal constant _INTERFACE_ID_ERC1363_TRANSFER = 0x4bbee2df; /* * Note: the ERC-165 identifier for this interface is 0xfb9ec8ce. * 0xfb9ec8ce === * bytes4(keccak256('approveAndCall(address,uint256)')) ^ * bytes4(keccak256('approveAndCall(address,uint256,bytes)')) */ bytes4 internal constant _INTERFACE_ID_ERC1363_APPROVE = 0xfb9ec8ce; // Equals to `bytes4(keccak256("onTransferReceived(address,address,uint256,bytes)"))` // which can be also obtained as `IERC1363Receiver(0).onTransferReceived.selector` bytes4 private constant _ERC1363_RECEIVED = 0x88a7ca5c; // Equals to `bytes4(keccak256("onApprovalReceived(address,uint256,bytes)"))` // which can be also obtained as `IERC1363Spender(0).onApprovalReceived.selector` bytes4 private constant _ERC1363_APPROVED = 0x7b04a2d0; constructor() public { // register the supported interfaces to conform to ERC1363 via ERC165 _registerInterface(_INTERFACE_ID_ERC1363_TRANSFER); _registerInterface(_INTERFACE_ID_ERC1363_APPROVE); } function transferAndCall(address to, uint256 value) public returns (bool) { return transferAndCall(to, value, ""); } function transferAndCall(address to, uint256 value, bytes memory data) public returns (bool) { require(transfer(to, value)); require(_checkAndCallTransfer(msg.sender, to, value, data)); return true; } function transferFromAndCall(address from, address to, uint256 value) public returns (bool) { return transferFromAndCall(from, to, value, ""); } function transferFromAndCall(address from, address to, uint256 value, bytes memory data) public returns (bool) { require(transferFrom(from, to, value)); require(_checkAndCallTransfer(from, to, value, data)); return true; } function approveAndCall(address spender, uint256 value) public returns (bool) { return approveAndCall(spender, value, ""); } function approveAndCall(address spender, uint256 value, bytes memory data) public returns (bool) { approve(spender, value); require(_checkAndCallApprove(spender, value, data)); return true; } /** * @dev Internal function to invoke `onTransferReceived` on a target address * The call is not executed if the target address is not a contract * @param from address Representing the previous owner of the given token value * @param to address Target address that will receive the tokens * @param value uint256 The amount mount of tokens to be transferred * @param data bytes Optional data to send along with the call * @return whether the call correctly returned the expected magic value */ function _checkAndCallTransfer(address from, address to, uint256 value, bytes memory data) internal returns (bool) { if (!to.isContract()) { return false; } bytes4 retval = IERC1363Receiver(to).onTransferReceived( msg.sender, from, value, data ); return (retval == _ERC1363_RECEIVED); } /** * @dev Internal function to invoke `onApprovalReceived` on a target address * The call is not executed if the target address is not a contract * @param spender address The address which will spend the funds * @param value uint256 The amount of tokens to be spent * @param data bytes Optional data to send along with the call * @return whether the call correctly returned the expected magic value */ function _checkAndCallApprove(address spender, uint256 value, bytes memory data) internal returns (bool) { if (!spender.isContract()) { return false; } bytes4 retval = IERC1363Spender(spender).onApprovalReceived( msg.sender, value, data ); return (retval == _ERC1363_APPROVED); } } // File: @openzeppelin/contracts/token/ERC20/ERC20Detailed.sol /** * @dev Optional functions from the ERC20 standard. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of * these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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. * * > Note that 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 returns (uint8) { return _decimals; } } // File: @openzeppelin/contracts/access/Roles.sol /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } // File: @openzeppelin/contracts/access/roles/MinterRole.sol contract MinterRole { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(msg.sender); } modifier onlyMinter() { require(isMinter(msg.sender), "MinterRole: caller does not have the Minter role"); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(msg.sender); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } } // File: @openzeppelin/contracts/token/ERC20/ERC20Mintable.sol /** * @dev Extension of `ERC20` that adds a set of accounts with the `MinterRole`, * which have permission to mint (create) new tokens as they see fit. * * At construction, the deployer of the contract is the only minter. */ contract ERC20Mintable is ERC20, MinterRole { /** * @dev See `ERC20._mint`. * * Requirements: * * - the caller must have the `MinterRole`. */ function mint(address account, uint256 amount) public onlyMinter returns (bool) { _mint(account, amount); return true; } } // File: @openzeppelin/contracts/token/ERC20/ERC20Capped.sol /** * @dev Extension of `ERC20Mintable` that adds a cap to the supply of tokens. */ contract ERC20Capped is ERC20Mintable { uint256 private _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor (uint256 cap) public { require(cap > 0, "ERC20Capped: cap is 0"); _cap = cap; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view returns (uint256) { return _cap; } /** * @dev See `ERC20Mintable.mint`. * * Requirements: * * - `value` must not cause the total supply to go over the cap. */ function _mint(address account, uint256 value) internal { require(totalSupply().add(value) <= _cap, "ERC20Capped: cap exceeded"); super._mint(account, value); } } // File: @openzeppelin/contracts/token/ERC20/ERC20Burnable.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). */ contract ERC20Burnable is ERC20 { /** * @dev Destoys `amount` tokens from the caller. * * See `ERC20._burn`. */ function burn(uint256 amount) public { _burn(msg.sender, amount); } /** * @dev See `ERC20._burnFrom`. */ function burnFrom(address account, uint256 amount) public { _burnFrom(account, amount); } } // File: @openzeppelin/contracts/ownership/Ownable.sol /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be aplied to your functions to restrict their use to * the owner. */ contract Ownable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return msg.sender == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * > Note: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: eth-token-recover/contracts/TokenRecover.sol /** * @title TokenRecover * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Allow to recover any ERC20 sent into the contract for error */ contract TokenRecover is Ownable { /** * @dev Remember that only owner can call so be careful when use on contracts generated from other contracts. * @param tokenAddress The token contract address * @param tokenAmount Number of tokens to be sent */ function recoverERC20(address tokenAddress, uint256 tokenAmount) public onlyOwner { IERC20(tokenAddress).transfer(owner(), tokenAmount); } } // File: ico-maker/contracts/access/roles/OperatorRole.sol contract OperatorRole { using Roles for Roles.Role; event OperatorAdded(address indexed account); event OperatorRemoved(address indexed account); Roles.Role private _operators; constructor() internal { _addOperator(msg.sender); } modifier onlyOperator() { require(isOperator(msg.sender)); _; } function isOperator(address account) public view returns (bool) { return _operators.has(account); } function addOperator(address account) public onlyOperator { _addOperator(account); } function renounceOperator() public { _removeOperator(msg.sender); } function _addOperator(address account) internal { _operators.add(account); emit OperatorAdded(account); } function _removeOperator(address account) internal { _operators.remove(account); emit OperatorRemoved(account); } } // File: ico-maker/contracts/token/ERC20/BaseERC20Token.sol /** * @title BaseERC20Token * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Implementation of the BaseERC20Token */ contract BaseERC20Token is ERC20Detailed, ERC20Capped, ERC20Burnable, OperatorRole, TokenRecover { event MintFinished(); event TransferEnabled(); // indicates if minting is finished bool private _mintingFinished = false; // indicates if transfer is enabled bool private _transferEnabled = false; /** * @dev Tokens can be minted only before minting finished. */ modifier canMint() { require(!_mintingFinished); _; } /** * @dev Tokens can be moved only after if transfer enabled or if you are an approved operator. */ modifier canTransfer(address from) { require(_transferEnabled || isOperator(from)); _; } /** * @param name Name of the token * @param symbol A symbol to be used as ticker * @param decimals Number of decimals. All the operations are done using the smallest and indivisible token unit * @param cap Maximum number of tokens mintable * @param initialSupply Initial token supply */ constructor( string memory name, string memory symbol, uint8 decimals, uint256 cap, uint256 initialSupply ) public ERC20Detailed(name, symbol, decimals) ERC20Capped(cap) { if (initialSupply > 0) { _mint(owner(), initialSupply); } } /** * @return if minting is finished or not. */ function mintingFinished() public view returns (bool) { return _mintingFinished; } /** * @return if transfer is enabled or not. */ function transferEnabled() public view returns (bool) { return _transferEnabled; } /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param value The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address to, uint256 value) public canMint returns (bool) { return super.mint(to, value); } /** * @dev Transfer token to a specified address * @param to The address to transfer to. * @param value The amount to be transferred. * @return A boolean that indicates if the operation was successful. */ function transfer(address to, uint256 value) public canTransfer(msg.sender) returns (bool) { return super.transfer(to, value); } /** * @dev Transfer tokens from one address to another. * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred * @return A boolean that indicates if the operation was successful. */ function transferFrom(address from, address to, uint256 value) public canTransfer(from) returns (bool) { return super.transferFrom(from, to, value); } /** * @dev Function to stop minting new tokens. */ function finishMinting() public onlyOwner canMint { _mintingFinished = true; emit MintFinished(); } /** * @dev Function to enable transfers. */ function enableTransfer() public onlyOwner { _transferEnabled = true; emit TransferEnabled(); } /** * @dev remove the `operator` role from address * @param account Address you want to remove role */ function removeOperator(address account) public onlyOwner { _removeOperator(account); } /** * @dev remove the `minter` role from address * @param account Address you want to remove role */ function removeMinter(address account) public onlyOwner { _removeMinter(account); } } // File: ico-maker/contracts/token/ERC1363/BaseERC1363Token.sol /** * @title BaseERC1363Token * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Implementation of the BaseERC20Token with ERC1363 behaviours */ contract BaseERC1363Token is BaseERC20Token, ERC1363 { /** * @param name Name of the token * @param symbol A symbol to be used as ticker * @param decimals Number of decimals. All the operations are done using the smallest and indivisible token unit * @param cap Maximum number of tokens mintable * @param initialSupply Initial token supply */ constructor( string memory name, string memory symbol, uint8 decimals, uint256 cap, uint256 initialSupply ) public BaseERC20Token(name, symbol, decimals, cap, initialSupply) {} // solhint-disable-line no-empty-blocks } // File: contracts/ERC20Token.sol /** * @title ERC20Token * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Implementation of a BaseERC1363Token */ contract ERC20Token is BaseERC1363Token { string public builtOn = "https://vittominacori.github.io/erc20-generator"; constructor( string memory name, string memory symbol, uint8 decimals, uint256 cap, uint256 initialSupply, bool transferEnabled ) public BaseERC1363Token(name, symbol, decimals, cap, initialSupply) { if (transferEnabled) { enableTransfer(); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"bool","name":"transferEnabled","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"OperatorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"OperatorRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"TransferEnabled","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approveAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"approveAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"builtOn","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"enableTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"transferEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferFromAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFromAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6009805461ffff60a01b1916905560e0604052602f608081815290620029fc60a03980516200003791600b9160209091019062000a0d565b503480156200004557600080fd5b5060405162002a2b38038062002a2b833981810160405260c08110156200006b57600080fd5b81019080805160405193929190846401000000008211156200008c57600080fd5b908301906020820185811115620000a257600080fd5b8251640100000000811182820188101715620000bd57600080fd5b82525081516020918201929091019080838360005b83811015620000ec578181015183820152602001620000d2565b50505050905090810190601f1680156200011a5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200013e57600080fd5b9083019060208201858111156200015457600080fd5b82516401000000008111828201881017156200016f57600080fd5b82525081516020918201929091019080838360005b838110156200019e57818101518382015260200162000184565b50505050905090810190601f168015620001cc5780820380516001836020036101000a031916815260200191505b506040908152602082810151918301516060840151608090940151885193965090945091879187918791879187918691869186918691869183918791879187916200021e916000919086019062000a0d565b5081516200023490600190602085019062000a0d565b506002805460ff191660ff92909216919091179055506200025790503362000427565b60008111620002c757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015290519081900360640190fd5b600755620002de336001600160e01b036200047916565b600980546001600160a01b0319163317908190556040516001600160a01b0391909116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015620003585762000358620003486001600160e01b03620004cb16565b826001600160e01b03620004db16565b506200039493507f01ffc9a7000000000000000000000000000000000000000000000000000000009250506001600160e01b0362000593169050565b620003c87f4bbee2df000000000000000000000000000000000000000000000000000000006001600160e01b036200059316565b620003fc7ffb9ec8ce000000000000000000000000000000000000000000000000000000006001600160e01b036200059316565b505050505080156200041b576200041b6001600160e01b036200066216565b50505050505062000aaf565b620004428160066200073160201b62001c0b1790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b620004948160086200073160201b62001c0b1790919060201c565b6040516001600160a01b038216907fac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d90600090a250565b6009546001600160a01b03165b90565b6007546200050a82620004f66001600160e01b03620007d816565b620007de60201b620013be1790919060201c565b11156200057857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b6200058f82826200085a60201b62001c8c1760201c565b5050565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200062557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152600a60205260409020805460ff19166001179055565b620006756001600160e01b036200097916565b620006e157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6009805460ff60a81b191675010000000000000000000000000000000000000000001790556040517f75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d90600090a1565b6200074682826001600160e01b036200098a16565b15620007b357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60055490565b6000828201838110156200085357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216620008d057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620008ec81600554620007de60201b620013be1790919060201c565b6005556001600160a01b03821660009081526003602090815260409091205462000921918390620013be620007de821b17901c565b6001600160a01b03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6009546001600160a01b0316331490565b60006001600160a01b038216620009ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180620029da6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000a5057805160ff191683800117855562000a80565b8280016001018555821562000a80579182015b8281111562000a8057825182559160200191906001019062000a63565b5062000a8e92915062000a92565b5090565b620004d891905b8082111562000a8e576000815560010162000a99565b611f1b8062000abf6000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806379cc67901161013b578063a9059cbb116100b8578063cae9ca511161007c578063cae9ca511461081d578063d8fbe994146108d8578063dd62ed3e1461090e578063f1b50c1d1461093c578063f2fde38b1461094457610248565b8063a9059cbb146106d7578063aa271e1a14610703578063ac8a584a14610729578063b60b70841461074f578063c1d34b891461075757610248565b806395d89b41116100ff57806395d89b411461064f578063983b2d5614610657578063986502751461067d5780639870d7fe14610685578063a457c2d7146106ab57610248565b806379cc6790146105c35780637d64bcb4146105ef5780638980f11f146105f75780638da5cb5b146106235780638f32d59b1461064757610248565b80633177029f116101c957806342966c681161018d57806342966c681461054a5780634cd412d5146105675780636d70f7ae1461056f57806370a0823114610595578063715018a6146105bb57610248565b80633177029f14610403578063355274ea1461042f57806339509351146104375780634000aea01461046357806340c10f191461051e57610248565b806318160ddd1161021057806318160ddd1461036557806323b872dd1461037f5780632ab6f8db146103b55780633092afd5146103bf578063313ce567146103e557610248565b806301ffc9a71461024d57806305d2035b1461028857806306fdde0314610290578063095ea7b31461030d5780631296ee6214610339575b600080fd5b6102746004803603602081101561026357600080fd5b50356001600160e01b03191661096a565b604080519115158252519081900360200190f35b610274610989565b610298610999565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d25781810151838201526020016102ba565b50505050905090810190601f1680156102ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102746004803603604081101561032357600080fd5b506001600160a01b038135169060200135610a2f565b6102746004803603604081101561034f57600080fd5b506001600160a01b038135169060200135610a45565b61036d610a68565b60408051918252519081900360200190f35b6102746004803603606081101561039557600080fd5b506001600160a01b03813581169160208101359091169060400135610a6e565b6103bd610aac565b005b6103bd600480360360208110156103d557600080fd5b50356001600160a01b0316610ab7565b6103ed610b0a565b6040805160ff9092168252519081900360200190f35b6102746004803603604081101561041957600080fd5b506001600160a01b038135169060200135610b13565b61036d610b2f565b6102746004803603604081101561044d57600080fd5b506001600160a01b038135169060200135610b35565b6102746004803603606081101561047957600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156104a957600080fd5b8201836020820111156104bb57600080fd5b803590602001918460018302840111640100000000831117156104dd57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b76945050505050565b6102746004803603604081101561053457600080fd5b506001600160a01b038135169060200135610baa565b6103bd6004803603602081101561056057600080fd5b5035610bce565b610274610bd8565b6102746004803603602081101561058557600080fd5b50356001600160a01b0316610be8565b61036d600480360360208110156105ab57600080fd5b50356001600160a01b0316610c01565b6103bd610c1c565b6103bd600480360360408110156105d957600080fd5b506001600160a01b038135169060200135610cad565b6103bd610cbb565b6103bd6004803603604081101561060d57600080fd5b506001600160a01b038135169060200135610d57565b61062b610e35565b604080516001600160a01b039092168252519081900360200190f35b610274610e44565b610298610e55565b6103bd6004803603602081101561066d57600080fd5b50356001600160a01b0316610eb5565b6103bd610f02565b6103bd6004803603602081101561069b57600080fd5b50356001600160a01b0316610f0b565b610274600480360360408110156106c157600080fd5b506001600160a01b038135169060200135610f26565b610274600480360360408110156106ed57600080fd5b506001600160a01b038135169060200135610f62565b6102746004803603602081101561071957600080fd5b50356001600160a01b0316610f9e565b6103bd6004803603602081101561073f57600080fd5b50356001600160a01b0316610fb1565b610298611001565b6102746004803603608081101561076d57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156107a857600080fd5b8201836020820111156107ba57600080fd5b803590602001918460018302840111640100000000831117156107dc57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061108f945050505050565b6102746004803603606081101561083357600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561086357600080fd5b82018360208201111561087557600080fd5b8035906020019184600183028401116401000000008311171561089757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506110c5945050505050565b610274600480360360608110156108ee57600080fd5b506001600160a01b038135811691602081013590911690604001356110dd565b61036d6004803603604081101561092457600080fd5b506001600160a01b03813581169160200135166110fa565b6103bd611125565b6103bd6004803603602081101561095a57600080fd5b50356001600160a01b03166111aa565b6001600160e01b0319166000908152600a602052604090205460ff1690565b600954600160a01b900460ff1690565b60008054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a255780601f106109fa57610100808354040283529160200191610a25565b820191906000526020600020905b815481529060010190602001808311610a0857829003601f168201915b5050505050905090565b6000610a3c3384846111fa565b50600192915050565b6000610a61838360405180602001604052806000815250610b76565b9392505050565b60055490565b6009546000908490600160a81b900460ff1680610a8f5750610a8f81610be8565b610a9857600080fd5b610aa38585856112e6565b95945050505050565b610ab53361132e565b565b610abf610e44565b610afe576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b610b0781611376565b50565b60025460ff1690565b6000610a618383604051806020016040528060008152506110c5565b60075490565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610a3c918590610b71908663ffffffff6113be16565b6111fa565b6000610b828484610f62565b610b8b57600080fd5b610b9733858585611418565b610ba057600080fd5b5060019392505050565b600954600090600160a01b900460ff1615610bc457600080fd5b610a61838361154b565b610b07338261159b565b600954600160a81b900460ff1690565b6000610bfb60088363ffffffff61167616565b92915050565b6001600160a01b031660009081526003602052604090205490565b610c24610e44565b610c63576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b610cb782826116dd565b5050565b610cc3610e44565b610d02576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b600954600160a01b900460ff1615610d1957600080fd5b6009805460ff60a01b1916600160a01b1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a1565b610d5f610e44565b610d9e576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b816001600160a01b031663a9059cbb610db5610e35565b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610e0557600080fd5b505af1158015610e19573d6000803e3d6000fd5b505050506040513d6020811015610e2f57600080fd5b50505050565b6009546001600160a01b031690565b6009546001600160a01b0316331490565b60018054604080516020601f60026000196101008789161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a255780601f106109fa57610100808354040283529160200191610a25565b610ebe33610f9e565b610ef95760405162461bcd60e51b8152600401808060200182810382526030815260200180611dea6030913960400191505060405180910390fd5b610b0781611722565b610ab533611376565b610f1433610be8565b610f1d57600080fd5b610b078161176a565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610a3c918590610b71908663ffffffff6117b216565b6009546000903390600160a81b900460ff1680610f835750610f8381610be8565b610f8c57600080fd5b610f96848461180f565b949350505050565b6000610bfb60068363ffffffff61167616565b610fb9610e44565b610ff8576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b610b078161132e565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156110875780601f1061105c57610100808354040283529160200191611087565b820191906000526020600020905b81548152906001019060200180831161106a57829003601f168201915b505050505081565b600061109c858585610a6e565b6110a557600080fd5b6110b185858585611418565b6110ba57600080fd5b506001949350505050565b60006110d18484610a2f565b50610b9784848461181c565b6000610f968484846040518060200160405280600081525061108f565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b61112d610e44565b61116c576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b6009805460ff60a81b1916600160a81b1790556040517f75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d90600090a1565b6111b2610e44565b6111f1576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b610b0781611941565b6001600160a01b03831661123f5760405162461bcd60e51b8152600401808060200182810382526024815260200180611ec36024913960400191505060405180910390fd5b6001600160a01b0382166112845760405162461bcd60e51b8152600401808060200182810382526022815260200180611dc86022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006112f38484846119e2565b6001600160a01b038416600090815260046020908152604080832033808552925290912054610ba0918691610b71908663ffffffff6117b216565b61133f60088263ffffffff611b2616565b6040516001600160a01b038216907f80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d90600090a250565b61138760068263ffffffff611b2616565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b600082820183811015610a61576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061142c846001600160a01b0316611b8d565b61143857506000610f96565b604051632229f29760e21b815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a16946388a7ca5c9490938c938b938b939260a4019060208501908083838e5b838110156114b257818101518382015260200161149a565b50505050905090810190601f1680156114df5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561150157600080fd5b505af1158015611515573d6000803e3d6000fd5b505050506040513d602081101561152b57600080fd5b50516001600160e01b031916632229f29760e21b14915050949350505050565b600061155633610f9e565b6115915760405162461bcd60e51b8152600401808060200182810382526030815260200180611dea6030913960400191505060405180910390fd5b610a3c8383611b93565b6001600160a01b0382166115e05760405162461bcd60e51b8152600401808060200182810382526021815260200180611e7d6021913960400191505060405180910390fd5b6005546115f3908263ffffffff6117b216565b6005556001600160a01b03821660009081526003602052604090205461161f908263ffffffff6117b216565b6001600160a01b0383166000818152600360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b60006001600160a01b0382166116bd5760405162461bcd60e51b8152600401808060200182810382526022815260200180611e5b6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6116e7828261159b565b6001600160a01b038216600090815260046020908152604080832033808552925290912054610cb7918491610b71908563ffffffff6117b216565b61173360068263ffffffff611c0b16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61177b60088263ffffffff611c0b16565b6040516001600160a01b038216907fac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d90600090a250565b600082821115611809576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000610a3c3384846119e2565b6000611830846001600160a01b0316611b8d565b61183c57506000610a61565b6040516307b04a2d60e41b81523360048201818152602483018690526060604484019081528551606485015285516000946001600160a01b038a1694637b04a2d09490938a938a936084019060208501908083838d5b838110156118aa578181015183820152602001611892565b50505050905090810190601f1680156118d75780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b1580156118f857600080fd5b505af115801561190c573d6000803e3d6000fd5b505050506040513d602081101561192257600080fd5b50516001600160e01b0319166307b04a2d60e41b149150509392505050565b6001600160a01b0381166119865760405162461bcd60e51b8152600401808060200182810382526026815260200180611da26026913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316611a275760405162461bcd60e51b8152600401808060200182810382526025815260200180611e9e6025913960400191505060405180910390fd5b6001600160a01b038216611a6c5760405162461bcd60e51b8152600401808060200182810382526023815260200180611d7f6023913960400191505060405180910390fd5b6001600160a01b038316600090815260036020526040902054611a95908263ffffffff6117b216565b6001600160a01b038085166000908152600360205260408082209390935590841681522054611aca908263ffffffff6113be16565b6001600160a01b0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b611b308282611676565b611b6b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e1a6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b3b151590565b600754611bae82611ba2610a68565b9063ffffffff6113be16565b1115611c01576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b610cb78282611c8c565b611c158282611676565b15611c67576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b038216611ce7576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600554611cfa908263ffffffff6113be16565b6005556001600160a01b038216600090815260036020526040902054611d26908263ffffffff6113be16565b6001600160a01b03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a265627a7a723158205e124dbff32d6e14aec5494d73479040030dfd72e5518fa0b5148be1f9ff7fba64736f6c634300050c0032526f6c65733a206163636f756e7420697320746865207a65726f206164647265737368747470733a2f2f766974746f6d696e61636f72692e6769746875622e696f2f65726332302d67656e657261746f7200000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000001431e0fae6d7217caa0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000009426573744552433230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044245535400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102485760003560e01c806379cc67901161013b578063a9059cbb116100b8578063cae9ca511161007c578063cae9ca511461081d578063d8fbe994146108d8578063dd62ed3e1461090e578063f1b50c1d1461093c578063f2fde38b1461094457610248565b8063a9059cbb146106d7578063aa271e1a14610703578063ac8a584a14610729578063b60b70841461074f578063c1d34b891461075757610248565b806395d89b41116100ff57806395d89b411461064f578063983b2d5614610657578063986502751461067d5780639870d7fe14610685578063a457c2d7146106ab57610248565b806379cc6790146105c35780637d64bcb4146105ef5780638980f11f146105f75780638da5cb5b146106235780638f32d59b1461064757610248565b80633177029f116101c957806342966c681161018d57806342966c681461054a5780634cd412d5146105675780636d70f7ae1461056f57806370a0823114610595578063715018a6146105bb57610248565b80633177029f14610403578063355274ea1461042f57806339509351146104375780634000aea01461046357806340c10f191461051e57610248565b806318160ddd1161021057806318160ddd1461036557806323b872dd1461037f5780632ab6f8db146103b55780633092afd5146103bf578063313ce567146103e557610248565b806301ffc9a71461024d57806305d2035b1461028857806306fdde0314610290578063095ea7b31461030d5780631296ee6214610339575b600080fd5b6102746004803603602081101561026357600080fd5b50356001600160e01b03191661096a565b604080519115158252519081900360200190f35b610274610989565b610298610999565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d25781810151838201526020016102ba565b50505050905090810190601f1680156102ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102746004803603604081101561032357600080fd5b506001600160a01b038135169060200135610a2f565b6102746004803603604081101561034f57600080fd5b506001600160a01b038135169060200135610a45565b61036d610a68565b60408051918252519081900360200190f35b6102746004803603606081101561039557600080fd5b506001600160a01b03813581169160208101359091169060400135610a6e565b6103bd610aac565b005b6103bd600480360360208110156103d557600080fd5b50356001600160a01b0316610ab7565b6103ed610b0a565b6040805160ff9092168252519081900360200190f35b6102746004803603604081101561041957600080fd5b506001600160a01b038135169060200135610b13565b61036d610b2f565b6102746004803603604081101561044d57600080fd5b506001600160a01b038135169060200135610b35565b6102746004803603606081101561047957600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156104a957600080fd5b8201836020820111156104bb57600080fd5b803590602001918460018302840111640100000000831117156104dd57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b76945050505050565b6102746004803603604081101561053457600080fd5b506001600160a01b038135169060200135610baa565b6103bd6004803603602081101561056057600080fd5b5035610bce565b610274610bd8565b6102746004803603602081101561058557600080fd5b50356001600160a01b0316610be8565b61036d600480360360208110156105ab57600080fd5b50356001600160a01b0316610c01565b6103bd610c1c565b6103bd600480360360408110156105d957600080fd5b506001600160a01b038135169060200135610cad565b6103bd610cbb565b6103bd6004803603604081101561060d57600080fd5b506001600160a01b038135169060200135610d57565b61062b610e35565b604080516001600160a01b039092168252519081900360200190f35b610274610e44565b610298610e55565b6103bd6004803603602081101561066d57600080fd5b50356001600160a01b0316610eb5565b6103bd610f02565b6103bd6004803603602081101561069b57600080fd5b50356001600160a01b0316610f0b565b610274600480360360408110156106c157600080fd5b506001600160a01b038135169060200135610f26565b610274600480360360408110156106ed57600080fd5b506001600160a01b038135169060200135610f62565b6102746004803603602081101561071957600080fd5b50356001600160a01b0316610f9e565b6103bd6004803603602081101561073f57600080fd5b50356001600160a01b0316610fb1565b610298611001565b6102746004803603608081101561076d57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156107a857600080fd5b8201836020820111156107ba57600080fd5b803590602001918460018302840111640100000000831117156107dc57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061108f945050505050565b6102746004803603606081101561083357600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561086357600080fd5b82018360208201111561087557600080fd5b8035906020019184600183028401116401000000008311171561089757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506110c5945050505050565b610274600480360360608110156108ee57600080fd5b506001600160a01b038135811691602081013590911690604001356110dd565b61036d6004803603604081101561092457600080fd5b506001600160a01b03813581169160200135166110fa565b6103bd611125565b6103bd6004803603602081101561095a57600080fd5b50356001600160a01b03166111aa565b6001600160e01b0319166000908152600a602052604090205460ff1690565b600954600160a01b900460ff1690565b60008054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a255780601f106109fa57610100808354040283529160200191610a25565b820191906000526020600020905b815481529060010190602001808311610a0857829003601f168201915b5050505050905090565b6000610a3c3384846111fa565b50600192915050565b6000610a61838360405180602001604052806000815250610b76565b9392505050565b60055490565b6009546000908490600160a81b900460ff1680610a8f5750610a8f81610be8565b610a9857600080fd5b610aa38585856112e6565b95945050505050565b610ab53361132e565b565b610abf610e44565b610afe576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b610b0781611376565b50565b60025460ff1690565b6000610a618383604051806020016040528060008152506110c5565b60075490565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610a3c918590610b71908663ffffffff6113be16565b6111fa565b6000610b828484610f62565b610b8b57600080fd5b610b9733858585611418565b610ba057600080fd5b5060019392505050565b600954600090600160a01b900460ff1615610bc457600080fd5b610a61838361154b565b610b07338261159b565b600954600160a81b900460ff1690565b6000610bfb60088363ffffffff61167616565b92915050565b6001600160a01b031660009081526003602052604090205490565b610c24610e44565b610c63576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b610cb782826116dd565b5050565b610cc3610e44565b610d02576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b600954600160a01b900460ff1615610d1957600080fd5b6009805460ff60a01b1916600160a01b1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a1565b610d5f610e44565b610d9e576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b816001600160a01b031663a9059cbb610db5610e35565b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610e0557600080fd5b505af1158015610e19573d6000803e3d6000fd5b505050506040513d6020811015610e2f57600080fd5b50505050565b6009546001600160a01b031690565b6009546001600160a01b0316331490565b60018054604080516020601f60026000196101008789161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a255780601f106109fa57610100808354040283529160200191610a25565b610ebe33610f9e565b610ef95760405162461bcd60e51b8152600401808060200182810382526030815260200180611dea6030913960400191505060405180910390fd5b610b0781611722565b610ab533611376565b610f1433610be8565b610f1d57600080fd5b610b078161176a565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610a3c918590610b71908663ffffffff6117b216565b6009546000903390600160a81b900460ff1680610f835750610f8381610be8565b610f8c57600080fd5b610f96848461180f565b949350505050565b6000610bfb60068363ffffffff61167616565b610fb9610e44565b610ff8576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b610b078161132e565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156110875780601f1061105c57610100808354040283529160200191611087565b820191906000526020600020905b81548152906001019060200180831161106a57829003601f168201915b505050505081565b600061109c858585610a6e565b6110a557600080fd5b6110b185858585611418565b6110ba57600080fd5b506001949350505050565b60006110d18484610a2f565b50610b9784848461181c565b6000610f968484846040518060200160405280600081525061108f565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b61112d610e44565b61116c576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b6009805460ff60a81b1916600160a81b1790556040517f75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d90600090a1565b6111b2610e44565b6111f1576040805162461bcd60e51b81526020600482018190526024820152600080516020611e3b833981519152604482015290519081900360640190fd5b610b0781611941565b6001600160a01b03831661123f5760405162461bcd60e51b8152600401808060200182810382526024815260200180611ec36024913960400191505060405180910390fd5b6001600160a01b0382166112845760405162461bcd60e51b8152600401808060200182810382526022815260200180611dc86022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006112f38484846119e2565b6001600160a01b038416600090815260046020908152604080832033808552925290912054610ba0918691610b71908663ffffffff6117b216565b61133f60088263ffffffff611b2616565b6040516001600160a01b038216907f80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d90600090a250565b61138760068263ffffffff611b2616565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b600082820183811015610a61576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061142c846001600160a01b0316611b8d565b61143857506000610f96565b604051632229f29760e21b815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a16946388a7ca5c9490938c938b938b939260a4019060208501908083838e5b838110156114b257818101518382015260200161149a565b50505050905090810190601f1680156114df5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561150157600080fd5b505af1158015611515573d6000803e3d6000fd5b505050506040513d602081101561152b57600080fd5b50516001600160e01b031916632229f29760e21b14915050949350505050565b600061155633610f9e565b6115915760405162461bcd60e51b8152600401808060200182810382526030815260200180611dea6030913960400191505060405180910390fd5b610a3c8383611b93565b6001600160a01b0382166115e05760405162461bcd60e51b8152600401808060200182810382526021815260200180611e7d6021913960400191505060405180910390fd5b6005546115f3908263ffffffff6117b216565b6005556001600160a01b03821660009081526003602052604090205461161f908263ffffffff6117b216565b6001600160a01b0383166000818152600360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b60006001600160a01b0382166116bd5760405162461bcd60e51b8152600401808060200182810382526022815260200180611e5b6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6116e7828261159b565b6001600160a01b038216600090815260046020908152604080832033808552925290912054610cb7918491610b71908563ffffffff6117b216565b61173360068263ffffffff611c0b16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61177b60088263ffffffff611c0b16565b6040516001600160a01b038216907fac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d90600090a250565b600082821115611809576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000610a3c3384846119e2565b6000611830846001600160a01b0316611b8d565b61183c57506000610a61565b6040516307b04a2d60e41b81523360048201818152602483018690526060604484019081528551606485015285516000946001600160a01b038a1694637b04a2d09490938a938a936084019060208501908083838d5b838110156118aa578181015183820152602001611892565b50505050905090810190601f1680156118d75780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b1580156118f857600080fd5b505af115801561190c573d6000803e3d6000fd5b505050506040513d602081101561192257600080fd5b50516001600160e01b0319166307b04a2d60e41b149150509392505050565b6001600160a01b0381166119865760405162461bcd60e51b8152600401808060200182810382526026815260200180611da26026913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316611a275760405162461bcd60e51b8152600401808060200182810382526025815260200180611e9e6025913960400191505060405180910390fd5b6001600160a01b038216611a6c5760405162461bcd60e51b8152600401808060200182810382526023815260200180611d7f6023913960400191505060405180910390fd5b6001600160a01b038316600090815260036020526040902054611a95908263ffffffff6117b216565b6001600160a01b038085166000908152600360205260408082209390935590841681522054611aca908263ffffffff6113be16565b6001600160a01b0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b611b308282611676565b611b6b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e1a6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b3b151590565b600754611bae82611ba2610a68565b9063ffffffff6113be16565b1115611c01576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b610cb78282611c8c565b611c158282611676565b15611c67576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b038216611ce7576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600554611cfa908263ffffffff6113be16565b6005556001600160a01b038216600090815260036020526040902054611d26908263ffffffff6113be16565b6001600160a01b03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a265627a7a723158205e124dbff32d6e14aec5494d73479040030dfd72e5518fa0b5148be1f9ff7fba64736f6c634300050c0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000001431e0fae6d7217caa0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000009426573744552433230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044245535400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): BestERC20
Arg [1] : symbol (string): BEST
Arg [2] : decimals (uint8): 18
Arg [3] : cap (uint256): 100000000000000000000000000000
Arg [4] : initialSupply (uint256): 0
Arg [5] : transferEnabled (bool): True
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000001431e0fae6d7217caa0000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 4265737445524332300000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4245535400000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
51063:496:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51063:496:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22557:135;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22557:135:0;-1:-1:-1;;;;;;22557:135:0;;:::i;:::-;;;;;;;;;;;;;;;;;;47539:96;;;:::i;36343:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;36343:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15277:148;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15277:148:0;;;;;;;;:::i;32746:130::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;32746:130:0;;;;;;;;:::i;14300:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;48936:164;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;48936:164:0;;;;;;;;;;;;;;;;;:::i;45468:81::-;;;:::i;:::-;;49852:97;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49852:97:0;-1:-1:-1;;;;;49852:97:0;;:::i;37201:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33552:138;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;33552:138:0;;;;;;;;:::i;40588:75::-;;;:::i;16561:206::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16561:206:0;;;;;;;;:::i;32884:232::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;32884:232:0;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;32884:232:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;32884:232:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;32884:232:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;32884:232:0;;-1:-1:-1;32884:232:0;;-1:-1:-1;;;;;32884:232:0:i;48059:118::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;48059:118:0;;;;;;;;:::i;41452:81::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41452:81:0;;:::i;47708:96::-;;;:::i;45241:113::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45241:113:0;-1:-1:-1;;;;;45241:113:0;;:::i;14454:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14454:110:0;-1:-1:-1;;;;;14454:110:0;;:::i;43388:140::-;;;:::i;41595:103::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;41595:103:0;;;;;;;;:::i;49176:124::-;;;:::i;44644:152::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;44644:152:0;;;;;;;;:::i;42577:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;42577:79:0;;;;;;;;;;;;;;42943:92;;;:::i;36545:87::-;;;:::i;38933:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38933:92:0;-1:-1:-1;;;;;38933:92:0;;:::i;39033:77::-;;;:::i;45362:98::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45362:98:0;-1:-1:-1;;;;;45362:98:0;;:::i;17270:216::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17270:216:0;;;;;;;;:::i;48425:142::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;48425:142:0;;;;;;;;:::i;38816:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38816:109:0;-1:-1:-1;;;;;38816:109:0;;:::i;49619:101::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49619:101:0;-1:-1:-1;;;;;49619:101:0;;:::i;51112:73::-;;;:::i;33290:254::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;33290:254:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;33290:254:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;33290:254:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;33290:254:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;33290:254:0;;-1:-1:-1;33290:254:0;;-1:-1:-1;;;;;33290:254:0:i;33698:223::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;33698:223:0;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;33698:223:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;33698:223:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;33698:223:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;33698:223:0;;-1:-1:-1;33698:223:0;;-1:-1:-1;;;;;33698:223:0:i;33124:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;33124:158:0;;;;;;;;;;;;;;;;;:::i;14996:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14996:134:0;;;;;;;;;;:::i;49365:120::-;;;:::i;43683:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43683:109:0;-1:-1:-1;;;;;43683:109:0;;:::i;22557:135::-;-1:-1:-1;;;;;;22651:33:0;22627:4;22651:33;;;:20;:33;;;;;;;;;22557:135::o;47539:96::-;47611:16;;-1:-1:-1;;;47611:16:0;;;;;47539:96::o;36343:83::-;36413:5;36406:12;;;;;;;;-1:-1:-1;;36406:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36380:13;;36406:12;;36413:5;;36406:12;;36413:5;36406:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36343:83;:::o;15277:148::-;15342:4;15359:36;15368:10;15380:7;15389:5;15359:8;:36::i;:::-;-1:-1:-1;15413:4:0;15277:148;;;;:::o;32746:130::-;32814:4;32838:30;32854:2;32858:5;32838:30;;;;;;;;;;;;:15;:30::i;:::-;32831:37;32746:130;-1:-1:-1;;;32746:130:0:o;14300:91::-;14371:12;;14300:91;:::o;48936:164::-;46723:16;;49033:4;;49018;;-1:-1:-1;;;46723:16:0;;;;;:36;;;46743:16;46754:4;46743:10;:16::i;:::-;46715:45;;;;;;49057:35;49076:4;49082:2;49086:5;49057:18;:35::i;:::-;49050:42;48936:164;-1:-1:-1;;;;;48936:164:0:o;45468:81::-;45514:27;45530:10;45514:15;:27::i;:::-;45468:81::o;49852:97::-;42789:9;:7;:9::i;:::-;42781:54;;;;;-1:-1:-1;;;42781:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42781:54:0;;;;;;;;;;;;;;;49919:22;49933:7;49919:13;:22::i;:::-;49852:97;:::o;37201:83::-;37267:9;;;;37201:83;:::o;33552:138::-;33624:4;33648:34;33663:7;33672:5;33648:34;;;;;;;;;;;;:14;:34::i;40588:75::-;40651:4;;40588:75;:::o;16561:206::-;16667:10;16641:4;16688:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;16688:32:0;;;;;;;;;;16641:4;;16658:79;;16679:7;;16688:48;;16725:10;16688:48;:36;:48;:::i;:::-;16658:8;:79::i;32884:232::-;32971:4;32996:19;33005:2;33009:5;32996:8;:19::i;:::-;32988:28;;;;;;33035:50;33057:10;33069:2;33073:5;33080:4;33035:21;:50::i;:::-;33027:59;;;;;;-1:-1:-1;33104:4:0;32884:232;;;;;:::o;48059:118::-;46506:16;;48124:4;;-1:-1:-1;;;46506:16:0;;;;46505:17;46497:26;;;;;;48148:21;48159:2;48163:5;48148:10;:21::i;41452:81::-;41500:25;41506:10;41518:6;41500:5;:25::i;47708:96::-;47780:16;;-1:-1:-1;;;47780:16:0;;;;;47708:96::o;45241:113::-;45299:4;45323:23;:10;45338:7;45323:23;:14;:23;:::i;:::-;45316:30;45241:113;-1:-1:-1;;45241:113:0:o;14454:110::-;-1:-1:-1;;;;;14538:18:0;14511:7;14538:18;;;:9;:18;;;;;;;14454:110::o;43388:140::-;42789:9;:7;:9::i;:::-;42781:54;;;;;-1:-1:-1;;;42781:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42781:54:0;;;;;;;;;;;;;;;43471:6;;43450:40;;43487:1;;-1:-1:-1;;;;;43471:6:0;;43450:40;;43487:1;;43450:40;43501:6;:19;;-1:-1:-1;;;;;;43501:19:0;;;43388:140::o;41595:103::-;41664:26;41674:7;41683:6;41664:9;:26::i;:::-;41595:103;;:::o;49176:124::-;42789:9;:7;:9::i;:::-;42781:54;;;;;-1:-1:-1;;;42781:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42781:54:0;;;;;;;;;;;;;;;46506:16;;-1:-1:-1;;;46506:16:0;;;;46505:17;46497:26;;;;;;49237:16;:23;;-1:-1:-1;;;;49237:23:0;-1:-1:-1;;;49237:23:0;;;49278:14;;;;49237:23;;49278:14;49176:124::o;44644:152::-;42789:9;:7;:9::i;:::-;42781:54;;;;;-1:-1:-1;;;42781:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42781:54:0;;;;;;;;;;;;;;;44744:12;-1:-1:-1;;;;;44737:29:0;;44767:7;:5;:7::i;:::-;44776:11;44737:51;;;;;;;;;;;;;-1:-1:-1;;;;;44737:51:0;-1:-1:-1;;;;;44737:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44737:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44737:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;44644:152:0:o;42577:79::-;42642:6;;-1:-1:-1;;;;;42642:6:0;42577:79;:::o;42943:92::-;43021:6;;-1:-1:-1;;;;;43021:6:0;43007:10;:20;;42943:92::o;36545:87::-;36617:7;36610:14;;;;;;;;-1:-1:-1;;36610:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36584:13;;36610:14;;36617:7;;36610:14;;36617:7;36610:14;;;;;;;;;;;;;;;;;;;;;;;;38933:92;38715:20;38724:10;38715:8;:20::i;:::-;38707:81;;;;-1:-1:-1;;;38707:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38998:19;39009:7;38998:10;:19::i;39033:77::-;39077:25;39091:10;39077:13;:25::i;45362:98::-;45190:22;45201:10;45190;:22::i;:::-;45182:31;;;;;;45431:21;45444:7;45431:12;:21::i;17270:216::-;17381:10;17355:4;17402:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;17402:32:0;;;;;;;;;;17355:4;;17372:84;;17393:7;;17402:53;;17439:15;17402:53;:36;:53;:::i;48425:142::-;46723:16;;48510:4;;48489:10;;-1:-1:-1;;;46723:16:0;;;;;:36;;;46743:16;46754:4;46743:10;:16::i;:::-;46715:45;;;;;;48534:25;48549:2;48553:5;48534:14;:25::i;:::-;48527:32;48425:142;-1:-1:-1;;;;48425:142:0:o;38816:109::-;38872:4;38896:21;:8;38909:7;38896:21;:12;:21;:::i;49619:101::-;42789:9;:7;:9::i;:::-;42781:54;;;;;-1:-1:-1;;;42781:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42781:54:0;;;;;;;;;;;;;;;49688:24;49704:7;49688:15;:24::i;51112:73::-;;;;;;;;;;;;;;;-1:-1:-1;;51112:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33290:254::-;33395:4;33420:29;33433:4;33439:2;33443:5;33420:12;:29::i;:::-;33412:38;;;;;;33469:44;33491:4;33497:2;33501:5;33508:4;33469:21;:44::i;:::-;33461:53;;;;;;-1:-1:-1;33532:4:0;33290:254;;;;;;:::o;33698:223::-;33789:4;33806:23;33814:7;33823:5;33806:7;:23::i;:::-;;33848:42;33869:7;33878:5;33885:4;33848:20;:42::i;33124:158::-;33210:4;33234:40;33254:4;33260:2;33264:5;33234:40;;;;;;;;;;;;:19;:40::i;14996:134::-;-1:-1:-1;;;;;15095:18:0;;;15068:7;15095:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;14996:134::o;49365:120::-;42789:9;:7;:9::i;:::-;42781:54;;;;;-1:-1:-1;;;42781:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42781:54:0;;;;;;;;;;;;;;;49419:16;:23;;-1:-1:-1;;;;49419:23:0;-1:-1:-1;;;49419:23:0;;;49460:17;;;;49419:23;;49460:17;49365:120::o;43683:109::-;42789:9;:7;:9::i;:::-;42781:54;;;;;-1:-1:-1;;;42781:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42781:54:0;;;;;;;;;;;;;;;43756:28;43775:8;43756:18;:28::i;20072:335::-;-1:-1:-1;;;;;20165:19:0;;20157:68;;;;-1:-1:-1;;;20157:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20244:21:0;;20236:68;;;;-1:-1:-1;;;20236:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20317:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:35;;;20368:31;;;;;;;;;;;;;;;;;20072:335;;;:::o;15896:256::-;15985:4;16002:36;16012:6;16020:9;16031:6;16002:9;:36::i;:::-;-1:-1:-1;;;;;16078:19:0;;;;;;:11;:19;;;;;;;;16066:10;16078:31;;;;;;;;;16049:73;;16058:6;;16078:43;;16114:6;16078:43;:35;:43;:::i;45693:136::-;45755:26;:10;45773:7;45755:26;:17;:26;:::i;:::-;45797:24;;-1:-1:-1;;;;;45797:24:0;;;;;;;;45693:136;:::o;39248:130::-;39308:24;:8;39324:7;39308:24;:15;:24;:::i;:::-;39348:22;;-1:-1:-1;;;;;39348:22:0;;;;;;;;39248:130;:::o;9997:181::-;10055:7;10087:5;;;10111:6;;;;10103:46;;;;;-1:-1:-1;;;10103:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;34477:362;34586:4;34608:15;:2;-1:-1:-1;;;;;34608:13:0;;:15::i;:::-;34603:61;;-1:-1:-1;34647:5:0;34640:12;;34603:61;34690:94;;-1:-1:-1;;;34690:94:0;;34744:10;34690:94;;;;;;-1:-1:-1;;;;;34690:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34674:13;;34690:39;;;;;;34744:10;;34756:4;;34762:5;;34769:4;;34690:94;;;;;;;;;;;34674:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;34690:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34690:94:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34690:94:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34690:94:0;-1:-1:-1;;;;;;34803:27:0;-1:-1:-1;;;34803:27:0;;-1:-1:-1;;34477:362:0;;;;;;:::o;39875:143::-;39949:4;38715:20;38724:10;38715:8;:20::i;:::-;38707:81;;;;-1:-1:-1;;;38707:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39966:22;39972:7;39981:6;39966:5;:22::i;19326:306::-;-1:-1:-1;;;;;19401:21:0;;19393:67;;;;-1:-1:-1;;;19393:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19488:12;;:23;;19505:5;19488:23;:16;:23;:::i;:::-;19473:12;:38;-1:-1:-1;;;;;19543:18:0;;;;;;:9;:18;;;;;;:29;;19566:5;19543:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;19522:18:0;;;;;;:9;:18;;;;;;;;:50;;;;19588:36;;;;;;;19522:18;;19588:36;;;;;;;;;;;19326:306;;:::o;38127:203::-;38199:4;-1:-1:-1;;;;;38224:21:0;;38216:68;;;;-1:-1:-1;;;38216:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38302:20:0;:11;:20;;;;;;;;;;;;;;;38127:203::o;20592:188::-;20664:22;20670:7;20679:6;20664:5;:22::i;:::-;-1:-1:-1;;;;;20727:20:0;;;;;;:11;:20;;;;;;;;20715:10;20727:32;;;;;;;;;20697:75;;20706:7;;20727:44;;20764:6;20727:44;:36;:44;:::i;39118:122::-;39175:21;:8;39188:7;39175:21;:12;:21;:::i;:::-;39212:20;;-1:-1:-1;;;;;39212:20:0;;;;;;;;39118:122;:::o;45557:128::-;45616:23;:10;45631:7;45616:23;:14;:23;:::i;:::-;45655:22;;-1:-1:-1;;;;;45655:22:0;;;;;;;;45557:128;:::o;10453:184::-;10511:7;10544:1;10539;:6;;10531:49;;;;;-1:-1:-1;;;10531:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10603:5:0;;;10453:184::o;14777:156::-;14846:4;14863:40;14873:10;14885:9;14896:6;14863:9;:40::i;35298:355::-;35397:4;35419:20;:7;-1:-1:-1;;;;;35419:18:0;;:20::i;:::-;35414:66;;-1:-1:-1;35463:5:0;35456:12;;35414:66;35506:92;;-1:-1:-1;;;35506:92:0;;35564:10;35506:92;;;;;;;;;;;;;;;;;;;;;;;;;;;35490:13;;-1:-1:-1;;;;;35506:43:0;;;;;35564:10;;35576:5;;35583:4;;35506:92;;;;;;;;;;35490:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;35506:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35506:92:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35506:92:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35506:92:0;-1:-1:-1;;;;;;35617:27:0;-1:-1:-1;;;35617:27:0;;-1:-1:-1;;35298:355:0;;;;;:::o;43898:229::-;-1:-1:-1;;;;;43972:22:0;;43964:73;;;;-1:-1:-1;;;43964:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44074:6;;44053:38;;-1:-1:-1;;;;;44053:38:0;;;;44074:6;;44053:38;;44074:6;;44053:38;44102:6;:17;;-1:-1:-1;;;;;;44102:17:0;-1:-1:-1;;;;;44102:17:0;;;;;;;;;;43898:229::o;17976:429::-;-1:-1:-1;;;;;18074:20:0;;18066:70;;;;-1:-1:-1;;;18066:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18155:23:0;;18147:71;;;;-1:-1:-1;;;18147:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18251:17:0;;;;;;:9;:17;;;;;;:29;;18273:6;18251:29;:21;:29;:::i;:::-;-1:-1:-1;;;;;18231:17:0;;;;;;;:9;:17;;;;;;:49;;;;18314:20;;;;;;;:32;;18339:6;18314:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;18291:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;18362:35;;;;;;;18291:20;;18362:35;;;;;;;;;;;;;17976:429;;;:::o;37849:183::-;37929:18;37933:4;37939:7;37929:3;:18::i;:::-;37921:64;;;;-1:-1:-1;;;37921:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37996:20:0;38019:5;37996:20;;;;;;;;;;;:28;;-1:-1:-1;;37996:28:0;;;37849:183::o;613:422::-;980:20;1019:8;;;613:422::o;40836:183::-;40939:4;;40911:24;40929:5;40911:13;:11;:13::i;:::-;:17;:24;:17;:24;:::i;:::-;:32;;40903:70;;;;;-1:-1:-1;;;40903:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40984:27;40996:7;41005:5;40984:11;:27::i;37591:178::-;37669:18;37673:4;37679:7;37669:3;:18::i;:::-;37668:19;37660:63;;;;;-1:-1:-1;;;37660:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37734:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;37734:27:0;37757:4;37734:27;;;37591:178::o;18686:308::-;-1:-1:-1;;;;;18762:21:0;;18754:65;;;;;-1:-1:-1;;;18754:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18847:12;;:24;;18864:6;18847:24;:16;:24;:::i;:::-;18832:12;:39;-1:-1:-1;;;;;18903:18:0;;;;;;:9;:18;;;;;;:30;;18926:6;18903:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;18882:18:0;;;;;;:9;:18;;;;;;;;:51;;;;18949:37;;;;;;;18882:18;;;;18949:37;;;;;;;;;;18686:308;;:::o
Swarm Source
bzzr://5e124dbff32d6e14aec5494d73479040030dfd72e5518fa0b5148be1f9ff7fba
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.