Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 100 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Cross In | 13684284 | 1127 days ago | IN | 0 ETH | 0.00858144 | ||||
Cross In | 13514874 | 1153 days ago | IN | 0 ETH | 0.01148481 | ||||
Cross In | 13280616 | 1190 days ago | IN | 0 ETH | 0.00305732 | ||||
Cross In | 12997263 | 1234 days ago | IN | 0 ETH | 0.00241992 | ||||
Cross In | 12433130 | 1322 days ago | IN | 0 ETH | 0.01301466 | ||||
Fetch Balance | 12416283 | 1324 days ago | IN | 0 ETH | 0.01655318 | ||||
Transfer Ownersh... | 12411239 | 1325 days ago | IN | 0 ETH | 0.00661388 | ||||
Cross In | 12394427 | 1328 days ago | IN | 0 ETH | 0.00950328 | ||||
Cross In | 12387005 | 1329 days ago | IN | 0 ETH | 0.00277725 | ||||
Cross In | 12386101 | 1329 days ago | IN | 0 ETH | 0.00327806 | ||||
Cross In | 12385040 | 1329 days ago | IN | 0 ETH | 0.00169563 | ||||
Cross In | 12385006 | 1329 days ago | IN | 0 ETH | 0.00174661 | ||||
Cross In | 12382393 | 1329 days ago | IN | 0 ETH | 0.0044233 | ||||
Cross In | 12357442 | 1333 days ago | IN | 0 ETH | 0.00379068 | ||||
Cross In | 12353406 | 1334 days ago | IN | 0 ETH | 0.00158641 | ||||
Cross In | 12347498 | 1335 days ago | IN | 0 ETH | 0.00198694 | ||||
Cross In | 12346477 | 1335 days ago | IN | 0 ETH | 0.00190797 | ||||
Cross In | 12343279 | 1335 days ago | IN | 0 ETH | 0.00461199 | ||||
Cross In | 12339162 | 1336 days ago | IN | 0 ETH | 0.00169192 | ||||
Cross In | 12337445 | 1336 days ago | IN | 0 ETH | 0.00334843 | ||||
Cross In | 12336412 | 1337 days ago | IN | 0 ETH | 0.00620304 | ||||
Cross In | 12334902 | 1337 days ago | IN | 0 ETH | 0.00328851 | ||||
Cross In | 12334376 | 1337 days ago | IN | 0 ETH | 0.00261997 | ||||
Cross In | 12328525 | 1338 days ago | IN | 0 ETH | 0.0027217 | ||||
Cross In | 12327969 | 1338 days ago | IN | 0 ETH | 0.00265532 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
GeneBridge
Compiler Version
v0.6.2+commit.bacdbe57
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.6.2; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./lib/Manageable.sol"; contract GeneBridge is Manageable { using SafeERC20 for IERC20; using SafeMath for uint256; struct TokenInfo { address tokenAddr; uint256 fee; uint256 min; uint256 max; bool pause; } event CrossIn(address indexed sender, address indexed receiver, address indexed token, uint256 amount, uint256 receipts); event TokenAdded(TokenInfo[] tokens); event TokenRemoved(address[] tokens); event TokenPaused(address[] tokens); event TokenUnPaused(address[] tokens); mapping(address => TokenInfo) public _allowTokens; constructor(TokenInfo[] memory tokens) public { addOperator(msg.sender); setTokens(tokens); } function crossIn(address token, address receiver, uint256 amount) external whenNotPaused { TokenInfo storage tokenInfo = _allowTokens[token]; require(tokenInfo.tokenAddr != address(0), 'GENE-BRIDGE: unsupported token'); require(!tokenInfo.pause, 'GENE-BRIDGE: paused'); require(amount >= tokenInfo.min && (tokenInfo.max == 0 || amount <= tokenInfo.max), 'GENE-BRIDGE: amount error'); IERC20(token).safeTransferFrom(msg.sender, address(this), amount); uint256 receipts = amount.sub(tokenInfo.fee); emit CrossIn(msg.sender, receiver, token, amount, receipts); } function setTokens(TokenInfo[] memory tokens) public onlyOperator { address addr; for (uint256 i = 0; i < tokens.length; i ++) { addr = tokens[i].tokenAddr; // already exists if (_allowTokens[addr].tokenAddr != address(0)) { delete _allowTokens[addr]; } _allowTokens[addr] = tokens[i]; } emit TokenAdded(tokens); } function removeTokens(address[] calldata tokens) external onlyOperator { for (uint256 i = 0; i < tokens.length; i ++) { delete _allowTokens[tokens[i]]; } emit TokenRemoved(tokens); } }
pragma solidity ^0.6.2; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; contract Manageable is Ownable, Pausable { using SafeERC20 for IERC20; mapping(address => bool) public _operators; modifier onlyOperator() { require(_operators[msg.sender], "!operator"); _; } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function addOperator(address _operator) public onlyOwner { _operators[_operator] = true; } function removeOperator(address _operator) public onlyOwner { _operators[_operator] = false; } function fetchBalance(address _tokenAddress, address _receiverAddress) public onlyOwner { if (_receiverAddress == address(0)) { _receiverAddress = owner(); } if (_tokenAddress == address(0)) { require(payable(_receiverAddress).send(address(this).balance)); return; } IERC20(_tokenAddress).safeTransfer(_receiverAddress, IERC20(_tokenAddress).balanceOf(address(this))); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../GSN/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @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(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { 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 virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @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) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); 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) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @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) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `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); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../GSN/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"components":[{"internalType":"address","name":"tokenAddr","type":"address"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bool","name":"pause","type":"bool"}],"internalType":"struct GeneBridge.TokenInfo[]","name":"tokens","type":"tuple[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"receipts","type":"uint256"}],"name":"CrossIn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"tokenAddr","type":"address"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bool","name":"pause","type":"bool"}],"indexed":false,"internalType":"struct GeneBridge.TokenInfo[]","name":"tokens","type":"tuple[]"}],"name":"TokenAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"TokenPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"TokenRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"TokenUnPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_allowTokens","outputs":[{"internalType":"address","name":"tokenAddr","type":"address"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bool","name":"pause","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_operators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"addOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"crossIn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_receiverAddress","type":"address"}],"name":"fetchBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"removeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"removeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"tokenAddr","type":"address"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bool","name":"pause","type":"bool"}],"internalType":"struct GeneBridge.TokenInfo[]","name":"tokens","type":"tuple[]"}],"name":"setTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620019bc380380620019bc833981016040819052620000349162000353565b6000620000496001600160e01b03620000cf16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b19169055620000b4336001600160e01b03620000d316565b620000c8816001600160e01b036200014616565b5062000530565b3390565b620000e66001600160e01b03620000cf16565b6000546001600160a01b039081169116146200011f5760405162461bcd60e51b81526004016200011690620004b4565b60405180910390fd5b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b3360009081526001602052604090205460ff16620001785760405162461bcd60e51b8152600401620001169062000491565b6000805b82518110156200029b578281815181106200019357fe5b602090810291909101810151516001600160a01b038082166000908152600290935260409092205490935016156200020e576001600160a01b0382166000908152600260208190526040822080546001600160a01b0319168155600181018390559081018290556003810191909155600401805460ff191690555b8281815181106200021b57fe5b6020908102919091018101516001600160a01b0384811660009081526002808552604091829020845181546001600160a01b0319169416939093178355938301516001808401919091559083015193820193909355606082015160038201556080909101516004909101805460ff1916911515919091179055016200017c565b507fe4a39ba52f74152f51dd596e851e78d6ff3caf350a46238db8dc21caf00eb6ae82604051620002cd91906200040a565b60405180910390a15050565b600060a08284031215620002eb578081fd5b620002f760a0620004e9565b82519091506001600160a01b03811681146200031257600080fd5b80825250602082015160208201526040820151604082015260608201516060820152608082015180151581146200034857600080fd5b608082015292915050565b6000602080838503121562000366578182fd5b82516001600160401b038111156200037c578283fd5b80840185601f8201126200038e578384fd5b80519150620003a7620003a18362000510565b620004e9565b8281528381019082850160a0808602850187018a1015620003c6578788fd5b8794505b85851015620003f657620003df8a83620002d9565b8452600194909401939286019290810190620003ca565b509098975050505050505050565b15159052565b602080825282518282018190526000919060409081850190868401855b828110156200048457815180516001600160a01b0316855286810151878601528581015186860152606080820151908601526080808201516200046d8288018262000404565b50505060a093909301929085019060010162000427565b5091979650505050505050565b60208082526009908201526810b7b832b930ba37b960b91b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6040518181016001600160401b03811182821017156200050857600080fd5b604052919050565b60006001600160401b0382111562000526578081fd5b5060209081020190565b61147c80620005406000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80636c3824ef1161008c5780638da5cb5b116100665780638da5cb5b146101aa5780639870d7fe146101bf578063ac8a584a146101d2578063f2fde38b146101e5576100ea565b80636c3824ef14610187578063715018a61461019a5780638456cb59146101a2576100ea565b80633f4ba83a116100c85780633f4ba83a14610140578063550beeb5146101485780635c975abb1461016c57806368c5142814610174576100ea565b806310ea7157146100ef578063297d7563146101045780632a45519914610117575b600080fd5b6101026100fd366004610ebb565b6101f8565b005b610102610112366004610e0f565b61038a565b61012a610125366004610dc0565b6104e7565b6040516101379190611109565b60405180910390f35b6101026104fc565b61015b610156366004610dc0565b61053b565b604051610137959493929190611008565b61012a610577565b610102610182366004610ddb565b610587565b610102610195366004610e4f565b6106b0565b610102610792565b610102610811565b6101b261084e565b6040516101379190610fb7565b6101026101cd366004610dc0565b61085d565b6101026101e0366004610dc0565b6108b9565b6101026101f3366004610dc0565b61090f565b3360009081526001602052604090205460ff166102305760405162461bcd60e51b815260040161022790611175565b60405180910390fd5b6000805b825181101561034e5782818151811061024957fe5b602090810291909101810151516001600160a01b038082166000908152600290935260409092205490935016156102c3576001600160a01b0382166000908152600260208190526040822080546001600160a01b0319168155600181018390559081018290556003810191909155600401805460ff191690555b8281815181106102cf57fe5b6020908102919091018101516001600160a01b0384811660009081526002808552604091829020845181546001600160a01b0319169416939093178355938301516001808401919091559083015193820193909355606082015160038201556080909101516004909101805460ff191691151591909117905501610234565b507fe4a39ba52f74152f51dd596e851e78d6ff3caf350a46238db8dc21caf00eb6ae8260405161037e9190611086565b60405180910390a15050565b600054600160a01b900460ff16156103b45760405162461bcd60e51b815260040161022790611288565b6001600160a01b03808416600090815260026020526040902080549091166103ee5760405162461bcd60e51b8152600401610227906112b2565b600481015460ff16156104135760405162461bcd60e51b81526004016102279061125b565b80600201548210158015610437575060038101541580610437575080600301548211155b6104535760405162461bcd60e51b815260040161022790611224565b61046e6001600160a01b03851633308563ffffffff6109c516565b6000610487826001015484610a2390919063ffffffff16565b9050846001600160a01b0316846001600160a01b0316336001600160a01b03167f8cb56ef8789c978dad33bb5ae2b714fa3660c067eea9e64bf074a59c0b44f86c86856040516104d892919061139f565b60405180910390a45050505050565b60016020526000908152604090205460ff1681565b610504610a6e565b6000546001600160a01b039081169116146105315760405162461bcd60e51b8152600401610227906112e9565b610539610a72565b565b6002602081905260009182526040909120805460018201549282015460038301546004909301546001600160a01b039092169392909160ff1685565b600054600160a01b900460ff1690565b61058f610a6e565b6000546001600160a01b039081169116146105bc5760405162461bcd60e51b8152600401610227906112e9565b6001600160a01b0381166105d5576105d261084e565b90505b6001600160a01b038216610615576040516001600160a01b038216904780156108fc02916000818181858888f1935050505061061057600080fd5b6106ac565b6106ac81836001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016106459190610fb7565b60206040518083038186803b15801561065d57600080fd5b505afa158015610671573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506106959190810190610f7d565b6001600160a01b038516919063ffffffff610ae816565b5050565b3360009081526001602052604090205460ff166106df5760405162461bcd60e51b815260040161022790611175565b60005b8181101561076057600260008484848181106106fa57fe5b905060200201602061070f9190810190610dc0565b6001600160a01b031681526020810191909152604001600090812080546001600160a01b03191681556001808201839055600282018390556003820192909255600401805460ff19169055016106e2565b507f0e92f58edd15fb53975060175ad689b13cbed5f92e4be985897deebd6664ff1c828260405161037e929190611038565b61079a610a6e565b6000546001600160a01b039081169116146107c75760405162461bcd60e51b8152600401610227906112e9565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610819610a6e565b6000546001600160a01b039081169116146108465760405162461bcd60e51b8152600401610227906112e9565b610539610b0c565b6000546001600160a01b031690565b610865610a6e565b6000546001600160a01b039081169116146108925760405162461bcd60e51b8152600401610227906112e9565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b6108c1610a6e565b6000546001600160a01b039081169116146108ee5760405162461bcd60e51b8152600401610227906112e9565b6001600160a01b03166000908152600160205260409020805460ff19169055565b610917610a6e565b6000546001600160a01b039081169116146109445760405162461bcd60e51b8152600401610227906112e9565b6001600160a01b03811661096a5760405162461bcd60e51b815260040161022790611198565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610a1d846323b872dd60e01b8585856040516024016109e693929190610fcb565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610b72565b50505050565b6000610a6583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c01565b90505b92915050565b3390565b600054600160a01b900460ff16610a9b5760405162461bcd60e51b815260040161022790611147565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610ad1610a6e565b604051610ade9190610fb7565b60405180910390a1565b610b078363a9059cbb60e01b84846040516024016109e6929190610fef565b505050565b600054600160a01b900460ff1615610b365760405162461bcd60e51b815260040161022790611288565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ad1610a6e565b6060610bc7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c329092919063ffffffff16565b805190915015610b075780806020019051610be59190810190610f61565b610b075760405162461bcd60e51b815260040161022790611355565b60008184841115610c255760405162461bcd60e51b81526004016102279190611114565b50508183035b9392505050565b6060610c418484600085610c49565b949350505050565b606082471015610c6b5760405162461bcd60e51b8152600401610227906111de565b610c7485610d0a565b610c905760405162461bcd60e51b81526004016102279061131e565b60006060866001600160a01b03168587604051610cad9190610f9b565b60006040518083038185875af1925050503d8060008114610cea576040519150601f19603f3d011682016040523d82523d6000602084013e610cef565b606091505b5091509150610cff828286610d10565b979650505050505050565b3b151590565b60608315610d1f575081610c2b565b825115610d2f5782518084602001fd5b8160405162461bcd60e51b81526004016102279190611114565b80356001600160a01b0381168114610a6857600080fd5b600060a08284031215610d71578081fd5b610d7b60a06113ad565b9050610d878383610d49565b81526020820135602082015260408201356040820152606082013560608201526080820135610db581611438565b608082015292915050565b600060208284031215610dd1578081fd5b610a658383610d49565b60008060408385031215610ded578081fd5b610df78484610d49565b9150610e068460208501610d49565b90509250929050565b600080600060608486031215610e23578081fd5b8335610e2e81611420565b92506020840135610e3e81611420565b929592945050506040919091013590565b60008060208385031215610e61578182fd5b823567ffffffffffffffff80821115610e78578384fd5b81850186601f820112610e89578485fd5b8035925081831115610e99578485fd5b8660208085028301011115610eac578485fd5b60200196919550909350505050565b60006020808385031215610ecd578182fd5b823567ffffffffffffffff811115610ee3578283fd5b80840185601f820112610ef4578384fd5b80359150610f09610f04836113d4565b6113ad565b8281528381019082850160a0808602850187018a1015610f27578788fd5b8794505b85851015610f5357610f3d8a83610d60565b8452600194909401939286019290810190610f2b565b509098975050505050505050565b600060208284031215610f72578081fd5b8151610c2b81611438565b600060208284031215610f8e578081fd5b5051919050565b15159052565b60008251610fad8184602087016113f4565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039590951685526020850193909352604084019190915260608301521515608082015260a00190565b60208082528181018390526000908460408401835b8681101561107b578284016001600160a01b0361106a8286610d49565b16835292509083019060010161104d565b509695505050505050565b602080825282518282018190526000919060409081850190868401855b828110156110fc57815180516001600160a01b0316855286810151878601528581015186860152606080820151908601526080808201516110e682880182610f95565b50505060a09390930192908501906001016110a3565b5091979650505050505050565b901515815260200190565b60006020825282518060208401526111338160408501602087016113f4565b601f01601f19169190910160400192915050565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526009908201526810b7b832b930ba37b960b91b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526019908201527f47454e452d4252494447453a20616d6f756e74206572726f7200000000000000604082015260600190565b60208082526013908201527211d153914b5094925111d14e881c185d5cd959606a1b604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601e908201527f47454e452d4252494447453a20756e737570706f7274656420746f6b656e0000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b918252602082015260400190565b60405181810167ffffffffffffffff811182821017156113cc57600080fd5b604052919050565b600067ffffffffffffffff8211156113ea578081fd5b5060209081020190565b60005b8381101561140f5781810151838201526020016113f7565b83811115610a1d5750506000910152565b6001600160a01b038116811461143557600080fd5b50565b801515811461143557600080fdfea2646970667358221220c4168887fec0a2ddf33e6c2891e74f536c3f8b7e9bd8b65135b650e741e9dbe564736f6c6343000602003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004000000000000000000000000f6ec87dfe1ed3a7256cc0c38e3c8139103e9af3b0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000001bc16d674ec8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1df7ce84253ffcd01d92fa6662e761f86b6198200000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000004e20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006a217345aec9f9e64928793716dbef15b8ffe90d0000000000000000000000000000000000000000000000000000000005f5e100000000000000000000000000000000000000000000000000000000000bebc20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80636c3824ef1161008c5780638da5cb5b116100665780638da5cb5b146101aa5780639870d7fe146101bf578063ac8a584a146101d2578063f2fde38b146101e5576100ea565b80636c3824ef14610187578063715018a61461019a5780638456cb59146101a2576100ea565b80633f4ba83a116100c85780633f4ba83a14610140578063550beeb5146101485780635c975abb1461016c57806368c5142814610174576100ea565b806310ea7157146100ef578063297d7563146101045780632a45519914610117575b600080fd5b6101026100fd366004610ebb565b6101f8565b005b610102610112366004610e0f565b61038a565b61012a610125366004610dc0565b6104e7565b6040516101379190611109565b60405180910390f35b6101026104fc565b61015b610156366004610dc0565b61053b565b604051610137959493929190611008565b61012a610577565b610102610182366004610ddb565b610587565b610102610195366004610e4f565b6106b0565b610102610792565b610102610811565b6101b261084e565b6040516101379190610fb7565b6101026101cd366004610dc0565b61085d565b6101026101e0366004610dc0565b6108b9565b6101026101f3366004610dc0565b61090f565b3360009081526001602052604090205460ff166102305760405162461bcd60e51b815260040161022790611175565b60405180910390fd5b6000805b825181101561034e5782818151811061024957fe5b602090810291909101810151516001600160a01b038082166000908152600290935260409092205490935016156102c3576001600160a01b0382166000908152600260208190526040822080546001600160a01b0319168155600181018390559081018290556003810191909155600401805460ff191690555b8281815181106102cf57fe5b6020908102919091018101516001600160a01b0384811660009081526002808552604091829020845181546001600160a01b0319169416939093178355938301516001808401919091559083015193820193909355606082015160038201556080909101516004909101805460ff191691151591909117905501610234565b507fe4a39ba52f74152f51dd596e851e78d6ff3caf350a46238db8dc21caf00eb6ae8260405161037e9190611086565b60405180910390a15050565b600054600160a01b900460ff16156103b45760405162461bcd60e51b815260040161022790611288565b6001600160a01b03808416600090815260026020526040902080549091166103ee5760405162461bcd60e51b8152600401610227906112b2565b600481015460ff16156104135760405162461bcd60e51b81526004016102279061125b565b80600201548210158015610437575060038101541580610437575080600301548211155b6104535760405162461bcd60e51b815260040161022790611224565b61046e6001600160a01b03851633308563ffffffff6109c516565b6000610487826001015484610a2390919063ffffffff16565b9050846001600160a01b0316846001600160a01b0316336001600160a01b03167f8cb56ef8789c978dad33bb5ae2b714fa3660c067eea9e64bf074a59c0b44f86c86856040516104d892919061139f565b60405180910390a45050505050565b60016020526000908152604090205460ff1681565b610504610a6e565b6000546001600160a01b039081169116146105315760405162461bcd60e51b8152600401610227906112e9565b610539610a72565b565b6002602081905260009182526040909120805460018201549282015460038301546004909301546001600160a01b039092169392909160ff1685565b600054600160a01b900460ff1690565b61058f610a6e565b6000546001600160a01b039081169116146105bc5760405162461bcd60e51b8152600401610227906112e9565b6001600160a01b0381166105d5576105d261084e565b90505b6001600160a01b038216610615576040516001600160a01b038216904780156108fc02916000818181858888f1935050505061061057600080fd5b6106ac565b6106ac81836001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016106459190610fb7565b60206040518083038186803b15801561065d57600080fd5b505afa158015610671573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506106959190810190610f7d565b6001600160a01b038516919063ffffffff610ae816565b5050565b3360009081526001602052604090205460ff166106df5760405162461bcd60e51b815260040161022790611175565b60005b8181101561076057600260008484848181106106fa57fe5b905060200201602061070f9190810190610dc0565b6001600160a01b031681526020810191909152604001600090812080546001600160a01b03191681556001808201839055600282018390556003820192909255600401805460ff19169055016106e2565b507f0e92f58edd15fb53975060175ad689b13cbed5f92e4be985897deebd6664ff1c828260405161037e929190611038565b61079a610a6e565b6000546001600160a01b039081169116146107c75760405162461bcd60e51b8152600401610227906112e9565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610819610a6e565b6000546001600160a01b039081169116146108465760405162461bcd60e51b8152600401610227906112e9565b610539610b0c565b6000546001600160a01b031690565b610865610a6e565b6000546001600160a01b039081169116146108925760405162461bcd60e51b8152600401610227906112e9565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b6108c1610a6e565b6000546001600160a01b039081169116146108ee5760405162461bcd60e51b8152600401610227906112e9565b6001600160a01b03166000908152600160205260409020805460ff19169055565b610917610a6e565b6000546001600160a01b039081169116146109445760405162461bcd60e51b8152600401610227906112e9565b6001600160a01b03811661096a5760405162461bcd60e51b815260040161022790611198565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610a1d846323b872dd60e01b8585856040516024016109e693929190610fcb565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610b72565b50505050565b6000610a6583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c01565b90505b92915050565b3390565b600054600160a01b900460ff16610a9b5760405162461bcd60e51b815260040161022790611147565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610ad1610a6e565b604051610ade9190610fb7565b60405180910390a1565b610b078363a9059cbb60e01b84846040516024016109e6929190610fef565b505050565b600054600160a01b900460ff1615610b365760405162461bcd60e51b815260040161022790611288565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ad1610a6e565b6060610bc7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c329092919063ffffffff16565b805190915015610b075780806020019051610be59190810190610f61565b610b075760405162461bcd60e51b815260040161022790611355565b60008184841115610c255760405162461bcd60e51b81526004016102279190611114565b50508183035b9392505050565b6060610c418484600085610c49565b949350505050565b606082471015610c6b5760405162461bcd60e51b8152600401610227906111de565b610c7485610d0a565b610c905760405162461bcd60e51b81526004016102279061131e565b60006060866001600160a01b03168587604051610cad9190610f9b565b60006040518083038185875af1925050503d8060008114610cea576040519150601f19603f3d011682016040523d82523d6000602084013e610cef565b606091505b5091509150610cff828286610d10565b979650505050505050565b3b151590565b60608315610d1f575081610c2b565b825115610d2f5782518084602001fd5b8160405162461bcd60e51b81526004016102279190611114565b80356001600160a01b0381168114610a6857600080fd5b600060a08284031215610d71578081fd5b610d7b60a06113ad565b9050610d878383610d49565b81526020820135602082015260408201356040820152606082013560608201526080820135610db581611438565b608082015292915050565b600060208284031215610dd1578081fd5b610a658383610d49565b60008060408385031215610ded578081fd5b610df78484610d49565b9150610e068460208501610d49565b90509250929050565b600080600060608486031215610e23578081fd5b8335610e2e81611420565b92506020840135610e3e81611420565b929592945050506040919091013590565b60008060208385031215610e61578182fd5b823567ffffffffffffffff80821115610e78578384fd5b81850186601f820112610e89578485fd5b8035925081831115610e99578485fd5b8660208085028301011115610eac578485fd5b60200196919550909350505050565b60006020808385031215610ecd578182fd5b823567ffffffffffffffff811115610ee3578283fd5b80840185601f820112610ef4578384fd5b80359150610f09610f04836113d4565b6113ad565b8281528381019082850160a0808602850187018a1015610f27578788fd5b8794505b85851015610f5357610f3d8a83610d60565b8452600194909401939286019290810190610f2b565b509098975050505050505050565b600060208284031215610f72578081fd5b8151610c2b81611438565b600060208284031215610f8e578081fd5b5051919050565b15159052565b60008251610fad8184602087016113f4565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039590951685526020850193909352604084019190915260608301521515608082015260a00190565b60208082528181018390526000908460408401835b8681101561107b578284016001600160a01b0361106a8286610d49565b16835292509083019060010161104d565b509695505050505050565b602080825282518282018190526000919060409081850190868401855b828110156110fc57815180516001600160a01b0316855286810151878601528581015186860152606080820151908601526080808201516110e682880182610f95565b50505060a09390930192908501906001016110a3565b5091979650505050505050565b901515815260200190565b60006020825282518060208401526111338160408501602087016113f4565b601f01601f19169190910160400192915050565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526009908201526810b7b832b930ba37b960b91b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526019908201527f47454e452d4252494447453a20616d6f756e74206572726f7200000000000000604082015260600190565b60208082526013908201527211d153914b5094925111d14e881c185d5cd959606a1b604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601e908201527f47454e452d4252494447453a20756e737570706f7274656420746f6b656e0000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b918252602082015260400190565b60405181810167ffffffffffffffff811182821017156113cc57600080fd5b604052919050565b600067ffffffffffffffff8211156113ea578081fd5b5060209081020190565b60005b8381101561140f5781810151838201526020016113f7565b83811115610a1d5750506000910152565b6001600160a01b038116811461143557600080fd5b50565b801515811461143557600080fdfea2646970667358221220c4168887fec0a2ddf33e6c2891e74f536c3f8b7e9bd8b65135b650e741e9dbe564736f6c63430006020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004000000000000000000000000f6ec87dfe1ed3a7256cc0c38e3c8139103e9af3b0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000001bc16d674ec8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1df7ce84253ffcd01d92fa6662e761f86b6198200000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000004e20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006a217345aec9f9e64928793716dbef15b8ffe90d0000000000000000000000000000000000000000000000000000000005f5e100000000000000000000000000000000000000000000000000000000000bebc20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : tokens (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
22 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [2] : 000000000000000000000000f6ec87dfe1ed3a7256cc0c38e3c8139103e9af3b
Arg [3] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [4] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000b1df7ce84253ffcd01d92fa6662e761f86b61982
Arg [8] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [9] : 0000000000000000000000000000000000000000000000000000000000004e20
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000006a217345aec9f9e64928793716dbef15b8ffe90d
Arg [13] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [14] : 000000000000000000000000000000000000000000000000000000000bebc200
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [18] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [19] : 00000000000000000000000000000000000000000000000000000000001e8480
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.999257 | 1,570.8002 | $1,569.63 |
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.