Source Code
Latest 25 from a total of 2,984 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Fee | 19337329 | 745 days ago | IN | 0 ETH | 0.00177016 | ||||
| Deposit | 19335941 | 745 days ago | IN | 0.01176052 ETH | 0.0092813 | ||||
| Deposit | 19335638 | 745 days ago | IN | 0.0115526 ETH | 0.00631204 | ||||
| Withdraw | 19335634 | 745 days ago | IN | 0 ETH | 0.00296938 | ||||
| Withdraw | 19335603 | 745 days ago | IN | 0 ETH | 0.00348435 | ||||
| Withdraw | 19335172 | 745 days ago | IN | 0 ETH | 0.00385956 | ||||
| Deposit | 19327938 | 746 days ago | IN | 0.01186343 ETH | 0.00852347 | ||||
| Deposit | 19323534 | 747 days ago | IN | 0.01463576 ETH | 0.00360202 | ||||
| Deposit | 19317734 | 748 days ago | IN | 0.02064788 ETH | 0.00357014 | ||||
| Deposit | 19315734 | 748 days ago | IN | 0.01222859 ETH | 0.00438966 | ||||
| Deposit | 19306133 | 749 days ago | IN | 0.00896512 ETH | 0.00414999 | ||||
| Deposit | 19305496 | 749 days ago | IN | 0.00811853 ETH | 0.00340827 | ||||
| Withdraw | 19302358 | 750 days ago | IN | 0 ETH | 0.00109833 | ||||
| Deposit | 19295168 | 751 days ago | IN | 0.00893206 ETH | 0.00210478 | ||||
| Deposit | 19278905 | 753 days ago | IN | 0.01571575 ETH | 0.00423794 | ||||
| Deposit | 19275224 | 753 days ago | IN | 0.01413462 ETH | 0.00353149 | ||||
| Withdraw | 19272583 | 754 days ago | IN | 0 ETH | 0.00159736 | ||||
| Deposit | 19260746 | 756 days ago | IN | 0.01944438 ETH | 0.00375916 | ||||
| Deposit | 19259510 | 756 days ago | IN | 0.01498449 ETH | 0.00170388 | ||||
| Withdraw | 19258112 | 756 days ago | IN | 0 ETH | 0.00298038 | ||||
| Deposit | 19257403 | 756 days ago | IN | 0.02140675 ETH | 0.00264705 | ||||
| Deposit | 19244851 | 758 days ago | IN | 0.00809909 ETH | 0.00189687 | ||||
| Deposit | 19240318 | 758 days ago | IN | 0.01269137 ETH | 0.00259079 | ||||
| Deposit | 19226460 | 760 days ago | IN | 0.01628356 ETH | 0.00265697 | ||||
| Deposit | 19226258 | 760 days ago | IN | 0.01177899 ETH | 0.00286141 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 19336874 | 745 days ago | 0.00869526 ETH | ||||
| Transfer | 19336874 | 745 days ago | 0.00137796 ETH | ||||
| Deposit | 19336874 | 745 days ago | 0.01007323 ETH | ||||
| Transfer | 19335941 | 745 days ago | 0.01076052 ETH | ||||
| Transfer | 19335941 | 745 days ago | 0.001 ETH | ||||
| Transfer | 19335638 | 745 days ago | 0.0105526 ETH | ||||
| Transfer | 19335638 | 745 days ago | 0.001 ETH | ||||
| Transfer | 19335634 | 745 days ago | 0.01108831 ETH | ||||
| Transfer | 19335634 | 745 days ago | 0.00313813 ETH | ||||
| Deposit | 19335634 | 745 days ago | 0.01422644 ETH | ||||
| Transfer | 19335399 | 745 days ago | 0.01088715 ETH | ||||
| Transfer | 19335399 | 745 days ago | 0.00163314 ETH | ||||
| Deposit | 19335399 | 745 days ago | 0.01252029 ETH | ||||
| Transfer | 19335292 | 745 days ago | 0.01050359 ETH | ||||
| Transfer | 19335292 | 745 days ago | 0.00259993 ETH | ||||
| Deposit | 19335292 | 745 days ago | 0.01310353 ETH | ||||
| Transfer | 19334404 | 745 days ago | 0.01344577 ETH | ||||
| Transfer | 19334404 | 745 days ago | 0.00201696 ETH | ||||
| Deposit | 19334404 | 745 days ago | 0.01546273 ETH | ||||
| Transfer | 19334272 | 745 days ago | 0.01143259 ETH | ||||
| Transfer | 19334272 | 745 days ago | 0.00171506 ETH | ||||
| Deposit | 19334272 | 745 days ago | 0.01314766 ETH | ||||
| Transfer | 19331958 | 746 days ago | 0.008397 ETH | ||||
| Transfer | 19331958 | 746 days ago | 0.00132982 ETH | ||||
| Deposit | 19331958 | 746 days ago | 0.00972682 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MainnetBridgePool
Compiler Version
v0.8.3+commit.8d00100c
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-05-04
*/
// File: @openzeppelin/contracts/utils/math/SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
//unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
//}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
//unchecked {
if (b > a) return (false, 0);
return (true, a - b);
//}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
//unchecked {
// 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 (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
//}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
//unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
//}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
//unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
//}
}
/**
* @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) {
return a + b;
}
/**
* @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 a - b;
}
/**
* @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) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting 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 a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
//unchecked {
require(b <= a, errorMessage);
return a - b;
//}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards 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).
*
* 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) {
//unchecked {
require(b > 0, errorMessage);
return a / b;
//}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* 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) {
//unchecked {
require(b > 0, errorMessage);
return a % b;
//}
}
}
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: @openzeppelin/contracts/utils/introspection/ERC165.sol
pragma solidity ^0.8.0;
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// File: @openzeppelin/contracts/access/AccessControl.sol
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
function hasRole(bytes32 role, address account) external view returns (bool);
function getRoleAdmin(bytes32 role) external view returns (bytes32);
function grantRole(bytes32 role, address account) external;
function revokeRole(bytes32 role, address account) external;
function renounceRole(bytes32 role, address account) external;
}
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping (address => bool) members;
bytes32 adminRole;
}
mapping (bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual override {
require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant");
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual override {
require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
_roles[role].adminRole = adminRole;
}
function _grantRole(bytes32 role, address account) private {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^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);
}
// File: @openzeppelin/contracts/utils/Address.sol
pragma solidity ^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);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(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);
}
}
}
}
// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
pragma solidity ^0.8.0;
/**
* @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 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) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
//unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_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");
}
}
}
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor () {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
// File: contracts/bridge/mainnet/Uniswap.sol
pragma solidity ^0.8.3;
interface Uniswap {
function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline)
external returns (uint256[] memory amounts);
function swapExactETHForTokens(uint256 amountOutMin, address[] calldata path, address to, uint256 deadline)
external payable returns (uint256[] memory amounts);
function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline)
external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function removeLiquidity(address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline)
external returns (uint amountA, uint amountB);
function getPair(address tokenA, address tokenB)
external view returns (address pair);
function WETH() external pure returns (address);
function getAmountsOut(uint amountIn, address[] memory path)
external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] memory path)
external view returns (uint[] memory amounts);
function getReserves()
external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function token0() external view returns (address);
function token1() external view returns (address);
}
// File: contracts/bridge/mainnet/MainnetBridgePool.sol
pragma solidity ^0.8.3;
contract MainnetBridgePool is AccessControl, ReentrancyGuard {
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
using SafeMath for uint256;
using SafeERC20 for IERC20;
IERC20 public raini;
event Deposited(address indexed spender, address recipient, uint256 amount, uint256 requestId);
event Withdrawn(address indexed owner, uint256 amount, uint256 requestId);
event EthWithdrawn(uint256 amount);
event FeeSet(uint256 fee, uint256 percentFee, uint256 percentFeeDecimals);
event AutoWithdrawFeeSet(bool autoWithdraw);
event TreasuryAddressSet(address treasuryAddress);
uint256 public requestId;
uint256 public fee;
uint256 public percentFee;
uint public percentFeeDecimals;
bool public autoWithdrawFee;
address public treasuryAddress;
address private constant UNIROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
address private constant FACTORY = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f;
address private WETHAddress = Uniswap(UNIROUTER).WETH();
constructor(address _raini) {
require(_raini != address(0), "MainnetBridgePool: _raini is zero address");
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
treasuryAddress = _msgSender();
raini = IERC20(_raini);
}
modifier onlyMinter() {
require(hasRole(MINTER_ROLE, _msgSender()), "MainnetBridgePool: caller is not a minter");
_;
}
modifier onlyOwner() {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "MainnetBridgePool: caller is not an owner");
_;
}
function getFee(uint _amount) public view returns (uint256) {
address lp = Uniswap(FACTORY).getPair(address(raini), WETHAddress);
(uint reserve0, uint reserve1, ) = Uniswap(lp).getReserves();
uint256 eth;
if(Uniswap(lp).token0() == address(raini)) {
eth = reserve1.mul(_amount).div(reserve0);
} else {
eth = reserve0.mul(_amount).div(reserve1);
}
return fee + eth.mul(percentFee).div(10 ** percentFeeDecimals);
}
function setFee(uint256 _fee, uint256 _percentFee, uint256 _percentFeeDecimals)
external onlyOwner {
fee = _fee;
percentFee = _percentFee;
percentFeeDecimals = _percentFeeDecimals;
emit FeeSet(_fee, _percentFee, _percentFeeDecimals);
}
function setAutoWithdrawFee(bool _autoWithdrawFee)
external onlyOwner {
autoWithdrawFee = _autoWithdrawFee;
emit AutoWithdrawFeeSet(autoWithdrawFee);
}
function setTreasuryAddress(address _treasuryAddress)
external onlyOwner {
treasuryAddress = _treasuryAddress;
emit TreasuryAddressSet(_treasuryAddress);
}
function deposit(address _recipient, uint256 _amount)
external payable nonReentrant {
uint256 depositFee = getFee(_amount);
require(msg.value >= depositFee, "MainnetBridgePool: not enough eth");
raini.safeTransferFrom(_msgSender(), address(this), _amount);
uint256 refund = msg.value - depositFee;
if(refund > 0) {
(bool refundSuccess, ) = _msgSender().call{ value: refund }("");
require(refundSuccess, "MainnetBridgePool: refund transfer failed");
}
if (autoWithdrawFee) {
(bool withdrawSuccess, ) = treasuryAddress.call{ value: depositFee }("");
require(withdrawSuccess, "MainnetBridgePool: withdraw transfer failed");
}
requestId++;
emit Deposited(_msgSender(), _recipient, _amount, requestId);
}
function withdraw(address[] memory _owners, uint256[] memory _amounts, uint256[] memory _requestsIds)
external onlyMinter {
require(_owners.length == _amounts.length && _owners.length == _requestsIds.length, "MainnetBridgePool: Arrays length not equal");
for (uint256 i; i < _owners.length; i++) {
raini.safeTransfer(_owners[i], _amounts[i]);
emit Withdrawn(_owners[i], _amounts[i], _requestsIds[i]);
}
}
function withdrawEth(uint256 _amount)
external onlyOwner {
require(_amount <= address(this).balance, "MainnetBridgePool: not enough balance");
(bool success, ) = _msgSender().call{ value: _amount }("");
require(success, "MainnetBridgePool: transfer failed");
emit EthWithdrawn(_amount);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_raini","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"autoWithdraw","type":"bool"}],"name":"AutoWithdrawFeeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"percentFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"percentFeeDecimals","type":"uint256"}],"name":"FeeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"treasuryAddress","type":"address"}],"name":"TreasuryAddressSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"autoWithdrawFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentFeeDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raini","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_autoWithdrawFee","type":"bool"}],"name":"setAutoWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"uint256","name":"_percentFee","type":"uint256"},{"internalType":"uint256","name":"_percentFeeDecimals","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddress","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_owners","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"_requestsIds","type":"uint256[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060408190526315ab88c960e31b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063ad5c46489060849060209060048186803b1580156200004557600080fd5b505afa1580156200005a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200008091906200023e565b600880546001600160a01b0319166001600160a01b0392909216919091179055348015620000ad57600080fd5b5060405162001cc338038062001cc3833981016040819052620000d0916200023e565b600180556001600160a01b038116620001415760405162461bcd60e51b815260206004820152602960248201527f4d61696e6e6574427269646765506f6f6c3a205f7261696e69206973207a65726044820152686f206164647265737360b81b606482015260840160405180910390fd5b6200014e6000336200018e565b3360078054610100600160a81b0319166101006001600160a01b0393841602179055600280546001600160a01b031916929091169190911790556200026e565b6200019a82826200019e565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200019a576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001fa3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006020828403121562000250578081fd5b81516001600160a01b038116811462000267578182fd5b9392505050565b611a45806200027e6000396000f3fe6080604052600436106101345760003560e01c80636605bfda116100ab578063c5f956af1161006f578063c5f956af1461034a578063d53913931461036f578063d547741f146103a3578063d55c2f49146103c3578063ddca3f43146103e3578063fcee45f4146103f957610134565b80636605bfda146102b557806391d14854146102d5578063a217fddf146102f5578063b8eabab01461030a578063c311d0491461032a57610134565b80632f2ff15d116100fd5780632f2ff15d146101f257806336568abe146102145780633d363a7b1461023457806347e7ef241461026c5780634c1a41151461027f5780635b65b9ab1461029557610134565b80626d6cae1461013957806301ffc9a71461016257806308cd77d814610192578063243df2e4146101a8578063248a9ca3146101c2575b600080fd5b34801561014557600080fd5b5061014f60035481565b6040519081526020015b60405180910390f35b34801561016e57600080fd5b5061018261017d366004611666565b610419565b6040519015158152602001610159565b34801561019e57600080fd5b5061014f60065481565b3480156101b457600080fd5b506007546101829060ff1681565b3480156101ce57600080fd5b5061014f6101dd36600461161f565b60009081526020819052604090206001015490565b3480156101fe57600080fd5b5061021261020d366004611637565b610452565b005b34801561022057600080fd5b5061021261022f366004611637565b6104e6565b34801561024057600080fd5b50600254610254906001600160a01b031681565b6040516001600160a01b039091168152602001610159565b61021261027a3660046114d6565b610560565b34801561028b57600080fd5b5061014f60055481565b3480156102a157600080fd5b506102126102b03660046116dc565b61083a565b3480156102c157600080fd5b506102126102d036600461149e565b6108b6565b3480156102e157600080fd5b506101826102f0366004611637565b61093a565b34801561030157600080fd5b5061014f600081565b34801561031657600080fd5b50610212610325366004611501565b610963565b34801561033657600080fd5b5061021261034536600461161f565b610baa565b34801561035657600080fd5b506007546102549061010090046001600160a01b031681565b34801561037b57600080fd5b5061014f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b3480156103af57600080fd5b506102126103be366004611637565b610d09565b3480156103cf57600080fd5b506102126103de3660046115e7565b610d89565b3480156103ef57600080fd5b5061014f60045481565b34801561040557600080fd5b5061014f61041436600461161f565b610df7565b60006001600160e01b03198216637965db0b60e01b148061044a57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60008281526020819052604090206001015461046f905b336102f0565b6104d85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084015b60405180910390fd5b6104e28282611026565b5050565b6001600160a01b03811633146105565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104cf565b6104e282826110aa565b600260015414156105b35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104cf565b600260015560006105c382610df7565b90508034101561061f5760405162461bcd60e51b815260206004820152602160248201527f4d61696e6e6574427269646765506f6f6c3a206e6f7420656e6f7567682065746044820152600d60fb1b60648201526084016104cf565b610637336002546001600160a01b031690308561110f565b6000610643823461195f565b905080156106f757604051600090339083908381818185875af1925050503d806000811461068d576040519150601f19603f3d011682016040523d82523d6000602084013e610692565b606091505b50509050806106f55760405162461bcd60e51b815260206004820152602960248201527f4d61696e6e6574427269646765506f6f6c3a20726566756e64207472616e7366604482015268195c8819985a5b195960ba1b60648201526084016104cf565b505b60075460ff16156107c05760075460405160009161010090046001600160a01b03169084908381818185875af1925050503d8060008114610754576040519150601f19603f3d011682016040523d82523d6000602084013e610759565b606091505b50509050806107be5760405162461bcd60e51b815260206004820152602b60248201527f4d61696e6e6574427269646765506f6f6c3a207769746864726177207472616e60448201526a1cd9995c8819985a5b195960aa1b60648201526084016104cf565b505b600380549060006107d0836119a2565b91905055506107dc3390565b600354604080516001600160a01b038881168252602082018890529181019290925291909116907ff5681f9d0db1b911ac18ee83d515a1cf1051853a9eae418316a2fdf7dea427c59060600160405180910390a25050600180555050565b6108456000336102f0565b6108615760405162461bcd60e51b81526004016104cf90611756565b60048390556005829055600681905560408051848152602081018490529081018290527f06e25a1e51b6a89981013a1ba25eb98a1dac5cea9a4e5acf9a1074334b31e93f9060600160405180910390a1505050565b6108c16000336102f0565b6108dd5760405162461bcd60e51b81526004016104cf90611756565b60078054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f5cc4bdb402e519d4921d6bfaca9c17c16ea3a8e658ff5accd29e6080635562ce906020015b60405180910390a150565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61098d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336102f0565b6109eb5760405162461bcd60e51b815260206004820152602960248201527f4d61696e6e6574427269646765506f6f6c3a2063616c6c6572206973206e6f7460448201526810309036b4b73a32b960b91b60648201526084016104cf565b815183511480156109fd575080518351145b610a5c5760405162461bcd60e51b815260206004820152602a60248201527f4d61696e6e6574427269646765506f6f6c3a20417272617973206c656e677468604482015269081b9bdd08195c5d585b60b21b60648201526084016104cf565b60005b8351811015610ba457610ad1848281518110610a8b57634e487b7160e01b600052603260045260246000fd5b6020026020010151848381518110610ab357634e487b7160e01b600052603260045260246000fd5b60209081029190910101516002546001600160a01b0316919061117a565b838181518110610af157634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03167f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6848381518110610b4357634e487b7160e01b600052603260045260246000fd5b6020026020010151848481518110610b6b57634e487b7160e01b600052603260045260246000fd5b6020026020010151604051610b8a929190918252602082015260400190565b60405180910390a280610b9c816119a2565b915050610a5f565b50505050565b610bb56000336102f0565b610bd15760405162461bcd60e51b81526004016104cf90611756565b47811115610c2f5760405162461bcd60e51b815260206004820152602560248201527f4d61696e6e6574427269646765506f6f6c3a206e6f7420656e6f7567682062616044820152646c616e636560d81b60648201526084016104cf565b604051600090339083908381818185875af1925050503d8060008114610c71576040519150601f19603f3d011682016040523d82523d6000602084013e610c76565b606091505b5050905080610cd25760405162461bcd60e51b815260206004820152602260248201527f4d61696e6e6574427269646765506f6f6c3a207472616e73666572206661696c604482015261195960f21b60648201526084016104cf565b6040518281527f7909752b76037727fecfc6c1abb7264306fd284ff7be21e2aa09bf2fdc00579d9060200160405180910390a15050565b600082815260208190526040902060010154610d2490610469565b6105565760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b60648201526084016104cf565b610d946000336102f0565b610db05760405162461bcd60e51b81526004016104cf90611756565b6007805460ff191682151590811790915560405160ff909116151581527f1ac4f136c9c0f6a6e4111b252c023a1e52e800b8c7a9990653a373cb2877e18b9060200161092f565b60025460085460405163e6a4390560e01b81526001600160a01b039283166004820152911660248201526000908190735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063e6a439059060440160206040518083038186803b158015610e5d57600080fd5b505afa158015610e71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9591906114ba565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015610ed357600080fd5b505afa158015610ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0b919061168e565b506001600160701b031691506001600160701b031691506000600260009054906101000a90046001600160a01b03166001600160a01b0316846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015610f7c57600080fd5b505afa158015610f90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb491906114ba565b6001600160a01b03161415610fde57610fd783610fd184896111af565b906111c2565b9050610fef565b610fec82610fd185896111af565b90505b61100f600654600a6110019190611872565b600554610fd19084906111af565b60045461101c91906117f4565b9695505050505050565b611030828261093a565b6104e2576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556110663390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110b4828261093a565b156104e2576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6040516001600160a01b0380851660248301528316604482015260648101829052610ba49085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526111ce565b6040516001600160a01b0383166024820152604481018290526111aa90849063a9059cbb60e01b90606401611143565b505050565b60006111bb8284611940565b9392505050565b60006111bb828461180c565b6000611223826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112a09092919063ffffffff16565b8051909150156111aa57808060200190518101906112419190611603565b6111aa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016104cf565b60606112af84846000856112b7565b949350505050565b6060824710156113185760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016104cf565b843b6113665760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104cf565b600080866001600160a01b031685876040516113829190611707565b60006040518083038185875af1925050503d80600081146113bf576040519150601f19603f3d011682016040523d82523d6000602084013e6113c4565b606091505b50915091506113d48282866113df565b979650505050505050565b606083156113ee5750816111bb565b8251156113fe5782518084602001fd5b8160405162461bcd60e51b81526004016104cf9190611723565b600082601f830112611428578081fd5b8135602061143d611438836117d0565b61179f565b80838252828201915082860187848660051b890101111561145c578586fd5b855b8581101561147a5781358452928401929084019060010161145e565b5090979650505050505050565b80516001600160701b038116811461044d57600080fd5b6000602082840312156114af578081fd5b81356111bb816119e9565b6000602082840312156114cb578081fd5b81516111bb816119e9565b600080604083850312156114e8578081fd5b82356114f3816119e9565b946020939093013593505050565b600080600060608486031215611515578081fd5b833567ffffffffffffffff8082111561152c578283fd5b818601915086601f83011261153f578283fd5b8135602061154f611438836117d0565b8083825282820191508286018b848660051b890101111561156e578788fd5b8796505b84871015611599578035611585816119e9565b835260019690960195918301918301611572565b50975050870135925050808211156115af578283fd5b6115bb87838801611418565b935060408601359150808211156115d0578283fd5b506115dd86828701611418565b9150509250925092565b6000602082840312156115f8578081fd5b81356111bb81611a01565b600060208284031215611614578081fd5b81516111bb81611a01565b600060208284031215611630578081fd5b5035919050565b60008060408385031215611649578182fd5b82359150602083013561165b816119e9565b809150509250929050565b600060208284031215611677578081fd5b81356001600160e01b0319811681146111bb578182fd5b6000806000606084860312156116a2578283fd5b6116ab84611487565b92506116b960208501611487565b9150604084015163ffffffff811681146116d1578182fd5b809150509250925092565b6000806000606084860312156116f0578283fd5b505081359360208301359350604090920135919050565b60008251611719818460208701611976565b9190910192915050565b6000602082528251806020840152611742816040850160208701611976565b601f01601f19169190910160400192915050565b60208082526029908201527f4d61696e6e6574427269646765506f6f6c3a2063616c6c6572206973206e6f746040820152681030b71037bbb732b960b91b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156117c8576117c86119d3565b604052919050565b600067ffffffffffffffff8211156117ea576117ea6119d3565b5060051b60200190565b60008219821115611807576118076119bd565b500190565b60008261182757634e487b7160e01b81526012600452602481fd5b500490565b80825b600180861161183e5750611869565b818704821115611850576118506119bd565b8086161561185d57918102915b9490941c93800261182f565b94509492505050565b60006111bb600019848460008261188b575060016111bb565b81611898575060006111bb565b81600181146118ae57600281146118b8576118e5565b60019150506111bb565b60ff8411156118c9576118c96119bd565b6001841b9150848211156118df576118df6119bd565b506111bb565b5060208310610133831016604e8410600b8410161715611918575081810a83811115611913576119136119bd565b6111bb565b611925848484600161182c565b808604821115611937576119376119bd565b02949350505050565b600081600019048311821515161561195a5761195a6119bd565b500290565b600082821015611971576119716119bd565b500390565b60005b83811015611991578181015183820152602001611979565b83811115610ba45750506000910152565b60006000198214156119b6576119b66119bd565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146119fe57600080fd5b50565b80151581146119fe57600080fdfea2646970667358221220271335a09ebc092039d51ccaa846f1dc036fd8899c4cc0a6b65b12d935f579bf64736f6c63430008030033000000000000000000000000eb953eda0dc65e3246f43dc8fa13f35623bdd5ed
Deployed Bytecode
0x6080604052600436106101345760003560e01c80636605bfda116100ab578063c5f956af1161006f578063c5f956af1461034a578063d53913931461036f578063d547741f146103a3578063d55c2f49146103c3578063ddca3f43146103e3578063fcee45f4146103f957610134565b80636605bfda146102b557806391d14854146102d5578063a217fddf146102f5578063b8eabab01461030a578063c311d0491461032a57610134565b80632f2ff15d116100fd5780632f2ff15d146101f257806336568abe146102145780633d363a7b1461023457806347e7ef241461026c5780634c1a41151461027f5780635b65b9ab1461029557610134565b80626d6cae1461013957806301ffc9a71461016257806308cd77d814610192578063243df2e4146101a8578063248a9ca3146101c2575b600080fd5b34801561014557600080fd5b5061014f60035481565b6040519081526020015b60405180910390f35b34801561016e57600080fd5b5061018261017d366004611666565b610419565b6040519015158152602001610159565b34801561019e57600080fd5b5061014f60065481565b3480156101b457600080fd5b506007546101829060ff1681565b3480156101ce57600080fd5b5061014f6101dd36600461161f565b60009081526020819052604090206001015490565b3480156101fe57600080fd5b5061021261020d366004611637565b610452565b005b34801561022057600080fd5b5061021261022f366004611637565b6104e6565b34801561024057600080fd5b50600254610254906001600160a01b031681565b6040516001600160a01b039091168152602001610159565b61021261027a3660046114d6565b610560565b34801561028b57600080fd5b5061014f60055481565b3480156102a157600080fd5b506102126102b03660046116dc565b61083a565b3480156102c157600080fd5b506102126102d036600461149e565b6108b6565b3480156102e157600080fd5b506101826102f0366004611637565b61093a565b34801561030157600080fd5b5061014f600081565b34801561031657600080fd5b50610212610325366004611501565b610963565b34801561033657600080fd5b5061021261034536600461161f565b610baa565b34801561035657600080fd5b506007546102549061010090046001600160a01b031681565b34801561037b57600080fd5b5061014f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b3480156103af57600080fd5b506102126103be366004611637565b610d09565b3480156103cf57600080fd5b506102126103de3660046115e7565b610d89565b3480156103ef57600080fd5b5061014f60045481565b34801561040557600080fd5b5061014f61041436600461161f565b610df7565b60006001600160e01b03198216637965db0b60e01b148061044a57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60008281526020819052604090206001015461046f905b336102f0565b6104d85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084015b60405180910390fd5b6104e28282611026565b5050565b6001600160a01b03811633146105565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104cf565b6104e282826110aa565b600260015414156105b35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104cf565b600260015560006105c382610df7565b90508034101561061f5760405162461bcd60e51b815260206004820152602160248201527f4d61696e6e6574427269646765506f6f6c3a206e6f7420656e6f7567682065746044820152600d60fb1b60648201526084016104cf565b610637336002546001600160a01b031690308561110f565b6000610643823461195f565b905080156106f757604051600090339083908381818185875af1925050503d806000811461068d576040519150601f19603f3d011682016040523d82523d6000602084013e610692565b606091505b50509050806106f55760405162461bcd60e51b815260206004820152602960248201527f4d61696e6e6574427269646765506f6f6c3a20726566756e64207472616e7366604482015268195c8819985a5b195960ba1b60648201526084016104cf565b505b60075460ff16156107c05760075460405160009161010090046001600160a01b03169084908381818185875af1925050503d8060008114610754576040519150601f19603f3d011682016040523d82523d6000602084013e610759565b606091505b50509050806107be5760405162461bcd60e51b815260206004820152602b60248201527f4d61696e6e6574427269646765506f6f6c3a207769746864726177207472616e60448201526a1cd9995c8819985a5b195960aa1b60648201526084016104cf565b505b600380549060006107d0836119a2565b91905055506107dc3390565b600354604080516001600160a01b038881168252602082018890529181019290925291909116907ff5681f9d0db1b911ac18ee83d515a1cf1051853a9eae418316a2fdf7dea427c59060600160405180910390a25050600180555050565b6108456000336102f0565b6108615760405162461bcd60e51b81526004016104cf90611756565b60048390556005829055600681905560408051848152602081018490529081018290527f06e25a1e51b6a89981013a1ba25eb98a1dac5cea9a4e5acf9a1074334b31e93f9060600160405180910390a1505050565b6108c16000336102f0565b6108dd5760405162461bcd60e51b81526004016104cf90611756565b60078054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f5cc4bdb402e519d4921d6bfaca9c17c16ea3a8e658ff5accd29e6080635562ce906020015b60405180910390a150565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61098d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336102f0565b6109eb5760405162461bcd60e51b815260206004820152602960248201527f4d61696e6e6574427269646765506f6f6c3a2063616c6c6572206973206e6f7460448201526810309036b4b73a32b960b91b60648201526084016104cf565b815183511480156109fd575080518351145b610a5c5760405162461bcd60e51b815260206004820152602a60248201527f4d61696e6e6574427269646765506f6f6c3a20417272617973206c656e677468604482015269081b9bdd08195c5d585b60b21b60648201526084016104cf565b60005b8351811015610ba457610ad1848281518110610a8b57634e487b7160e01b600052603260045260246000fd5b6020026020010151848381518110610ab357634e487b7160e01b600052603260045260246000fd5b60209081029190910101516002546001600160a01b0316919061117a565b838181518110610af157634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03167f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6848381518110610b4357634e487b7160e01b600052603260045260246000fd5b6020026020010151848481518110610b6b57634e487b7160e01b600052603260045260246000fd5b6020026020010151604051610b8a929190918252602082015260400190565b60405180910390a280610b9c816119a2565b915050610a5f565b50505050565b610bb56000336102f0565b610bd15760405162461bcd60e51b81526004016104cf90611756565b47811115610c2f5760405162461bcd60e51b815260206004820152602560248201527f4d61696e6e6574427269646765506f6f6c3a206e6f7420656e6f7567682062616044820152646c616e636560d81b60648201526084016104cf565b604051600090339083908381818185875af1925050503d8060008114610c71576040519150601f19603f3d011682016040523d82523d6000602084013e610c76565b606091505b5050905080610cd25760405162461bcd60e51b815260206004820152602260248201527f4d61696e6e6574427269646765506f6f6c3a207472616e73666572206661696c604482015261195960f21b60648201526084016104cf565b6040518281527f7909752b76037727fecfc6c1abb7264306fd284ff7be21e2aa09bf2fdc00579d9060200160405180910390a15050565b600082815260208190526040902060010154610d2490610469565b6105565760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b60648201526084016104cf565b610d946000336102f0565b610db05760405162461bcd60e51b81526004016104cf90611756565b6007805460ff191682151590811790915560405160ff909116151581527f1ac4f136c9c0f6a6e4111b252c023a1e52e800b8c7a9990653a373cb2877e18b9060200161092f565b60025460085460405163e6a4390560e01b81526001600160a01b039283166004820152911660248201526000908190735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063e6a439059060440160206040518083038186803b158015610e5d57600080fd5b505afa158015610e71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9591906114ba565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015610ed357600080fd5b505afa158015610ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0b919061168e565b506001600160701b031691506001600160701b031691506000600260009054906101000a90046001600160a01b03166001600160a01b0316846001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015610f7c57600080fd5b505afa158015610f90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb491906114ba565b6001600160a01b03161415610fde57610fd783610fd184896111af565b906111c2565b9050610fef565b610fec82610fd185896111af565b90505b61100f600654600a6110019190611872565b600554610fd19084906111af565b60045461101c91906117f4565b9695505050505050565b611030828261093a565b6104e2576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556110663390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110b4828261093a565b156104e2576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6040516001600160a01b0380851660248301528316604482015260648101829052610ba49085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526111ce565b6040516001600160a01b0383166024820152604481018290526111aa90849063a9059cbb60e01b90606401611143565b505050565b60006111bb8284611940565b9392505050565b60006111bb828461180c565b6000611223826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112a09092919063ffffffff16565b8051909150156111aa57808060200190518101906112419190611603565b6111aa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016104cf565b60606112af84846000856112b7565b949350505050565b6060824710156113185760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016104cf565b843b6113665760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104cf565b600080866001600160a01b031685876040516113829190611707565b60006040518083038185875af1925050503d80600081146113bf576040519150601f19603f3d011682016040523d82523d6000602084013e6113c4565b606091505b50915091506113d48282866113df565b979650505050505050565b606083156113ee5750816111bb565b8251156113fe5782518084602001fd5b8160405162461bcd60e51b81526004016104cf9190611723565b600082601f830112611428578081fd5b8135602061143d611438836117d0565b61179f565b80838252828201915082860187848660051b890101111561145c578586fd5b855b8581101561147a5781358452928401929084019060010161145e565b5090979650505050505050565b80516001600160701b038116811461044d57600080fd5b6000602082840312156114af578081fd5b81356111bb816119e9565b6000602082840312156114cb578081fd5b81516111bb816119e9565b600080604083850312156114e8578081fd5b82356114f3816119e9565b946020939093013593505050565b600080600060608486031215611515578081fd5b833567ffffffffffffffff8082111561152c578283fd5b818601915086601f83011261153f578283fd5b8135602061154f611438836117d0565b8083825282820191508286018b848660051b890101111561156e578788fd5b8796505b84871015611599578035611585816119e9565b835260019690960195918301918301611572565b50975050870135925050808211156115af578283fd5b6115bb87838801611418565b935060408601359150808211156115d0578283fd5b506115dd86828701611418565b9150509250925092565b6000602082840312156115f8578081fd5b81356111bb81611a01565b600060208284031215611614578081fd5b81516111bb81611a01565b600060208284031215611630578081fd5b5035919050565b60008060408385031215611649578182fd5b82359150602083013561165b816119e9565b809150509250929050565b600060208284031215611677578081fd5b81356001600160e01b0319811681146111bb578182fd5b6000806000606084860312156116a2578283fd5b6116ab84611487565b92506116b960208501611487565b9150604084015163ffffffff811681146116d1578182fd5b809150509250925092565b6000806000606084860312156116f0578283fd5b505081359360208301359350604090920135919050565b60008251611719818460208701611976565b9190910192915050565b6000602082528251806020840152611742816040850160208701611976565b601f01601f19169190910160400192915050565b60208082526029908201527f4d61696e6e6574427269646765506f6f6c3a2063616c6c6572206973206e6f746040820152681030b71037bbb732b960b91b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156117c8576117c86119d3565b604052919050565b600067ffffffffffffffff8211156117ea576117ea6119d3565b5060051b60200190565b60008219821115611807576118076119bd565b500190565b60008261182757634e487b7160e01b81526012600452602481fd5b500490565b80825b600180861161183e5750611869565b818704821115611850576118506119bd565b8086161561185d57918102915b9490941c93800261182f565b94509492505050565b60006111bb600019848460008261188b575060016111bb565b81611898575060006111bb565b81600181146118ae57600281146118b8576118e5565b60019150506111bb565b60ff8411156118c9576118c96119bd565b6001841b9150848211156118df576118df6119bd565b506111bb565b5060208310610133831016604e8410600b8410161715611918575081810a83811115611913576119136119bd565b6111bb565b611925848484600161182c565b808604821115611937576119376119bd565b02949350505050565b600081600019048311821515161561195a5761195a6119bd565b500290565b600082821015611971576119716119bd565b500390565b60005b83811015611991578181015183820152602001611979565b83811115610ba45750506000910152565b60006000198214156119b6576119b66119bd565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146119fe57600080fd5b50565b80151581146119fe57600080fdfea2646970667358221220271335a09ebc092039d51ccaa846f1dc036fd8899c4cc0a6b65b12d935f579bf64736f6c63430008030033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000eb953eda0dc65e3246f43dc8fa13f35623bdd5ed
-----Decoded View---------------
Arg [0] : _raini (address): 0xeB953eDA0DC65e3246f43DC8fa13f35623bDd5eD
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000eb953eda0dc65e3246f43dc8fa13f35623bdd5ed
Deployed Bytecode Sourcemap
36393:4319:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37016:25;;;;;;;;;;;;;;;;;;;7991::1;;;7979:2;7964:18;37016:25:0;;;;;;;;13525:217;;;;;;;;;;-1:-1:-1;13525:217:0;;;;;:::i;:::-;;:::i;:::-;;;7818:14:1;;7811:22;7793:41;;7781:2;7766:18;13525:217:0;7748:92:1;37101:34:0;;;;;;;;;;;;;;;;37140:31;;;;;;;;;;-1:-1:-1;37140:31:0;;;;;;;;14162:123;;;;;;;;;;-1:-1:-1;14162:123:0;;;;;:::i;:::-;14228:7;14255:12;;;;;;;;;;:22;;;;14162:123;14547:232;;;;;;;;;;-1:-1:-1;14547:232:0;;;;;:::i;:::-;;:::i;:::-;;15766:218;;;;;;;;;;-1:-1:-1;15766:218:0;;;;;:::i;:::-;;:::i;36592:19::-;;;;;;;;;;-1:-1:-1;36592:19:0;;;;-1:-1:-1;;;;;36592:19:0;;;;;;-1:-1:-1;;;;;6291:32:1;;;6273:51;;6261:2;6246:18;36592:19:0;6228:102:1;39097:822:0;;;;;;:::i;:::-;;:::i;37070:26::-;;;;;;;;;;;;;;;;38456:271;;;;;;;;;;-1:-1:-1;38456:271:0;;;;;:::i;:::-;;:::i;38912:177::-;;;;;;;;;;-1:-1:-1;38912:177:0;;;;;:::i;:::-;;:::i;13834:139::-;;;;;;;;;;-1:-1:-1;13834:139:0;;;;;:::i;:::-;;:::i;12290:49::-;;;;;;;;;;-1:-1:-1;12290:49:0;12335:4;12290:49;;39925:454;;;;;;;;;;-1:-1:-1;39925:454:0;;;;;:::i;:::-;;:::i;40385:324::-;;;;;;;;;;-1:-1:-1;40385:324:0;;;;;:::i;:::-;;:::i;37176:31::-;;;;;;;;;;-1:-1:-1;37176:31:0;;;;;;;-1:-1:-1;;;;;37176:31:0;;;36459:62;;;;;;;;;;;;36497:24;36459:62;;15024:235;;;;;;;;;;-1:-1:-1;15024:235:0;;;;;:::i;:::-;;:::i;38733:173::-;;;;;;;;;;-1:-1:-1;38733:173:0;;;;;:::i;:::-;;:::i;37046:19::-;;;;;;;;;;;;;;;;37986:464;;;;;;;;;;-1:-1:-1;37986:464:0;;;;;:::i;:::-;;:::i;13525:217::-;13610:4;-1:-1:-1;;;;;;13634:47:0;;-1:-1:-1;;;13634:47:0;;:100;;-1:-1:-1;;;;;;;;;;9861:40:0;;;13698:36;13627:107;;13525:217;;;;:::o;14547:232::-;14228:7;14255:12;;;;;;;;;;:22;;;14640:41;;14648:18;7845:10;14668:12;7765:98;14640:41;14632:101;;;;-1:-1:-1;;;14632:101:0;;9241:2:1;14632:101:0;;;9223:21:1;9280:2;9260:18;;;9253:30;9319:34;9299:18;;;9292:62;-1:-1:-1;;;9370:18:1;;;9363:45;9425:19;;14632:101:0;;;;;;;;;14746:25;14757:4;14763:7;14746:10;:25::i;:::-;14547:232;;:::o;15766:218::-;-1:-1:-1;;;;;15862:23:0;;7845:10;15862:23;15854:83;;;;-1:-1:-1;;;15854:83:0;;14472:2:1;15854:83:0;;;14454:21:1;14511:2;14491:18;;;14484:30;14550:34;14530:18;;;14523:62;-1:-1:-1;;;14601:18:1;;;14594:45;14656:19;;15854:83:0;14444:237:1;15854:83:0;15950:26;15962:4;15968:7;15950:11;:26::i;39097:822::-;33878:1;34475:7;;:19;;34467:63;;;;-1:-1:-1;;;34467:63:0;;14112:2:1;34467:63:0;;;14094:21:1;14151:2;14131:18;;;14124:30;14190:33;14170:18;;;14163:61;14241:18;;34467:63:0;14084:181:1;34467:63:0;33878:1;34608:7;:18;39196::::1;39217:15;39224:7:::0;39217:6:::1;:15::i;:::-;39196:36;;39262:10;39249:9;:23;;39241:69;;;::::0;-1:-1:-1;;;39241:69:0;;8839:2:1;39241:69:0::1;::::0;::::1;8821:21:1::0;8878:2;8858:18;;;8851:30;8917:34;8897:18;;;8890:62;-1:-1:-1;;;8968:18:1;;;8961:31;9009:19;;39241:69:0::1;8811:223:1::0;39241:69:0::1;39321:60;7845:10:::0;39321:5:::1;::::0;-1:-1:-1;;;;;39321:5:0::1;::::0;39366:4:::1;39373:7:::0;39321:22:::1;:60::i;:::-;39392:14;39409:22;39421:10:::0;39409:9:::1;:22;:::i;:::-;39392:39:::0;-1:-1:-1;39443:10:0;;39440:177:::1;;39491:38;::::0;39467:18:::1;::::0;7845:10;;39517:6;;39467:18;39491:38;39467:18;39491:38;39517:6;7845:10;39491:38:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39466:63;;;39548:13;39540:67;;;::::0;-1:-1:-1;;;39540:67:0;;13702:2:1;39540:67:0::1;::::0;::::1;13684:21:1::0;13741:2;13721:18;;;13714:30;13780:34;13760:18;;;13753:62;-1:-1:-1;;;13831:18:1;;;13824:39;13880:19;;39540:67:0::1;13674:231:1::0;39540:67:0::1;39440:177;;39631:15;::::0;::::1;;39627:196;;;39686:15;::::0;:45:::1;::::0;39660:20:::1;::::0;39686:15:::1;::::0;::::1;-1:-1:-1::0;;;;;39686:15:0::1;::::0;39715:10;;39660:20;39686:45;39660:20;39686:45;39715:10;39686:15;:45:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39659:72;;;39750:15;39742:71;;;::::0;-1:-1:-1;;;39742:71:0;;12879:2:1;39742:71:0::1;::::0;::::1;12861:21:1::0;12918:2;12898:18;;;12891:30;12957:34;12937:18;;;12930:62;-1:-1:-1;;;13008:18:1;;;13001:41;13059:19;;39742:71:0::1;12851:233:1::0;39742:71:0::1;39627:196;;39833:9;:11:::0;;;:9:::1;:11;::::0;::::1;:::i;:::-;;;;;;39868:12;7845:10:::0;7765:98;;39868:12:::1;39903:9;::::0;39858:55:::1;::::0;;-1:-1:-1;;;;;7523:32:1;;;7505:51;;7587:2;7572:18;;7565:34;;;7615:18;;;7608:34;;;;39858:55:0;;;::::1;::::0;::::1;::::0;7493:2:1;7478:18;39858:55:0::1;;;;;;;-1:-1:-1::0;;33834:1:0;34787:22;;-1:-1:-1;;39097:822:0:o;38456:271::-;37879:41;12335:4;7845:10;37907:12;7765:98;37879:41;37871:95;;;;-1:-1:-1;;;37871:95:0;;;;;;;:::i;:::-;38569:3:::1;:10:::0;;;38588::::1;:24:::0;;;38621:18:::1;:40:::0;;;38675:46:::1;::::0;;15323:25:1;;;15379:2;15364:18;;15357:34;;;15407:18;;;15400:34;;;38675:46:0::1;::::0;15311:2:1;15296:18;38675:46:0::1;;;;;;;38456:271:::0;;;:::o;38912:177::-;37879:41;12335:4;7845:10;37907:12;7765:98;37879:41;37871:95;;;;-1:-1:-1;;;37871:95:0;;;;;;;:::i;:::-;38999:15:::1;:34:::0;;-1:-1:-1;;;;;;38999:34:0::1;;-1:-1:-1::0;;;;;38999:34:0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;39047:36:::1;::::0;6273:51:1;;;39047:36:0::1;::::0;6261:2:1;6246:18;39047:36:0::1;;;;;;;;38912:177:::0;:::o;13834:139::-;13912:4;13936:12;;;;;;;;;;;-1:-1:-1;;;;;13936:29:0;;;;;;;;;;;;;;;13834:139::o;39925:454::-;37743:34;36497:24;7845:10;37764:12;7765:98;37743:34;37735:88;;;;-1:-1:-1;;;37735:88:0;;9657:2:1;37735:88:0;;;9639:21:1;9696:2;9676:18;;;9669:30;9735:34;9715:18;;;9708:62;-1:-1:-1;;;9786:18:1;;;9779:39;9835:19;;37735:88:0;9629:231:1;37735:88:0;40088:8:::1;:15;40070:7;:14;:33;:74;;;;;40125:12;:19;40107:7;:14;:37;40070:74;40062:129;;;::::0;-1:-1:-1;;;40062:129:0;;11707:2:1;40062:129:0::1;::::0;::::1;11689:21:1::0;11746:2;11726:18;;;11719:30;11785:34;11765:18;;;11758:62;-1:-1:-1;;;11836:18:1;;;11829:40;11886:19;;40062:129:0::1;11679:232:1::0;40062:129:0::1;40207:9;40202:172;40222:7;:14;40218:1;:18;40202:172;;;40254:43;40273:7;40281:1;40273:10;;;;;;-1:-1:-1::0;;;40273:10:0::1;;;;;;;;;;;;;;;40285:8;40294:1;40285:11;;;;;;-1:-1:-1::0;;;40285:11:0::1;;;;;;;;;;::::0;;::::1;::::0;;;;;;40254:5:::1;::::0;-1:-1:-1;;;;;40254:5:0::1;::::0;:43;:18:::1;:43::i;:::-;40323:7;40331:1;40323:10;;;;;;-1:-1:-1::0;;;40323:10:0::1;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;40313:51:0::1;;40335:8;40344:1;40335:11;;;;;;-1:-1:-1::0;;;40335:11:0::1;;;;;;;;;;;;;;;40348:12;40361:1;40348:15;;;;;;-1:-1:-1::0;;;40348:15:0::1;;;;;;;;;;;;;;;40313:51;;;;;;15042:25:1::0;;;15098:2;15083:18;;15076:34;15030:2;15015:18;;14997:119;40313:51:0::1;;;;;;;;40238:3:::0;::::1;::::0;::::1;:::i;:::-;;;;40202:172;;;;39925:454:::0;;;:::o;40385:324::-;37879:41;12335:4;7845:10;37907:12;7765:98;37879:41;37871:95;;;;-1:-1:-1;;;37871:95:0;;;;;;;:::i;:::-;40475:21:::1;40464:7;:32;;40456:82;;;::::0;-1:-1:-1;;;40456:82:0;;10067:2:1;40456:82:0::1;::::0;::::1;10049:21:1::0;10106:2;10086:18;;;10079:30;10145:34;10125:18;;;10118:62;-1:-1:-1;;;10196:18:1;;;10189:35;10241:19;;40456:82:0::1;10039:227:1::0;40456:82:0::1;40566:39;::::0;40548:12:::1;::::0;7845:10;;40592:7;;40548:12;40566:39;40548:12;40566:39;40592:7;7845:10;40566:39:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40547:58;;;40622:7;40614:54;;;::::0;-1:-1:-1;;;40614:54:0;;12476:2:1;40614:54:0::1;::::0;::::1;12458:21:1::0;12515:2;12495:18;;;12488:30;12554:34;12534:18;;;12527:62;-1:-1:-1;;;12605:18:1;;;12598:32;12647:19;;40614:54:0::1;12448:224:1::0;40614:54:0::1;40682:21;::::0;7991:25:1;;;40682:21:0::1;::::0;7979:2:1;7964:18;40682:21:0::1;;;;;;;37973:1;40385:324:::0;:::o;15024:235::-;14228:7;14255:12;;;;;;;;;;:22;;;15118:41;;15126:18;14162:123;15118:41;15110:102;;;;-1:-1:-1;;;15110:102:0;;11290:2:1;15110:102:0;;;11272:21:1;11329:2;11309:18;;;11302:30;11368:34;11348:18;;;11341:62;-1:-1:-1;;;11419:18:1;;;11412:46;11475:19;;15110:102:0;11262:238:1;38733:173:0;37879:41;12335:4;7845:10;37907:12;7765:98;37879:41;37871:95;;;;-1:-1:-1;;;37871:95:0;;;;;;;:::i;:::-;38817:15:::1;:34:::0;;-1:-1:-1;;38817:34:0::1;::::0;::::1;;::::0;;::::1;::::0;;;38865:35:::1;::::0;38817:34:::1;38884:15:::0;;;7818:14:1;7811:22;7793:41;;38865:35:0::1;::::0;7781:2:1;7766:18;38865:35:0::1;7748:92:1::0;37986:464:0;38099:5;;38107:11;;38066:53;;-1:-1:-1;;;38066:53:0;;-1:-1:-1;;;;;38099:5:0;;;38066:53;;;6547:34:1;38107:11:0;;6597:18:1;;;6590:43;38037:7:0;;;;37345:42;;38066:24;;6482:18:1;;38066:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;38053:66;;38127:13;38142;38169:2;-1:-1:-1;;;;;38161:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;38126:60;-1:-1:-1;;;;;38126:60:0;;;-1:-1:-1;;;;;38126:60:0;;;38193:11;38246:5;;;;;;;;;-1:-1:-1;;;;;38246:5:0;-1:-1:-1;;;;;38214:38:0;38222:2;-1:-1:-1;;;;;38214:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;38214:38:0;;38211:165;;;38269:35;38295:8;38269:21;:8;38282:7;38269:12;:21::i;:::-;:25;;:35::i;:::-;38263:41;;38211:165;;;38333:35;38359:8;38333:21;:8;38346:7;38333:12;:21::i;:35::-;38327:41;;38211:165;38395:49;38425:18;;38419:2;:24;;;;:::i;:::-;38403:10;;38395:19;;:3;;:7;:19::i;:49::-;38389:3;;:55;;;;:::i;:::-;38382:62;37986:464;-1:-1:-1;;;;;;37986:464:0:o;17014:229::-;17089:22;17097:4;17103:7;17089;:22::i;:::-;17084:152;;17128:6;:12;;;;;;;;;;;-1:-1:-1;;;;;17128:29:0;;;;;;;;;:36;;-1:-1:-1;;17128:36:0;17160:4;17128:36;;;17211:12;7845:10;7765:98;;17211:12;-1:-1:-1;;;;;17184:40:0;17202:7;-1:-1:-1;;;;;17184:40:0;17196:4;17184:40;;;;;;;;;;17014:229;;:::o;17251:230::-;17326:22;17334:4;17340:7;17326;:22::i;:::-;17322:152;;;17397:5;17365:12;;;;;;;;;;;-1:-1:-1;;;;;17365:29:0;;;;;;;;;;:37;;-1:-1:-1;;17365:37:0;;;17422:40;7845:10;;17365:12;;17422:40;;17397:5;17422:40;17251:230;;:::o;29114:205::-;29242:68;;-1:-1:-1;;;;;6902:15:1;;;29242:68:0;;;6884:34:1;6954:15;;6934:18;;;6927:43;6986:18;;;6979:34;;;29215:96:0;;29235:5;;-1:-1:-1;;;29265:27:0;6819:18:1;;29242:68:0;;;;-1:-1:-1;;29242:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;29242:68:0;-1:-1:-1;;;;;;29242:68:0;;;;;;;;;;29215:19;:96::i;28929:177::-;29039:58;;-1:-1:-1;;;;;7216:32:1;;29039:58:0;;;7198:51:1;7265:18;;;7258:34;;;29012:86:0;;29032:5;;-1:-1:-1;;;29062:23:0;7171:18:1;;29039:58:0;7153:145:1;29012:86:0;28929:177;;;:::o;3581:98::-;3639:7;3666:5;3670:1;3666;:5;:::i;:::-;3659:12;3581:98;-1:-1:-1;;;3581:98:0:o;3980:::-;4038:7;4065:5;4069:1;4065;:5;:::i;31367:761::-;31791:23;31817:69;31845:4;31817:69;;;;;;;;;;;;;;;;;31825:5;-1:-1:-1;;;;;31817:27:0;;;:69;;;;;:::i;:::-;31901:17;;31791:95;;-1:-1:-1;31901:21:0;31897:224;;32043:10;32032:30;;;;;;;;;;;;:::i;:::-;32024:85;;;;-1:-1:-1;;;32024:85:0;;13291:2:1;32024:85:0;;;13273:21:1;13330:2;13310:18;;;13303:30;13369:34;13349:18;;;13342:62;-1:-1:-1;;;13420:18:1;;;13413:40;13470:19;;32024:85:0;13263:232:1;23967:195:0;24070:12;24102:52;24124:6;24132:4;24138:1;24141:12;24102:21;:52::i;:::-;24095:59;23967:195;-1:-1:-1;;;;23967:195:0:o;25019:530::-;25146:12;25204:5;25179:21;:30;;25171:81;;;;-1:-1:-1;;;25171:81:0;;10883:2:1;25171:81:0;;;10865:21:1;10922:2;10902:18;;;10895:30;10961:34;10941:18;;;10934:62;-1:-1:-1;;;11012:18:1;;;11005:36;11058:19;;25171:81:0;10855:228:1;25171:81:0;21416:20;;25263:60;;;;-1:-1:-1;;;25263:60:0;;12118:2:1;25263:60:0;;;12100:21:1;12157:2;12137:18;;;12130:30;12196:31;12176:18;;;12169:59;12245:18;;25263:60:0;12090:179:1;25263:60:0;25397:12;25411:23;25438:6;-1:-1:-1;;;;;25438:11:0;25458:5;25466:4;25438:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25396:75;;;;25489:52;25507:7;25516:10;25528:12;25489:17;:52::i;:::-;25482:59;25019:530;-1:-1:-1;;;;;;;25019:530:0:o;27559:742::-;27674:12;27703:7;27699:595;;;-1:-1:-1;27734:10:0;27727:17;;27699:595;27848:17;;:21;27844:439;;28111:10;28105:17;28172:15;28159:10;28155:2;28151:19;28144:44;28059:148;28254:12;28247:20;;-1:-1:-1;;;28247:20:0;;;;;;;;:::i;14:693:1:-;;121:3;114:4;106:6;102:17;98:27;88:2;;143:5;136;129:20;88:2;183:6;170:20;209:4;233:60;249:43;289:2;249:43;:::i;:::-;233:60;:::i;:::-;315:3;339:2;334:3;327:15;367:2;362:3;358:12;351:19;;402:2;394:6;390:15;454:3;449:2;443;440:1;436:10;428:6;424:23;420:32;417:41;414:2;;;475:5;468;461:20;414:2;501:5;515:163;529:2;526:1;523:9;515:163;;;586:17;;574:30;;624:12;;;;656;;;;547:1;540:9;515:163;;;-1:-1:-1;696:5:1;;78:629;-1:-1:-1;;;;;;;78:629:1:o;712:188::-;791:13;;-1:-1:-1;;;;;833:42:1;;823:53;;813:2;;890:1;887;880:12;905:257;;1017:2;1005:9;996:7;992:23;988:32;985:2;;;1038:6;1030;1023:22;985:2;1082:9;1069:23;1101:31;1126:5;1101:31;:::i;1167:261::-;;1290:2;1278:9;1269:7;1265:23;1261:32;1258:2;;;1311:6;1303;1296:22;1258:2;1348:9;1342:16;1367:31;1392:5;1367:31;:::i;1433:325::-;;;1562:2;1550:9;1541:7;1537:23;1533:32;1530:2;;;1583:6;1575;1568:22;1530:2;1627:9;1614:23;1646:31;1671:5;1646:31;:::i;:::-;1696:5;1748:2;1733:18;;;;1720:32;;-1:-1:-1;;;1520:238:1:o;1763:1517::-;;;;1984:2;1972:9;1963:7;1959:23;1955:32;1952:2;;;2005:6;1997;1990:22;1952:2;2050:9;2037:23;2079:18;2120:2;2112:6;2109:14;2106:2;;;2141:6;2133;2126:22;2106:2;2184:6;2173:9;2169:22;2159:32;;2229:7;2222:4;2218:2;2214:13;2210:27;2200:2;;2256:6;2248;2241:22;2200:2;2297;2284:16;2319:4;2343:60;2359:43;2399:2;2359:43;:::i;2343:60::-;2425:3;2449:2;2444:3;2437:15;2477:2;2472:3;2468:12;2461:19;;2508:2;2504;2500:11;2556:7;2551:2;2545;2542:1;2538:10;2534:2;2530:19;2526:28;2523:41;2520:2;;;2582:6;2574;2567:22;2520:2;2609:6;2600:15;;2624:238;2638:2;2635:1;2632:9;2624:238;;;2709:3;2696:17;2726:31;2751:5;2726:31;:::i;:::-;2770:18;;2656:1;2649:9;;;;;2808:12;;;;2840;;2624:238;;;-1:-1:-1;2881:5:1;-1:-1:-1;;2924:18:1;;2911:32;;-1:-1:-1;;2955:16:1;;;2952:2;;;2989:6;2981;2974:22;2952:2;3017:63;3072:7;3061:8;3050:9;3046:24;3017:63;:::i;:::-;3007:73;;3133:2;3122:9;3118:18;3105:32;3089:48;;3162:2;3152:8;3149:16;3146:2;;;3183:6;3175;3168:22;3146:2;;3211:63;3266:7;3255:8;3244:9;3240:24;3211:63;:::i;:::-;3201:73;;;1942:1338;;;;;:::o;3285:251::-;;3394:2;3382:9;3373:7;3369:23;3365:32;3362:2;;;3415:6;3407;3400:22;3362:2;3459:9;3446:23;3478:28;3500:5;3478:28;:::i;3541:255::-;;3661:2;3649:9;3640:7;3636:23;3632:32;3629:2;;;3682:6;3674;3667:22;3629:2;3719:9;3713:16;3738:28;3760:5;3738:28;:::i;3801:190::-;;3913:2;3901:9;3892:7;3888:23;3884:32;3881:2;;;3934:6;3926;3919:22;3881:2;-1:-1:-1;3962:23:1;;3871:120;-1:-1:-1;3871:120:1:o;3996:325::-;;;4125:2;4113:9;4104:7;4100:23;4096:32;4093:2;;;4146:6;4138;4131:22;4093:2;4187:9;4174:23;4164:33;;4247:2;4236:9;4232:18;4219:32;4260:31;4285:5;4260:31;:::i;:::-;4310:5;4300:15;;;4083:238;;;;;:::o;4326:306::-;;4437:2;4425:9;4416:7;4412:23;4408:32;4405:2;;;4458:6;4450;4443:22;4405:2;4489:23;;-1:-1:-1;;;;;;4541:32:1;;4531:43;;4521:2;;4593:6;4585;4578:22;4637:470;;;;4793:2;4781:9;4772:7;4768:23;4764:32;4761:2;;;4814:6;4806;4799:22;4761:2;4842:40;4872:9;4842:40;:::i;:::-;4832:50;;4901:49;4946:2;4935:9;4931:18;4901:49;:::i;:::-;4891:59;;4993:2;4982:9;4978:18;4972:25;5037:10;5030:5;5026:22;5019:5;5016:33;5006:2;;5068:6;5060;5053:22;5006:2;5096:5;5086:15;;;4751:356;;;;;:::o;5307:326::-;;;;5453:2;5441:9;5432:7;5428:23;5424:32;5421:2;;;5474:6;5466;5459:22;5421:2;-1:-1:-1;;5502:23:1;;;5572:2;5557:18;;5544:32;;-1:-1:-1;5623:2:1;5608:18;;;5595:32;;5411:222;-1:-1:-1;5411:222:1:o;5638:274::-;;5805:6;5799:13;5821:53;5867:6;5862:3;5855:4;5847:6;5843:17;5821:53;:::i;:::-;5890:16;;;;;5775:137;-1:-1:-1;;5775:137:1:o;8249:383::-;;8398:2;8387:9;8380:21;8430:6;8424:13;8473:6;8468:2;8457:9;8453:18;8446:34;8489:66;8548:6;8543:2;8532:9;8528:18;8523:2;8515:6;8511:15;8489:66;:::i;:::-;8616:2;8595:15;-1:-1:-1;;8591:29:1;8576:45;;;;8623:2;8572:54;;8370:262;-1:-1:-1;;8370:262:1:o;10271:405::-;10473:2;10455:21;;;10512:2;10492:18;;;10485:30;10551:34;10546:2;10531:18;;10524:62;-1:-1:-1;;;10617:2:1;10602:18;;10595:39;10666:3;10651:19;;10445:231::o;15445:275::-;15516:2;15510:9;15581:2;15562:13;;-1:-1:-1;;15558:27:1;15546:40;;15616:18;15601:34;;15637:22;;;15598:62;15595:2;;;15663:18;;:::i;:::-;15699:2;15692:22;15490:230;;-1:-1:-1;15490:230:1:o;15725:183::-;;15818:18;15810:6;15807:30;15804:2;;;15840:18;;:::i;:::-;-1:-1:-1;15885:1:1;15881:14;15897:4;15877:25;;15794:114::o;15913:128::-;;15984:1;15980:6;15977:1;15974:13;15971:2;;;15990:18;;:::i;:::-;-1:-1:-1;16026:9:1;;15961:80::o;16046:217::-;;16112:1;16102:2;;-1:-1:-1;;;16137:31:1;;16191:4;16188:1;16181:15;16219:4;16144:1;16209:15;16102:2;-1:-1:-1;16248:9:1;;16092:171::o;16268:453::-;16364:6;16387:5;16401:314;16450:1;16487:2;16477:8;16474:16;16464:2;;16494:5;;;16464:2;16535:4;16530:3;16526:14;16520:4;16517:24;16514:2;;;16544:18;;:::i;:::-;16594:2;16584:8;16580:17;16577:2;;;16609:16;;;;16577:2;16688:17;;;;;16648:15;;16401:314;;;16345:376;;;;;;;:::o;16726:139::-;;16815:44;-1:-1:-1;;16842:8:1;16836:4;16870:922;16954:8;16944:2;;-1:-1:-1;16995:1:1;17009:5;;16944:2;17043:4;17033:2;;-1:-1:-1;17080:1:1;17094:5;;17033:2;17125:4;17143:1;17138:59;;;;17211:1;17206:183;;;;17118:271;;17138:59;17168:1;17159:10;;17182:5;;;17206:183;17243:3;17233:8;17230:17;17227:2;;;17250:18;;:::i;:::-;17306:1;17296:8;17292:16;17283:25;;17334:3;17327:5;17324:14;17321:2;;;17341:18;;:::i;:::-;17374:5;;;17118:271;;17473:2;17463:8;17460:16;17454:3;17448:4;17445:13;17441:36;17435:2;17425:8;17422:16;17417:2;17411:4;17408:12;17404:35;17401:77;17398:2;;;-1:-1:-1;17510:19:1;;;17545:14;;;17542:2;;;17562:18;;:::i;:::-;17595:5;;17398:2;17642:42;17680:3;17670:8;17664:4;17661:1;17642:42;:::i;:::-;17717:6;17712:3;17708:16;17699:7;17696:29;17693:2;;;17728:18;;:::i;:::-;17766:20;;16934:858;-1:-1:-1;;;;16934:858:1:o;17797:168::-;;17903:1;17899;17895:6;17891:14;17888:1;17885:21;17880:1;17873:9;17866:17;17862:45;17859:2;;;17910:18;;:::i;:::-;-1:-1:-1;17950:9:1;;17849:116::o;17970:125::-;;18038:1;18035;18032:8;18029:2;;;18043:18;;:::i;:::-;-1:-1:-1;18080:9:1;;18019:76::o;18100:258::-;18172:1;18182:113;18196:6;18193:1;18190:13;18182:113;;;18272:11;;;18266:18;18253:11;;;18246:39;18218:2;18211:10;18182:113;;;18313:6;18310:1;18307:13;18304:2;;;-1:-1:-1;;18348:1:1;18330:16;;18323:27;18153:205::o;18363:135::-;;-1:-1:-1;;18423:17:1;;18420:2;;;18443:18;;:::i;:::-;-1:-1:-1;18490:1:1;18479:13;;18410:88::o;18503:127::-;18564:10;18559:3;18555:20;18552:1;18545:31;18595:4;18592:1;18585:15;18619:4;18616:1;18609:15;18635:127;18696:10;18691:3;18687:20;18684:1;18677:31;18727:4;18724:1;18717:15;18751:4;18748:1;18741:15;18767:131;-1:-1:-1;;;;;18842:31:1;;18832:42;;18822:2;;18888:1;18885;18878:12;18822:2;18812:86;:::o;18903:118::-;18989:5;18982:13;18975:21;18968:5;18965:32;18955:2;;19011:1;19008;19001:12
Swarm Source
ipfs://271335a09ebc092039d51ccaa846f1dc036fd8899c4cc0a6b65b12d935f579bf
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.