Overview
ETH Balance
0.117270422982 ETH
Eth Value
$425.09 (@ $3,624.89/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,095 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Vote Proposal | 14723174 | 941 days ago | IN | 0 ETH | 0.0013628 | ||||
Vote Proposal | 14723174 | 941 days ago | IN | 0 ETH | 0.00136338 | ||||
Vote Proposal | 14698512 | 945 days ago | IN | 0 ETH | 0.00176805 | ||||
Vote Proposal | 14698512 | 945 days ago | IN | 0 ETH | 0.0017688 | ||||
Admin Pause Tran... | 14681744 | 947 days ago | IN | 0 ETH | 0.00193038 | ||||
Vote Proposal | 14681738 | 947 days ago | IN | 0 ETH | 0.01053333 | ||||
Vote Proposal | 14681738 | 947 days ago | IN | 0 ETH | 0.01053389 | ||||
Vote Proposal | 14637466 | 954 days ago | IN | 0 ETH | 0.01315972 | ||||
Vote Proposal | 14637466 | 954 days ago | IN | 0 ETH | 0.01316042 | ||||
Vote Proposal | 14623343 | 957 days ago | IN | 0 ETH | 0.02718576 | ||||
Vote Proposal | 14623343 | 957 days ago | IN | 0 ETH | 0.0271872 | ||||
Vote Proposal | 14616399 | 958 days ago | IN | 0 ETH | 0.0114549 | ||||
Vote Proposal | 14615106 | 958 days ago | IN | 0 ETH | 0.00701642 | ||||
Admin Set Resour... | 14592695 | 961 days ago | IN | 0 ETH | 0.00397205 | ||||
Admin Set Resour... | 14545333 | 969 days ago | IN | 0 ETH | 0.00482944 | ||||
Admin Withdraw | 14482507 | 979 days ago | IN | 0 ETH | 0.00193063 | ||||
Admin Withdraw | 14482503 | 979 days ago | IN | 0 ETH | 0.0021131 | ||||
Admin Withdraw | 14482499 | 979 days ago | IN | 0 ETH | 0.00336636 | ||||
Admin Withdraw | 14482497 | 979 days ago | IN | 0 ETH | 0.00253859 | ||||
Admin Withdraw | 14482494 | 979 days ago | IN | 0 ETH | 0.00215939 | ||||
Admin Withdraw | 14482491 | 979 days ago | IN | 0 ETH | 0.00230441 | ||||
Admin Withdraw | 14482487 | 979 days ago | IN | 0 ETH | 0.00255239 | ||||
Admin Withdraw | 14482485 | 979 days ago | IN | 0 ETH | 0.0027179 | ||||
Admin Withdraw | 14482483 | 979 days ago | IN | 0 ETH | 0.00291836 | ||||
Admin Withdraw | 14482482 | 979 days ago | IN | 0 ETH | 0.00333517 |
Loading...
Loading
Contract Name:
Bridge
Compiler Version
v0.6.4+commit.1dca32f3
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.6.4; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "./utils/Pausable.sol"; import "./utils/ReducedSafeMath.sol"; import "./interfaces/IDepositExecute.sol"; import "./interfaces/IBridge.sol"; import "./interfaces/IERCHandler.sol"; import "./interfaces/IERC20Handler.sol"; import "./interfaces/IGenericHandler.sol"; /** @title Facilitates deposits, creation and votiing of deposit proposals, and deposit executions. @author ChainSafe Systems. */ contract Bridge is Pausable, AccessControl, ReducedSafeMath { uint8 public _chainID; uint256 public _relayerThreshold; uint256 public _totalRelayers; uint256 public _totalProposals; enum Vote {No, Yes} enum ProposalStatus {Inactive, Active, Executed} struct Proposal { bytes32 _resourceID; bytes32 _dataHash; address[] _yesVotes; address[] _noVotes; ProposalStatus _status; uint256 _proposedBlock; } // destinationChainID => number of deposits mapping(uint8 => uint64) public _depositCounts; // resourceID => handler address mapping(bytes32 => address) public _resourceIDToHandlerAddress; // destinationChainID + depositNonce => dataHash => Proposal mapping(uint72 => mapping(bytes32 => Proposal)) public _proposals; // destinationChainID + depositNonce => dataHash => relayerAddress => bool mapping(uint72 => mapping(bytes32 => mapping(address => bool))) public _hasVotedOnProposal; // destinationChainID => deposit fee mapping(uint8 => uint256) public _fees; event RelayerThresholdChanged(uint indexed newThreshold); event RelayerAdded(address indexed relayer); event RelayerRemoved(address indexed relayer); event Deposit( uint8 indexed destinationChainID, bytes32 indexed resourceID, uint64 indexed depositNonce ); event ProposalEvent( uint8 indexed originChainID, uint64 indexed depositNonce, ProposalStatus indexed status, bytes32 resourceID, bytes32 dataHash ); event ProposalVote( uint8 indexed originChainID, uint64 indexed depositNonce, ProposalStatus indexed status, bytes32 resourceID ); bytes32 public constant RELAYER_ROLE = keccak256("RELAYER_ROLE"); bytes32 public constant FEE_SETTER_ROLE = keccak256("FEE_SETTER_ROLE"); bytes32 public constant RESOURCE_SETTER_ROLE = keccak256("RESOURCE_SETTER_ROLE"); modifier onlyAdmin() { _onlyAdmin(); _; } modifier onlyAdminOrRelayer() { _onlyAdminOrRelayer(); _; } modifier onlyRelayers() { _onlyRelayers(); _; } modifier onlyFeeSetter() { require(hasRole(FEE_SETTER_ROLE, msg.sender), "sender is not fee setter"); _; } modifier onlyResourceSetter() { require(hasRole(RESOURCE_SETTER_ROLE, msg.sender), "sender is not resource setter"); _; } function _onlyAdminOrRelayer() private view { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender) || hasRole(RELAYER_ROLE, msg.sender), "sender is not relayer or admin"); } function _onlyAdmin() private view { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "sender doesn't have admin role"); } function _onlyRelayers() private view { require(hasRole(RELAYER_ROLE, msg.sender), "sender doesn't have relayer role"); } /** @notice Initializes Bridge, creates and grants {msg.sender} the admin role, creates and grants {initialRelayers} the relayer role. @param chainID ID of chain the Bridge contract exists on. @param initialRelayers Addresses that should be initially granted the relayer role. @param initialRelayerThreshold Number of votes needed for a deposit proposal to be considered passed. */ constructor (uint8 chainID, address[] memory initialRelayers, uint initialRelayerThreshold) public { _chainID = chainID; _relayerThreshold = initialRelayerThreshold; _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(FEE_SETTER_ROLE, msg.sender); _setupRole(RESOURCE_SETTER_ROLE, msg.sender); _setRoleAdmin(RELAYER_ROLE, DEFAULT_ADMIN_ROLE); _setRoleAdmin(FEE_SETTER_ROLE, DEFAULT_ADMIN_ROLE); _setRoleAdmin(RESOURCE_SETTER_ROLE, DEFAULT_ADMIN_ROLE); for (uint i; i < initialRelayers.length; i++) { grantRole(RELAYER_ROLE, initialRelayers[i]); _totalRelayers++; } } /** @notice Returns true if {relayer} has the relayer role. @param relayer Address to check. */ function isRelayer(address relayer) external view returns (bool) { return hasRole(RELAYER_ROLE, relayer); } /** @notice Removes admin role from {msg.sender} and grants it to {newAdmin}. @notice Only callable by an address that currently has the admin role. @param newAdmin Address that admin role will be granted to. */ function renounceAdmin(address newAdmin) external onlyAdmin { grantRole(DEFAULT_ADMIN_ROLE, newAdmin); renounceRole(DEFAULT_ADMIN_ROLE, msg.sender); } /** @notice Pauses deposits, proposal creation and voting, and deposit executions. @notice Only callable by an address that currently has the admin role. */ function adminPauseTransfers() external onlyAdmin { _pause(); } /** @notice Unpauses deposits, proposal creation and voting, and deposit executions. @notice Only callable by an address that currently has the admin role. */ function adminUnpauseTransfers() external onlyAdmin { _unpause(); } /** @notice Modifies the number of votes required for a proposal to be considered passed. @notice Only callable by an address that currently has the admin role. @param newThreshold Value {_relayerThreshold} will be changed to. @notice Emits {RelayerThresholdChanged} event. */ function adminChangeRelayerThreshold(uint newThreshold) external onlyAdmin { _relayerThreshold = newThreshold; emit RelayerThresholdChanged(newThreshold); } /** @notice Grants {relayerAddress} the relayer role and increases {_totalRelayer} count. @notice Only callable by an address that currently has the admin role. @param relayerAddress Address of relayer to be added. @notice Emits {RelayerAdded} event. */ function adminAddRelayer(address relayerAddress) external onlyAdmin { require(!hasRole(RELAYER_ROLE, relayerAddress), "addr already has relayer role!"); grantRole(RELAYER_ROLE, relayerAddress); emit RelayerAdded(relayerAddress); _totalRelayers++; } /** @notice Removes relayer role for {relayerAddress} and decreases {_totalRelayer} count. @notice Only callable by an address that currently has the admin role. @param relayerAddress Address of relayer to be removed. @notice Emits {RelayerRemoved} event. */ function adminRemoveRelayer(address relayerAddress) external onlyAdmin { require(hasRole(RELAYER_ROLE, relayerAddress), "addr doesn't have relayer role!"); revokeRole(RELAYER_ROLE, relayerAddress); emit RelayerRemoved(relayerAddress); _totalRelayers--; } /** @notice Sets a new resource for handler contracts that use the IERCHandler interface, and maps the {handlerAddress} to {resourceID} in {_resourceIDToHandlerAddress}. @notice Only callable by an address that currently has the admin role. @param handlerAddress Address of handler resource will be set for. @param resourceID ResourceID to be used when making deposits. @param tokenAddress Address of contract to be called when a deposit is made and a deposited is executed. */ function adminSetResource(address handlerAddress, bytes32 resourceID, address tokenAddress) external onlyResourceSetter { _resourceIDToHandlerAddress[resourceID] = handlerAddress; IERCHandler handler = IERCHandler(handlerAddress); handler.setResource(resourceID, tokenAddress); } /** @notice Sets a new resource for handler contracts that use the IGenericHandler interface, and maps the {handlerAddress} to {resourceID} in {_resourceIDToHandlerAddress}. @notice Only callable by an address that currently has the admin role. @param handlerAddress Address of handler resource will be set for. @param resourceID ResourceID to be used when making deposits. @param contractAddress Address of contract to be called when a deposit is made and a deposited is executed. */ function adminSetGenericResource( address handlerAddress, bytes32 resourceID, address contractAddress, bytes4 depositFunctionSig, bytes4 executeFunctionSig ) external onlyResourceSetter { _resourceIDToHandlerAddress[resourceID] = handlerAddress; IGenericHandler handler = IGenericHandler(handlerAddress); handler.setResource(resourceID, contractAddress, depositFunctionSig, executeFunctionSig); } /** @notice Sets a resource as burnable for handler contracts that use the IERCHandler interface. @notice Only callable by an address that currently has the admin role. @param handlerAddress Address of handler resource will be set for. @param tokenAddress Address of contract to be called when a deposit is made and a deposited is executed. @param burnable Does the token need to be burned and minted */ function adminSetBurnable(address handlerAddress, address tokenAddress, bool burnable) external onlyResourceSetter { IERCHandler handler = IERCHandler(handlerAddress); handler.setBurnable(tokenAddress, burnable); } /** @notice Returns a proposal. @param originChainID Chain ID deposit originated from. @param depositNonce ID of proposal generated by proposal's origin Bridge contract. @param dataHash Hash of data to be provided when deposit proposal is executed. @return Proposal which consists of: - _dataHash Hash of data to be provided when deposit proposal is executed. - _yesVotes Number of votes in favor of proposal. - _noVotes Number of votes against proposal. - _status Current status of proposal. */ function getProposal(uint8 originChainID, uint64 depositNonce, bytes32 dataHash) external view returns (Proposal memory) { uint72 nonceAndID = (uint72(depositNonce) << 8) | uint72(originChainID); return _proposals[nonceAndID][dataHash]; } /** @notice Changes deposit fee. @notice Only callable by fee setter. @param newFee Value {_fees[destinationChainID]} will be updated to. */ function changeFee(uint8 destinationChainID, uint newFee) external onlyFeeSetter { _fees[destinationChainID] = newFee; } function setFeePercent(address handlerAddress, uint256 feePercent) external onlyFeeSetter { IERC20Handler handler = IERC20Handler(handlerAddress); handler.setFeePercent(feePercent); } function setFeePercentTreasury(address handlerAddress, address treasuryAddress) external onlyAdmin { IERC20Handler handler = IERC20Handler(handlerAddress); handler.setFeePercentTreasury(treasuryAddress); } /** @notice Used to manually withdraw funds from ERC safes. @param handlerAddress Address of handler to withdraw from. @param tokenAddress Address of token to withdraw. @param recipient Address to withdraw tokens to. @param amountOrTokenID Either the amount of ERC20 tokens or the ERC721 token ID to withdraw. */ function adminWithdraw( address handlerAddress, address tokenAddress, address recipient, uint256 amountOrTokenID ) external onlyAdmin { IERCHandler handler = IERCHandler(handlerAddress); handler.withdraw(tokenAddress, recipient, amountOrTokenID); } /** @notice Initiates a transfer using a specified handler contract. @notice Only callable when Bridge is not paused. @param destinationChainID ID of chain deposit will be bridged to. @param resourceID ResourceID used to find address of handler to be used for deposit. @param data Additional data to be passed to specified handler. @param _auxData Unused parameter, can be used for everything, for example, writing IDs of apps from which the deposit was made. @notice Emits {Deposit} event. */ function deposit(uint8 destinationChainID, bytes32 resourceID, bytes calldata data, bytes calldata _auxData) external payable whenNotPaused { require(msg.value == _fees[destinationChainID], "Incorrect fee supplied"); address handler = _resourceIDToHandlerAddress[resourceID]; require(handler != address(0), "resourceID not mapped to handler"); uint64 depositNonce = ++_depositCounts[destinationChainID]; IDepositExecute depositHandler = IDepositExecute(handler); depositHandler.deposit(resourceID, destinationChainID, depositNonce, msg.sender, data); emit Deposit(destinationChainID, resourceID, depositNonce); } /** @notice When called, {msg.sender} will be marked as voting in favor of proposal. @notice Only callable by relayers when Bridge is not paused. @param chainID ID of chain deposit originated from. @param depositNonce ID of deposited generated by origin Bridge contract. @param data data provided when deposit was made. @notice Proposal must not have already been passed or executed. @notice {msg.sender} must not have already voted on proposal. @notice Emits {ProposalEvent} event with status indicating the proposal status. @notice Emits {ProposalVote} event. */ function voteProposal(uint8 chainID, uint64 depositNonce, bytes32 resourceID, bytes calldata data) external onlyRelayers whenNotPaused { address handler = _resourceIDToHandlerAddress[resourceID]; bytes32 dataHash = keccak256(abi.encodePacked(handler, data)); uint72 nonceAndID = (uint72(depositNonce) << 8) | uint72(chainID); Proposal storage proposal = _proposals[nonceAndID][dataHash]; require(_resourceIDToHandlerAddress[resourceID] != address(0), "no handler for resourceID"); require(uint(proposal._status) <= 1, "proposal already executed"); require(!_hasVotedOnProposal[nonceAndID][dataHash][msg.sender], "relayer already voted"); if (uint(proposal._status) == 0) { ++_totalProposals; _proposals[nonceAndID][dataHash] = Proposal({ _resourceID : resourceID, _dataHash : dataHash, _yesVotes : new address[](1), _noVotes : new address[](0), _status : ProposalStatus.Active, _proposedBlock : block.number }); proposal._yesVotes[0] = msg.sender; emit ProposalEvent(chainID, depositNonce, ProposalStatus.Active, resourceID, dataHash); } else { require(dataHash == proposal._dataHash, "datahash mismatch"); proposal._yesVotes.push(msg.sender); } _hasVotedOnProposal[nonceAndID][dataHash][msg.sender] = true; emit ProposalVote(chainID, depositNonce, proposal._status, resourceID); // if _relayerThreshold has been exceeded if (proposal._yesVotes.length >= _relayerThreshold) { require(dataHash == proposal._dataHash, "data doesn't match datahash"); proposal._status = ProposalStatus.Executed; IDepositExecute depositHandler = IDepositExecute(_resourceIDToHandlerAddress[proposal._resourceID]); depositHandler.executeProposal(proposal._resourceID, data); emit ProposalEvent(chainID, depositNonce, proposal._status, proposal._resourceID, proposal._dataHash); } } /** @notice Transfers eth in the contract to the specified addresses. The parameters addrs and amounts are mapped 1-1. This means that the address at index 0 for addrs will receive the amount (in WEI) from amounts at index 0. @param addrs Array of addresses to transfer {amounts} to. @param amounts Array of amonuts to transfer to {addrs}. */ function transferFunds(address payable[] calldata addrs, uint[] calldata amounts) external onlyAdmin { for (uint i = 0; i < addrs.length; i++) { addrs[i].transfer(amounts[i]); } } function transferFundsERC20(address[] calldata addrs, address[] calldata tokenAddrs, uint[] calldata amounts) external onlyAdmin { for (uint i = 0; i < addrs.length; i++) { IERC20 token = IERC20(tokenAddrs[i]); SafeERC20.safeTransfer(token, addrs[i], amounts[i]); } } }
pragma solidity ^0.6.0; import "../utils/EnumerableSet.sol"; import "../utils/Address.sol"; import "../GSN/Context.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * 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 { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @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 Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @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 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 { require(hasRole(_roles[role].adminRole, _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 { require(hasRole(_roles[role].adminRole, _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 { 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. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } }
pragma solidity ^0.6.0; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This is a stripped down version of Open zeppelin's Pausable contract. * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/EnumerableSet.sol * */ contract Pausable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _whenNotPaused(); _; } function _whenNotPaused() private view { require(!_paused, "Pausable: paused"); } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenPaused() { _whenPaused(); _; } function _whenPaused() private view { require(_paused, "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(msg.sender); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(msg.sender); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * note that this is a stripped down version of open zeppelin's safemath * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/SafeMath.sol */ contract ReducedSafeMath { /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return _sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function _sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } }
pragma solidity 0.6.4; /** @title Interface for handler contracts that support deposits and deposit executions. @author ChainSafe Systems. */ interface IDepositExecute { /** @notice It is intended that deposit are made using the Bridge contract. @param destinationChainID Chain ID deposit is expected to be bridged to. @param depositNonce This value is generated as an ID by the Bridge contract. @param depositer Address of account making the deposit in the Bridge contract. @param data Consists of additional data needed for a specific deposit. */ function deposit(bytes32 resourceID, uint8 destinationChainID, uint64 depositNonce, address depositer, bytes calldata data) external; /** @notice It is intended that proposals are executed by the Bridge contract. @param data Consists of additional data needed for a specific deposit execution. */ function executeProposal(bytes32 resourceID, bytes calldata data) external; }
pragma solidity 0.6.4; /** @title Interface for Bridge contract. @author ChainSafe Systems. */ interface IBridge { /** @notice Exposing getter for {_chainID} instead of forcing the use of call. @return uint8 The {_chainID} that is currently set for the Bridge contract. */ function _chainID() external returns (uint8); }
pragma solidity 0.6.4; /** @title Interface to be used with handlers that support ERC20s and ERC721s. @author ChainSafe Systems. */ interface IERCHandler { /** @notice Correlates {resourceID} with {contractAddress}. @param resourceID ResourceID to be used when making deposits. @param contractAddress Address of contract to be called when a deposit is made and a deposited is executed. */ function setResource(bytes32 resourceID, address contractAddress) external; /** @notice Marks {contractAddress} as mintable/burnable. @param contractAddress Address of contract to be used when making or executing deposits. @param burnable Does the token need to be burnable */ function setBurnable(address contractAddress, bool burnable) external; /** @notice Used to manually release funds from ERC safes. @param tokenAddress Address of token contract to release. @param recipient Address to release tokens to. @param amountOrTokenID Either the amount of ERC20 tokens or the ERC721 token ID to release. */ function withdraw(address tokenAddress, address recipient, uint256 amountOrTokenID) external; }
pragma solidity 0.6.4; interface IERC20Handler { function setFeePercent(uint256 feePercent) external; function setFeePercentTreasury(address newTreasury) external; }
pragma solidity 0.6.4; /** @title Interface for handler that handles generic deposits and deposit executions. @author ChainSafe Systems. */ interface IGenericHandler { /** @notice Correlates {resourceID} with {contractAddress}, {depositFunctionSig}, and {executeFunctionSig}. @param resourceID ResourceID to be used when making deposits. @param contractAddress Address of contract to be called when a deposit is made and a deposited is executed. @param depositFunctionSig Function signature of method to be called in {contractAddress} when a deposit is made. @param executeFunctionSig Function signature of method to be called in {contractAddress} when a deposit is executed. */ function setResource(bytes32 resourceID, address contractAddress, bytes4 depositFunctionSig, bytes4 executeFunctionSig) external; }
pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
pragma solidity ^0.6.2; /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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"); } }
pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
pragma solidity ^0.6.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); }
pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint8","name":"chainID","type":"uint8"},{"internalType":"address[]","name":"initialRelayers","type":"address[]"},{"internalType":"uint256","name":"initialRelayerThreshold","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint8","name":"destinationChainID","type":"uint8"},{"indexed":true,"internalType":"bytes32","name":"resourceID","type":"bytes32"},{"indexed":true,"internalType":"uint64","name":"depositNonce","type":"uint64"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint8","name":"originChainID","type":"uint8"},{"indexed":true,"internalType":"uint64","name":"depositNonce","type":"uint64"},{"indexed":true,"internalType":"enum Bridge.ProposalStatus","name":"status","type":"uint8"},{"indexed":false,"internalType":"bytes32","name":"resourceID","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"dataHash","type":"bytes32"}],"name":"ProposalEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint8","name":"originChainID","type":"uint8"},{"indexed":true,"internalType":"uint64","name":"depositNonce","type":"uint64"},{"indexed":true,"internalType":"enum Bridge.ProposalStatus","name":"status","type":"uint8"},{"indexed":false,"internalType":"bytes32","name":"resourceID","type":"bytes32"}],"name":"ProposalVote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"relayer","type":"address"}],"name":"RelayerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"relayer","type":"address"}],"name":"RelayerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newThreshold","type":"uint256"}],"name":"RelayerThresholdChanged","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":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_SETTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAYER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESOURCE_SETTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_chainID","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"_depositCounts","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"_fees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint72","name":"","type":"uint72"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"_hasVotedOnProposal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint72","name":"","type":"uint72"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"_proposals","outputs":[{"internalType":"bytes32","name":"_resourceID","type":"bytes32"},{"internalType":"bytes32","name":"_dataHash","type":"bytes32"},{"internalType":"enum Bridge.ProposalStatus","name":"_status","type":"uint8"},{"internalType":"uint256","name":"_proposedBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_relayerThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"_resourceIDToHandlerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalProposals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalRelayers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"relayerAddress","type":"address"}],"name":"adminAddRelayer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newThreshold","type":"uint256"}],"name":"adminChangeRelayerThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminPauseTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"relayerAddress","type":"address"}],"name":"adminRemoveRelayer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"handlerAddress","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"bool","name":"burnable","type":"bool"}],"name":"adminSetBurnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"handlerAddress","type":"address"},{"internalType":"bytes32","name":"resourceID","type":"bytes32"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bytes4","name":"depositFunctionSig","type":"bytes4"},{"internalType":"bytes4","name":"executeFunctionSig","type":"bytes4"}],"name":"adminSetGenericResource","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"handlerAddress","type":"address"},{"internalType":"bytes32","name":"resourceID","type":"bytes32"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"adminSetResource","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminUnpauseTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"handlerAddress","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amountOrTokenID","type":"uint256"}],"name":"adminWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"destinationChainID","type":"uint8"},{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"changeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"destinationChainID","type":"uint8"},{"internalType":"bytes32","name":"resourceID","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"_auxData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"originChainID","type":"uint8"},{"internalType":"uint64","name":"depositNonce","type":"uint64"},{"internalType":"bytes32","name":"dataHash","type":"bytes32"}],"name":"getProposal","outputs":[{"components":[{"internalType":"bytes32","name":"_resourceID","type":"bytes32"},{"internalType":"bytes32","name":"_dataHash","type":"bytes32"},{"internalType":"address[]","name":"_yesVotes","type":"address[]"},{"internalType":"address[]","name":"_noVotes","type":"address[]"},{"internalType":"enum Bridge.ProposalStatus","name":"_status","type":"uint8"},{"internalType":"uint256","name":"_proposedBlock","type":"uint256"}],"internalType":"struct Bridge.Proposal","name":"","type":"tuple"}],"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"relayer","type":"address"}],"name":"isRelayer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"renounceAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"handlerAddress","type":"address"},{"internalType":"uint256","name":"feePercent","type":"uint256"}],"name":"setFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"handlerAddress","type":"address"},{"internalType":"address","name":"treasuryAddress","type":"address"}],"name":"setFeePercentTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable[]","name":"addrs","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"transferFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"address[]","name":"tokenAddrs","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"transferFundsERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"chainID","type":"uint8"},{"internalType":"uint64","name":"depositNonce","type":"uint64"},{"internalType":"bytes32","name":"resourceID","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"voteProposal","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620030623803806200306283398101604081905262000034916200035f565b6000805460ff1990811682556002805490911660ff861617905560038290556200005f903362000151565b6200008a60405162000071906200047b565b604051908190039020336001600160e01b036200015116565b6200009c60405162000071906200043a565b620000c8604051620000ae9062000463565b60405190819003902060006001600160e01b036200016a16565b620000da604051620000ae906200047b565b620000ec604051620000ae906200043a565b60005b82518110156200014757620001346040516200010b9062000463565b60405180910390208483815181106200012057fe5b60200260200101516200017f60201b60201c565b60048054600190810190915501620000ef565b505050506200050c565b6200016682826001600160e01b03620001e016565b5050565b60009182526001602052604090912060020155565b600082815260016020526040902060020154620001b890620001a96001600160e01b036200026416565b6001600160e01b036200026816565b620001515760405162461bcd60e51b8152600401620001d79062000496565b60405180910390fd5b6000828152600160209081526040909120620002079183906200198462000297821b17901c565b156200016657620002206001600160e01b036200026416565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b3390565b600082815260016020908152604082206200028e9184906200189c620002b7821b17901c565b90505b92915050565b60006200028e836001600160a01b0384166001600160e01b03620002d716565b60006200028e836001600160a01b0384166001600160e01b036200032f16565b6000620002ee83836001600160e01b036200032f16565b620003265750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000291565b50600062000291565b60009081526001919091016020526040902054151590565b80516001600160a01b03811681146200029157600080fd5b60008060006060848603121562000374578283fd5b835160ff8116811462000385578384fd5b602085810151919450906001600160401b0380821115620003a4578485fd5b81870188601f820112620003b6578586fd5b8051925081831115620003c7578586fd5b8383029150620003d9848301620004e5565b8381528481019082860184840187018c1015620003f4578889fd5b8894505b8585101562000422576200040d8c8262000347565b835260019490940193918601918601620003f8565b50809750505050505050604084015190509250925092565b7f5245534f555243455f5345545445525f524f4c45000000000000000000000000815260140190565b6b52454c415945525f524f4c4560a01b8152600c0190565b6e4645455f5345545445525f524f4c4560881b8152600f0190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b6040518181016001600160401b03811182821017156200050457600080fd5b604052919050565b612b46806200051c6000396000f3fe60806040526004361061023b5760003560e01c80639010d07c1161012e578063c0331b3e116100ab578063d7a9cd791161006f578063d7a9cd79146106af578063e8437ee7146106c4578063e9347683146106e4578063eb6e53aa146106f9578063ffaac0eb1461070e5761023b565b8063c0331b3e1461060f578063ca15c8731461062f578063cb10f2151461064f578063cdb0f73a1461066f578063d547741f1461068f5761023b565b8063a217fddf116100f2578063a217fddf1461056b578063a49e88d914610580578063a9cf69fa146105a0578063aa81cea7146105cd578063beab7131146105ed5761023b565b80639010d07c146104e157806391d1485414610501578063926d7d7f146105215780639d5773e0146105365780639d82dd631461054b5761023b565b8063541d5548116101bc5780637febe63f116101805780637febe63f1461044a578063802aabe81461046a57806380ae1c281461047f57806384db809f1461049457806385802129146104c15761023b565b8063541d5548146103b55780635c975abb146103e25780635e1fab0f146103f757806373c45c9814610417578063780cf0041461042a5761023b565b80634603ae38116102035780634603ae38146102f85780634b0b919d146103185780634e05600514610345578063505987191461036557806352bd874b146103955761023b565b806313a7e54e14610240578063248a9ca3146102625780632f2ff15d1461029857806336568abe146102b857806339356261146102d8575b600080fd5b34801561024c57600080fd5b5061026061025b3660046121b9565b610723565b005b34801561026e57600080fd5b5061028261027d366004612090565b61077b565b60405161028f9190612438565b60405180910390f35b3480156102a457600080fd5b506102606102b33660046120a8565b610793565b3480156102c457600080fd5b506102606102d33660046120a8565b6107db565b3480156102e457600080fd5b506102606102f3366004611ddd565b61081d565b34801561030457600080fd5b5061026061031336600461200c565b61088a565b34801561032457600080fd5b50610338610333366004612129565b610918565b60405161028f9190612a93565b34801561035157600080fd5b50610260610360366004612090565b610933565b34801561037157600080fd5b506103856103803660046120ed565b61096e565b60405161028f9493929190612497565b3480156103a157600080fd5b506102606103b0366004611f4c565b6109a6565b3480156103c157600080fd5b506103d56103d0366004611dc1565b6109ff565b60405161028f919061242d565b3480156103ee57600080fd5b506103d5610a24565b34801561040357600080fd5b50610260610412366004611dc1565b610a2e565b610260610425366004612144565b610a4f565b34801561043657600080fd5b50610260610445366004611e15565b610ba3565b34801561045657600080fd5b506103d561046536600461210a565b610c16565b34801561047657600080fd5b50610282610c3c565b34801561048b57600080fd5b50610260610c42565b3480156104a057600080fd5b506104b46104af366004612090565b610c54565b60405161028f91906123c1565b3480156104cd57600080fd5b506102606104dc366004611e65565b610c6f565b3480156104ed57600080fd5b506104b46104fc3660046120cc565b610d02565b34801561050d57600080fd5b506103d561051c3660046120a8565b610d27565b34801561052d57600080fd5b50610282610d45565b34801561054257600080fd5b50610282610d5c565b34801561055757600080fd5b50610260610566366004611dc1565b610d62565b34801561057757600080fd5b50610282610e01565b34801561058c57600080fd5b5061028261059b366004612129565b610e06565b3480156105ac57600080fd5b506105c06105bb3660046121d5565b610e18565b60405161028f9190612a1e565b3480156105d957600080fd5b506102606105e8366004611f77565b610f6c565b3480156105f957600080fd5b50610602610fea565b60405161028f9190612aa7565b34801561061b57600080fd5b5061026061062a36600461221f565b610ff3565b34801561063b57600080fd5b5061028261064a366004612090565b6114cf565b34801561065b57600080fd5b5061026061066a366004611eaf565b6114e6565b34801561067b57600080fd5b5061026061068a366004611dc1565b611562565b34801561069b57600080fd5b506102606106aa3660046120a8565b6115f3565b3480156106bb57600080fd5b5061028261162d565b3480156106d057600080fd5b506102606106df366004611ee5565b611633565b3480156106f057600080fd5b506102826116ed565b34801561070557600080fd5b506102826116f9565b34801561071a57600080fd5b50610260611705565b610740604051610732906123a6565b604051809103902033610d27565b6107655760405162461bcd60e51b815260040161075c90612812565b60405180910390fd5b60ff9091166000908152600a6020526040902055565b6000818152600160205260409020600201545b919050565b6000828152600160205260409020600201546107b19061051c611715565b6107cd5760405162461bcd60e51b815260040161075c90612576565b6107d78282611719565b5050565b6107e3611715565b6001600160a01b0316816001600160a01b0316146108135760405162461bcd60e51b815260040161075c90612998565b6107d78282611788565b6108256117f7565b604051630693020f60e51b815282906001600160a01b0382169063d26041e0906108539085906004016123c1565b600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b50505050505050565b6108926117f7565b60005b83811015610911578484828181106108a957fe5b90506020020160208101906108be9190611dc1565b6001600160a01b03166108fc8484848181106108d657fe5b905060200201359081150290604051600060405180830381858888f19350505050158015610908573d6000803e3d6000fd5b50600101610895565b5050505050565b6006602052600090815260409020546001600160401b031681565b61093b6117f7565b600381905560405181907fa20d6b84cd798a24038be305eff8a45ca82ef54a2aa2082005d8e14c0a4746c890600090a250565b600860209081526000928352604080842090915290825290208054600182015460048301546005909301549192909160ff9091169084565b6109b5604051610732906123a6565b6109d15760405162461bcd60e51b815260040161075c90612812565b604051637ce3489b60e01b815282906001600160a01b03821690637ce3489b90610853908590600401612438565b6000610a1e604051610a109061238e565b604051809103902083610d27565b92915050565b60005460ff165b90565b610a366117f7565b610a41600082610793565b610a4c6000336107db565b50565b610a5761181e565b60ff86166000908152600a60205260409020543414610a885760405162461bcd60e51b815260040161075c90612659565b6000858152600760205260409020546001600160a01b031680610abd5760405162461bcd60e51b815260040161075c906126f5565b60ff871660009081526006602052604090819020805467ffffffffffffffff19811660016001600160401b03928316019182161790915590516338995da960e01b815282906001600160a01b038216906338995da990610b2b908b908d90879033908e908e906004016124e5565b600060405180830381600087803b158015610b4557600080fd5b505af1158015610b59573d6000803e3d6000fd5b50505050816001600160401b0316888a60ff167fdbb69440df8433824a026ef190652f29929eb64b4d1d5d2a69be8afe3e6eaed860405160405180910390a4505050505050505050565b610bab6117f7565b604051636ce5768960e11b815284906001600160a01b0382169063d9caed1290610bdd908790879087906004016123d5565b600060405180830381600087803b158015610bf757600080fd5b505af1158015610c0b573d6000803e3d6000fd5b505050505050505050565b600960209081526000938452604080852082529284528284209052825290205460ff1681565b60045481565b610c4a6117f7565b610c52611841565b565b6007602052600090815260409020546001600160a01b031681565b610c7e6040516107329061236e565b610c9a5760405162461bcd60e51b815260040161075c9061272a565b604051631764b06b60e21b815283906001600160a01b03821690635d92c1ac90610cca90869086906004016123f9565b600060405180830381600087803b158015610ce457600080fd5b505af1158015610cf8573d6000803e3d6000fd5b5050505050505050565b6000828152600160205260408120610d20908363ffffffff61189016565b9392505050565b6000828152600160205260408120610d20908363ffffffff61189c16565b604051610d519061238e565b604051809103902081565b60055481565b610d6a6117f7565b610d87604051610d799061238e565b604051809103902082610d27565b610da35760405162461bcd60e51b815260040161075c90612622565b610dc0604051610db29061238e565b6040518091039020826115f3565b6040516001600160a01b038216907f10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b90600090a25060048054600019019055565b600081565b600a6020526000908152604090205481565b610e20611c68565b68ffffffffffffffffff60ff8516600885811b68ffffffffffffffff001691909117918216600090815260209182526040808220868352835290819020815160c08101835281548152600182015481850152600282018054845181870281018701865281815292959394860193830182828015610ec657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ea8575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015610f2857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610f0a575b5050509183525050600482015460209091019060ff166002811115610f4957fe5b6002811115610f5457fe5b81526020016005820154815250509150509392505050565b610f746117f7565b60005b85811015610881576000858583818110610f8d57fe5b9050602002016020810190610fa29190611dc1565b9050610fe181898985818110610fb457fe5b9050602002016020810190610fc99190611dc1565b868686818110610fd557fe5b905060200201356118b1565b50600101610f77565b60025460ff1681565b610ffb61190c565b61100361181e565b60008381526007602090815260408083205490516001600160a01b0390911692916110349184918791879101612309565b60408051601f19818403018152918152815160209283012068ffffffffffffffff0060088a811b9190911660ff8c161768ffffffffffffffffff8116600090815291855283822083835285528382208a83526007909552929020549093509091906001600160a01b03166110ba5760405162461bcd60e51b815260040161075c9061292a565b600481015460019060ff1660028111156110d057fe5b11156110ee5760405162461bcd60e51b815260040161075c906129e7565b68ffffffffffffffffff82166000908152600960209081526040808320868452825280832033845290915290205460ff161561113c5760405162461bcd60e51b815260040161075c906125c5565b600481015460ff16600281111561114f57fe5b6112d3576005805460019081019091556040805160c08101825289815260208101869052815183815280830183529092918301918160200160208202803683375050508152604080516000808252602080830184528085019290925260018385018190524360609095019490945268ffffffffffffffffff871681526008825282812088825282528290208451815584820151938101939093559083015180516111ff9260028501920190611ca0565b506060820151805161121b916003840191602090910190611ca0565b50608082015160048201805460ff1916600183600281111561123957fe5b021790555060a08201518160050155905050338160020160008154811061125c57fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556001886001600160401b03168a60ff167f803c5a12f6bde629cea32e63d4b92d1b560816a6fb72e939d3c89e1cab6504178a876040516112c6929190612489565b60405180910390a461131e565b806001015483146112f65760405162461bcd60e51b815260040161075c906128ff565b600281018054600181018255600091825260209091200180546001600160a01b031916331790555b68ffffffffffffffffff8216600090815260096020908152604080832086845282528083203384529091529020805460ff19166001179055600481015460ff16600281111561136957fe5b886001600160401b03168a60ff167f25f8daaa4635a7729927ba3f5b3d59cc3320aca7c32c9db4e7ca7b95743436408a6040516113a69190612438565b60405180910390a4600354600282015410610c0b57806001015483146113de5760405162461bcd60e51b815260040161075c90612689565b6004818101805460ff1916600217905581546000818152600760205260409081902054905163712467f960e11b81526001600160a01b0390911692839263e248cff29261142f928c918c91016124c2565b600060405180830381600087803b15801561144957600080fd5b505af115801561145d573d6000803e3d6000fd5b50505050600482015460ff16600281111561147457fe5b896001600160401b03168b60ff167f803c5a12f6bde629cea32e63d4b92d1b560816a6fb72e939d3c89e1cab650417856000015486600101546040516114bb929190612489565b60405180910390a450505050505050505050565b6000818152600160205260408120610a1e90611937565b6114f56040516107329061236e565b6115115760405162461bcd60e51b815260040161075c9061272a565b6000828152600760205260409081902080546001600160a01b0319166001600160a01b0386169081179091559051635c7d1b9b60e11b815284919063b8fa373690610cca9086908690600401612441565b61156a6117f7565b611579604051610d799061238e565b156115965760405162461bcd60e51b815260040161075c906127db565b6115b36040516115a59061238e565b604051809103902082610793565b6040516001600160a01b038216907f03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c590600090a250600480546001019055565b6000828152600160205260409020600201546116119061051c611715565b6108135760405162461bcd60e51b815260040161075c90612761565b60035481565b6116426040516107329061236e565b61165e5760405162461bcd60e51b815260040161075c9061272a565b6000848152600760205260409081902080546001600160a01b0319166001600160a01b0388169081179091559051635dd40c2d60e11b815286919063bba8185a906116b3908890889088908890600401612458565b600060405180830381600087803b1580156116cd57600080fd5b505af11580156116e1573d6000803e3d6000fd5b50505050505050505050565b604051610d51906123a6565b604051610d519061236e565b61170d6117f7565b610c52611942565b3390565b6000828152600160205260409020611737908263ffffffff61198416565b156107d757611744611715565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526001602052604090206117a6908263ffffffff61199916565b156107d7576117b3611715565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b611802600033610d27565b610c525760405162461bcd60e51b815260040161075c9061287e565b60005460ff1615610c525760405162461bcd60e51b815260040161075c906127b1565b61184961181e565b6000805460ff191660011790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258906118869033906123c1565b60405180910390a1565b6000610d2083836119ae565b6000610d20836001600160a01b0384166119f3565b6119078363a9059cbb60e01b84846040516024016118d0929190612414565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611a0b565b505050565b61191b6040516107329061238e565b610c525760405162461bcd60e51b815260040161075c90612849565b6000610a1e82611af6565b61194a611afa565b6000805460ff191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa906118869033906123c1565b6000610d20836001600160a01b038416611b1c565b6000610d20836001600160a01b038416611b66565b815460009082106119d15760405162461bcd60e51b815260040161075c90612534565b8260000182815481106119e057fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b611a1d826001600160a01b0316611c2c565b611a395760405162461bcd60e51b815260040161075c90612961565b60006060836001600160a01b031683604051611a559190612335565b6000604051808303816000865af19150503d8060008114611a92576040519150601f19603f3d011682016040523d82523d6000602084013e611a97565b606091505b509150915081611ab95760405162461bcd60e51b815260040161075c906126c0565b805115611af05780806020019051810190611ad49190612074565b611af05760405162461bcd60e51b815260040161075c906128b5565b50505050565b5490565b60005460ff16610c525760405162461bcd60e51b815260040161075c906125f4565b6000611b2883836119f3565b611b5e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a1e565b506000610a1e565b60008181526001830160205260408120548015611c225783546000198083019190810190600090879083908110611b9957fe5b9060005260206000200154905080876000018481548110611bb657fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611be657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a1e565b6000915050610a1e565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611c6057508115155b949350505050565b6040805160c0810182526000808252602082018190526060928201839052828201929092529060808201908152602001600081525090565b828054828255906000526020600020908101928215611cf5579160200282015b82811115611cf557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611cc0565b50611d01929150611d05565b5090565b610a2b91905b80821115611d015780546001600160a01b0319168155600101611d0b565b60008083601f840112611d3a578182fd5b5081356001600160401b03811115611d50578182fd5b6020830191508360208083028501011115611d6a57600080fd5b9250929050565b60008083601f840112611d82578182fd5b5081356001600160401b03811115611d98578182fd5b602083019150836020828501011115611d6a57600080fd5b803560ff81168114610a1e57600080fd5b600060208284031215611dd2578081fd5b8135610d2081612ac0565b60008060408385031215611def578081fd5b8235611dfa81612ac0565b91506020830135611e0a81612ac0565b809150509250929050565b60008060008060808587031215611e2a578182fd5b8435611e3581612ac0565b93506020850135611e4581612ac0565b92506040850135611e5581612ac0565b9396929550929360600135925050565b600080600060608486031215611e79578283fd5b8335611e8481612ac0565b92506020840135611e9481612ac0565b91506040840135611ea481612ad5565b809150509250925092565b600080600060608486031215611ec3578283fd5b8335611ece81612ac0565b9250602084013591506040840135611ea481612ac0565b600080600080600060a08688031215611efc578081fd5b8535611f0781612ac0565b9450602086013593506040860135611f1e81612ac0565b92506060860135611f2e81612ae3565b91506080860135611f3e81612ae3565b809150509295509295909350565b60008060408385031215611f5e578182fd5b8235611f6981612ac0565b946020939093013593505050565b60008060008060008060608789031215611f8f578081fd5b86356001600160401b0380821115611fa5578283fd5b611fb18a838b01611d29565b90985096506020890135915080821115611fc9578283fd5b611fd58a838b01611d29565b90965094506040890135915080821115611fed578283fd5b50611ffa89828a01611d29565b979a9699509497509295939492505050565b60008060008060408587031215612021578182fd5b84356001600160401b0380821115612037578384fd5b61204388838901611d29565b9096509450602087013591508082111561205b578384fd5b5061206887828801611d29565b95989497509550505050565b600060208284031215612085578081fd5b8151610d2081612ad5565b6000602082840312156120a1578081fd5b5035919050565b600080604083850312156120ba578182fd5b823591506020830135611e0a81612ac0565b600080604083850312156120de578182fd5b50508035926020909101359150565b600080604083850312156120ff578182fd5b8235611f6981612af9565b60008060006060848603121561211e578081fd5b8335611ece81612af9565b60006020828403121561213a578081fd5b610d208383611db0565b6000806000806000806080878903121561215c578384fd5b6121668888611db0565b95506020870135945060408701356001600160401b0380821115612188578586fd5b6121948a838b01611d71565b909650945060608901359150808211156121ac578384fd5b50611ffa89828a01611d71565b600080604083850312156121cb578182fd5b611f698484611db0565b6000806000606084860312156121e9578081fd5b6121f38585611db0565b925060208401356001600160401b038116811461220e578182fd5b929592945050506040919091013590565b600080600080600060808688031215612236578283fd5b853560ff81168114612246578384fd5b945060208601356001600160401b038082168214612262578485fd5b909450604087013593506060870135908082111561227e578283fd5b5061228b88828901611d71565b969995985093965092949392505050565b6000815180845260208085019450808401835b838110156122d45781516001600160a01b0316875295820195908201906001016122af565b509495945050505050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b60006bffffffffffffffffffffffff198560601b16825282846014840137910160140190815292915050565b60008251815b81811015612355576020818601810151858301520161233b565b818111156123635782828501525b509190910192915050565b735245534f555243455f5345545445525f524f4c4560601b815260140190565b6b52454c415945525f524f4c4560a01b8152600c0190565b6e4645455f5345545445525f524f4c4560881b8152600f0190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b9182526001600160a01b0316602082015260400190565b9384526001600160a01b039290921660208401526001600160e01b0319908116604084015216606082015260800190565b918252602082015260400190565b84815260208101849052608081016124ae84612ab5565b604083015282606083015295945050505050565b6000848252604060208301526124dc6040830184866122df565b95945050505050565b86815260ff861660208201526001600160401b03851660408201526001600160a01b038416606082015260a06080820181905260009061252890830184866122df565b98975050505050505050565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b6020808252601590820152741c995b185e595c88185b1c9958591e481d9bdd1959605a1b604082015260600190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252601f908201527f6164647220646f65736e277420686176652072656c6179657220726f6c652100604082015260600190565b602080825260169082015275125b98dbdc9c9958dd08199959481cdd5c1c1b1a595960521b604082015260600190565b6020808252601b908201527f6461746120646f65736e2774206d617463682064617461686173680000000000604082015260600190565b6020808252818101527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604082015260600190565b6020808252818101527f7265736f757263654944206e6f74206d617070656420746f2068616e646c6572604082015260600190565b6020808252601d908201527f73656e646572206973206e6f74207265736f7572636520736574746572000000604082015260600190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601e908201527f6164647220616c7265616479206861732072656c6179657220726f6c65210000604082015260600190565b60208082526018908201527f73656e646572206973206e6f7420666565207365747465720000000000000000604082015260600190565b6020808252818101527f73656e64657220646f65736e277420686176652072656c6179657220726f6c65604082015260600190565b6020808252601e908201527f73656e64657220646f65736e277420686176652061646d696e20726f6c650000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601190820152700c8c2e8c2d0c2e6d040dad2e6dac2e8c6d607b1b604082015260600190565b60208082526019908201527f6e6f2068616e646c657220666f72207265736f75726365494400000000000000604082015260600190565b6020808252601f908201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604082015260600190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60208082526019908201527f70726f706f73616c20616c726561647920657865637574656400000000000000604082015260600190565b6000602082528251602083015260208301516040830152604083015160c06060840152612a4e60e084018261229c565b6060850151848203601f190160808601529150612a6b818361229c565b612a786080870151612ab5565b60a086015260a086015160c086015280935050505092915050565b6001600160401b0391909116815260200190565b60ff91909116815260200190565b806003811061078e57fe5b6001600160a01b0381168114610a4c57600080fd5b8015158114610a4c57600080fd5b6001600160e01b031981168114610a4c57600080fd5b68ffffffffffffffffff81168114610a4c57600080fdfea2646970667358221220edd75a01a693e447717c852b461b1abb745eb8c819242abc580ec5c6300a80e064736f6c6343000604003300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000040000000000000000000000000cc35215953725637c433404c01546c49a0ba6a1000000000000000000000000c5e370bf1f1013d913df3acfd5a79d2af8bc88ba0000000000000000000000004f4d8d40eaa65b2dbe7cf9f6e7fb0c807e1ed6540000000000000000000000001e6a269fe265c44eb18ab6633c3137be48e8c898
Deployed Bytecode
0x60806040526004361061023b5760003560e01c80639010d07c1161012e578063c0331b3e116100ab578063d7a9cd791161006f578063d7a9cd79146106af578063e8437ee7146106c4578063e9347683146106e4578063eb6e53aa146106f9578063ffaac0eb1461070e5761023b565b8063c0331b3e1461060f578063ca15c8731461062f578063cb10f2151461064f578063cdb0f73a1461066f578063d547741f1461068f5761023b565b8063a217fddf116100f2578063a217fddf1461056b578063a49e88d914610580578063a9cf69fa146105a0578063aa81cea7146105cd578063beab7131146105ed5761023b565b80639010d07c146104e157806391d1485414610501578063926d7d7f146105215780639d5773e0146105365780639d82dd631461054b5761023b565b8063541d5548116101bc5780637febe63f116101805780637febe63f1461044a578063802aabe81461046a57806380ae1c281461047f57806384db809f1461049457806385802129146104c15761023b565b8063541d5548146103b55780635c975abb146103e25780635e1fab0f146103f757806373c45c9814610417578063780cf0041461042a5761023b565b80634603ae38116102035780634603ae38146102f85780634b0b919d146103185780634e05600514610345578063505987191461036557806352bd874b146103955761023b565b806313a7e54e14610240578063248a9ca3146102625780632f2ff15d1461029857806336568abe146102b857806339356261146102d8575b600080fd5b34801561024c57600080fd5b5061026061025b3660046121b9565b610723565b005b34801561026e57600080fd5b5061028261027d366004612090565b61077b565b60405161028f9190612438565b60405180910390f35b3480156102a457600080fd5b506102606102b33660046120a8565b610793565b3480156102c457600080fd5b506102606102d33660046120a8565b6107db565b3480156102e457600080fd5b506102606102f3366004611ddd565b61081d565b34801561030457600080fd5b5061026061031336600461200c565b61088a565b34801561032457600080fd5b50610338610333366004612129565b610918565b60405161028f9190612a93565b34801561035157600080fd5b50610260610360366004612090565b610933565b34801561037157600080fd5b506103856103803660046120ed565b61096e565b60405161028f9493929190612497565b3480156103a157600080fd5b506102606103b0366004611f4c565b6109a6565b3480156103c157600080fd5b506103d56103d0366004611dc1565b6109ff565b60405161028f919061242d565b3480156103ee57600080fd5b506103d5610a24565b34801561040357600080fd5b50610260610412366004611dc1565b610a2e565b610260610425366004612144565b610a4f565b34801561043657600080fd5b50610260610445366004611e15565b610ba3565b34801561045657600080fd5b506103d561046536600461210a565b610c16565b34801561047657600080fd5b50610282610c3c565b34801561048b57600080fd5b50610260610c42565b3480156104a057600080fd5b506104b46104af366004612090565b610c54565b60405161028f91906123c1565b3480156104cd57600080fd5b506102606104dc366004611e65565b610c6f565b3480156104ed57600080fd5b506104b46104fc3660046120cc565b610d02565b34801561050d57600080fd5b506103d561051c3660046120a8565b610d27565b34801561052d57600080fd5b50610282610d45565b34801561054257600080fd5b50610282610d5c565b34801561055757600080fd5b50610260610566366004611dc1565b610d62565b34801561057757600080fd5b50610282610e01565b34801561058c57600080fd5b5061028261059b366004612129565b610e06565b3480156105ac57600080fd5b506105c06105bb3660046121d5565b610e18565b60405161028f9190612a1e565b3480156105d957600080fd5b506102606105e8366004611f77565b610f6c565b3480156105f957600080fd5b50610602610fea565b60405161028f9190612aa7565b34801561061b57600080fd5b5061026061062a36600461221f565b610ff3565b34801561063b57600080fd5b5061028261064a366004612090565b6114cf565b34801561065b57600080fd5b5061026061066a366004611eaf565b6114e6565b34801561067b57600080fd5b5061026061068a366004611dc1565b611562565b34801561069b57600080fd5b506102606106aa3660046120a8565b6115f3565b3480156106bb57600080fd5b5061028261162d565b3480156106d057600080fd5b506102606106df366004611ee5565b611633565b3480156106f057600080fd5b506102826116ed565b34801561070557600080fd5b506102826116f9565b34801561071a57600080fd5b50610260611705565b610740604051610732906123a6565b604051809103902033610d27565b6107655760405162461bcd60e51b815260040161075c90612812565b60405180910390fd5b60ff9091166000908152600a6020526040902055565b6000818152600160205260409020600201545b919050565b6000828152600160205260409020600201546107b19061051c611715565b6107cd5760405162461bcd60e51b815260040161075c90612576565b6107d78282611719565b5050565b6107e3611715565b6001600160a01b0316816001600160a01b0316146108135760405162461bcd60e51b815260040161075c90612998565b6107d78282611788565b6108256117f7565b604051630693020f60e51b815282906001600160a01b0382169063d26041e0906108539085906004016123c1565b600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b50505050505050565b6108926117f7565b60005b83811015610911578484828181106108a957fe5b90506020020160208101906108be9190611dc1565b6001600160a01b03166108fc8484848181106108d657fe5b905060200201359081150290604051600060405180830381858888f19350505050158015610908573d6000803e3d6000fd5b50600101610895565b5050505050565b6006602052600090815260409020546001600160401b031681565b61093b6117f7565b600381905560405181907fa20d6b84cd798a24038be305eff8a45ca82ef54a2aa2082005d8e14c0a4746c890600090a250565b600860209081526000928352604080842090915290825290208054600182015460048301546005909301549192909160ff9091169084565b6109b5604051610732906123a6565b6109d15760405162461bcd60e51b815260040161075c90612812565b604051637ce3489b60e01b815282906001600160a01b03821690637ce3489b90610853908590600401612438565b6000610a1e604051610a109061238e565b604051809103902083610d27565b92915050565b60005460ff165b90565b610a366117f7565b610a41600082610793565b610a4c6000336107db565b50565b610a5761181e565b60ff86166000908152600a60205260409020543414610a885760405162461bcd60e51b815260040161075c90612659565b6000858152600760205260409020546001600160a01b031680610abd5760405162461bcd60e51b815260040161075c906126f5565b60ff871660009081526006602052604090819020805467ffffffffffffffff19811660016001600160401b03928316019182161790915590516338995da960e01b815282906001600160a01b038216906338995da990610b2b908b908d90879033908e908e906004016124e5565b600060405180830381600087803b158015610b4557600080fd5b505af1158015610b59573d6000803e3d6000fd5b50505050816001600160401b0316888a60ff167fdbb69440df8433824a026ef190652f29929eb64b4d1d5d2a69be8afe3e6eaed860405160405180910390a4505050505050505050565b610bab6117f7565b604051636ce5768960e11b815284906001600160a01b0382169063d9caed1290610bdd908790879087906004016123d5565b600060405180830381600087803b158015610bf757600080fd5b505af1158015610c0b573d6000803e3d6000fd5b505050505050505050565b600960209081526000938452604080852082529284528284209052825290205460ff1681565b60045481565b610c4a6117f7565b610c52611841565b565b6007602052600090815260409020546001600160a01b031681565b610c7e6040516107329061236e565b610c9a5760405162461bcd60e51b815260040161075c9061272a565b604051631764b06b60e21b815283906001600160a01b03821690635d92c1ac90610cca90869086906004016123f9565b600060405180830381600087803b158015610ce457600080fd5b505af1158015610cf8573d6000803e3d6000fd5b5050505050505050565b6000828152600160205260408120610d20908363ffffffff61189016565b9392505050565b6000828152600160205260408120610d20908363ffffffff61189c16565b604051610d519061238e565b604051809103902081565b60055481565b610d6a6117f7565b610d87604051610d799061238e565b604051809103902082610d27565b610da35760405162461bcd60e51b815260040161075c90612622565b610dc0604051610db29061238e565b6040518091039020826115f3565b6040516001600160a01b038216907f10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b90600090a25060048054600019019055565b600081565b600a6020526000908152604090205481565b610e20611c68565b68ffffffffffffffffff60ff8516600885811b68ffffffffffffffff001691909117918216600090815260209182526040808220868352835290819020815160c08101835281548152600182015481850152600282018054845181870281018701865281815292959394860193830182828015610ec657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ea8575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015610f2857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610f0a575b5050509183525050600482015460209091019060ff166002811115610f4957fe5b6002811115610f5457fe5b81526020016005820154815250509150509392505050565b610f746117f7565b60005b85811015610881576000858583818110610f8d57fe5b9050602002016020810190610fa29190611dc1565b9050610fe181898985818110610fb457fe5b9050602002016020810190610fc99190611dc1565b868686818110610fd557fe5b905060200201356118b1565b50600101610f77565b60025460ff1681565b610ffb61190c565b61100361181e565b60008381526007602090815260408083205490516001600160a01b0390911692916110349184918791879101612309565b60408051601f19818403018152918152815160209283012068ffffffffffffffff0060088a811b9190911660ff8c161768ffffffffffffffffff8116600090815291855283822083835285528382208a83526007909552929020549093509091906001600160a01b03166110ba5760405162461bcd60e51b815260040161075c9061292a565b600481015460019060ff1660028111156110d057fe5b11156110ee5760405162461bcd60e51b815260040161075c906129e7565b68ffffffffffffffffff82166000908152600960209081526040808320868452825280832033845290915290205460ff161561113c5760405162461bcd60e51b815260040161075c906125c5565b600481015460ff16600281111561114f57fe5b6112d3576005805460019081019091556040805160c08101825289815260208101869052815183815280830183529092918301918160200160208202803683375050508152604080516000808252602080830184528085019290925260018385018190524360609095019490945268ffffffffffffffffff871681526008825282812088825282528290208451815584820151938101939093559083015180516111ff9260028501920190611ca0565b506060820151805161121b916003840191602090910190611ca0565b50608082015160048201805460ff1916600183600281111561123957fe5b021790555060a08201518160050155905050338160020160008154811061125c57fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556001886001600160401b03168a60ff167f803c5a12f6bde629cea32e63d4b92d1b560816a6fb72e939d3c89e1cab6504178a876040516112c6929190612489565b60405180910390a461131e565b806001015483146112f65760405162461bcd60e51b815260040161075c906128ff565b600281018054600181018255600091825260209091200180546001600160a01b031916331790555b68ffffffffffffffffff8216600090815260096020908152604080832086845282528083203384529091529020805460ff19166001179055600481015460ff16600281111561136957fe5b886001600160401b03168a60ff167f25f8daaa4635a7729927ba3f5b3d59cc3320aca7c32c9db4e7ca7b95743436408a6040516113a69190612438565b60405180910390a4600354600282015410610c0b57806001015483146113de5760405162461bcd60e51b815260040161075c90612689565b6004818101805460ff1916600217905581546000818152600760205260409081902054905163712467f960e11b81526001600160a01b0390911692839263e248cff29261142f928c918c91016124c2565b600060405180830381600087803b15801561144957600080fd5b505af115801561145d573d6000803e3d6000fd5b50505050600482015460ff16600281111561147457fe5b896001600160401b03168b60ff167f803c5a12f6bde629cea32e63d4b92d1b560816a6fb72e939d3c89e1cab650417856000015486600101546040516114bb929190612489565b60405180910390a450505050505050505050565b6000818152600160205260408120610a1e90611937565b6114f56040516107329061236e565b6115115760405162461bcd60e51b815260040161075c9061272a565b6000828152600760205260409081902080546001600160a01b0319166001600160a01b0386169081179091559051635c7d1b9b60e11b815284919063b8fa373690610cca9086908690600401612441565b61156a6117f7565b611579604051610d799061238e565b156115965760405162461bcd60e51b815260040161075c906127db565b6115b36040516115a59061238e565b604051809103902082610793565b6040516001600160a01b038216907f03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c590600090a250600480546001019055565b6000828152600160205260409020600201546116119061051c611715565b6108135760405162461bcd60e51b815260040161075c90612761565b60035481565b6116426040516107329061236e565b61165e5760405162461bcd60e51b815260040161075c9061272a565b6000848152600760205260409081902080546001600160a01b0319166001600160a01b0388169081179091559051635dd40c2d60e11b815286919063bba8185a906116b3908890889088908890600401612458565b600060405180830381600087803b1580156116cd57600080fd5b505af11580156116e1573d6000803e3d6000fd5b50505050505050505050565b604051610d51906123a6565b604051610d519061236e565b61170d6117f7565b610c52611942565b3390565b6000828152600160205260409020611737908263ffffffff61198416565b156107d757611744611715565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526001602052604090206117a6908263ffffffff61199916565b156107d7576117b3611715565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b611802600033610d27565b610c525760405162461bcd60e51b815260040161075c9061287e565b60005460ff1615610c525760405162461bcd60e51b815260040161075c906127b1565b61184961181e565b6000805460ff191660011790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258906118869033906123c1565b60405180910390a1565b6000610d2083836119ae565b6000610d20836001600160a01b0384166119f3565b6119078363a9059cbb60e01b84846040516024016118d0929190612414565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611a0b565b505050565b61191b6040516107329061238e565b610c525760405162461bcd60e51b815260040161075c90612849565b6000610a1e82611af6565b61194a611afa565b6000805460ff191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa906118869033906123c1565b6000610d20836001600160a01b038416611b1c565b6000610d20836001600160a01b038416611b66565b815460009082106119d15760405162461bcd60e51b815260040161075c90612534565b8260000182815481106119e057fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b611a1d826001600160a01b0316611c2c565b611a395760405162461bcd60e51b815260040161075c90612961565b60006060836001600160a01b031683604051611a559190612335565b6000604051808303816000865af19150503d8060008114611a92576040519150601f19603f3d011682016040523d82523d6000602084013e611a97565b606091505b509150915081611ab95760405162461bcd60e51b815260040161075c906126c0565b805115611af05780806020019051810190611ad49190612074565b611af05760405162461bcd60e51b815260040161075c906128b5565b50505050565b5490565b60005460ff16610c525760405162461bcd60e51b815260040161075c906125f4565b6000611b2883836119f3565b611b5e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a1e565b506000610a1e565b60008181526001830160205260408120548015611c225783546000198083019190810190600090879083908110611b9957fe5b9060005260206000200154905080876000018481548110611bb657fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611be657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a1e565b6000915050610a1e565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611c6057508115155b949350505050565b6040805160c0810182526000808252602082018190526060928201839052828201929092529060808201908152602001600081525090565b828054828255906000526020600020908101928215611cf5579160200282015b82811115611cf557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611cc0565b50611d01929150611d05565b5090565b610a2b91905b80821115611d015780546001600160a01b0319168155600101611d0b565b60008083601f840112611d3a578182fd5b5081356001600160401b03811115611d50578182fd5b6020830191508360208083028501011115611d6a57600080fd5b9250929050565b60008083601f840112611d82578182fd5b5081356001600160401b03811115611d98578182fd5b602083019150836020828501011115611d6a57600080fd5b803560ff81168114610a1e57600080fd5b600060208284031215611dd2578081fd5b8135610d2081612ac0565b60008060408385031215611def578081fd5b8235611dfa81612ac0565b91506020830135611e0a81612ac0565b809150509250929050565b60008060008060808587031215611e2a578182fd5b8435611e3581612ac0565b93506020850135611e4581612ac0565b92506040850135611e5581612ac0565b9396929550929360600135925050565b600080600060608486031215611e79578283fd5b8335611e8481612ac0565b92506020840135611e9481612ac0565b91506040840135611ea481612ad5565b809150509250925092565b600080600060608486031215611ec3578283fd5b8335611ece81612ac0565b9250602084013591506040840135611ea481612ac0565b600080600080600060a08688031215611efc578081fd5b8535611f0781612ac0565b9450602086013593506040860135611f1e81612ac0565b92506060860135611f2e81612ae3565b91506080860135611f3e81612ae3565b809150509295509295909350565b60008060408385031215611f5e578182fd5b8235611f6981612ac0565b946020939093013593505050565b60008060008060008060608789031215611f8f578081fd5b86356001600160401b0380821115611fa5578283fd5b611fb18a838b01611d29565b90985096506020890135915080821115611fc9578283fd5b611fd58a838b01611d29565b90965094506040890135915080821115611fed578283fd5b50611ffa89828a01611d29565b979a9699509497509295939492505050565b60008060008060408587031215612021578182fd5b84356001600160401b0380821115612037578384fd5b61204388838901611d29565b9096509450602087013591508082111561205b578384fd5b5061206887828801611d29565b95989497509550505050565b600060208284031215612085578081fd5b8151610d2081612ad5565b6000602082840312156120a1578081fd5b5035919050565b600080604083850312156120ba578182fd5b823591506020830135611e0a81612ac0565b600080604083850312156120de578182fd5b50508035926020909101359150565b600080604083850312156120ff578182fd5b8235611f6981612af9565b60008060006060848603121561211e578081fd5b8335611ece81612af9565b60006020828403121561213a578081fd5b610d208383611db0565b6000806000806000806080878903121561215c578384fd5b6121668888611db0565b95506020870135945060408701356001600160401b0380821115612188578586fd5b6121948a838b01611d71565b909650945060608901359150808211156121ac578384fd5b50611ffa89828a01611d71565b600080604083850312156121cb578182fd5b611f698484611db0565b6000806000606084860312156121e9578081fd5b6121f38585611db0565b925060208401356001600160401b038116811461220e578182fd5b929592945050506040919091013590565b600080600080600060808688031215612236578283fd5b853560ff81168114612246578384fd5b945060208601356001600160401b038082168214612262578485fd5b909450604087013593506060870135908082111561227e578283fd5b5061228b88828901611d71565b969995985093965092949392505050565b6000815180845260208085019450808401835b838110156122d45781516001600160a01b0316875295820195908201906001016122af565b509495945050505050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b60006bffffffffffffffffffffffff198560601b16825282846014840137910160140190815292915050565b60008251815b81811015612355576020818601810151858301520161233b565b818111156123635782828501525b509190910192915050565b735245534f555243455f5345545445525f524f4c4560601b815260140190565b6b52454c415945525f524f4c4560a01b8152600c0190565b6e4645455f5345545445525f524f4c4560881b8152600f0190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b9182526001600160a01b0316602082015260400190565b9384526001600160a01b039290921660208401526001600160e01b0319908116604084015216606082015260800190565b918252602082015260400190565b84815260208101849052608081016124ae84612ab5565b604083015282606083015295945050505050565b6000848252604060208301526124dc6040830184866122df565b95945050505050565b86815260ff861660208201526001600160401b03851660408201526001600160a01b038416606082015260a06080820181905260009061252890830184866122df565b98975050505050505050565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b6020808252601590820152741c995b185e595c88185b1c9958591e481d9bdd1959605a1b604082015260600190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252601f908201527f6164647220646f65736e277420686176652072656c6179657220726f6c652100604082015260600190565b602080825260169082015275125b98dbdc9c9958dd08199959481cdd5c1c1b1a595960521b604082015260600190565b6020808252601b908201527f6461746120646f65736e2774206d617463682064617461686173680000000000604082015260600190565b6020808252818101527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604082015260600190565b6020808252818101527f7265736f757263654944206e6f74206d617070656420746f2068616e646c6572604082015260600190565b6020808252601d908201527f73656e646572206973206e6f74207265736f7572636520736574746572000000604082015260600190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601e908201527f6164647220616c7265616479206861732072656c6179657220726f6c65210000604082015260600190565b60208082526018908201527f73656e646572206973206e6f7420666565207365747465720000000000000000604082015260600190565b6020808252818101527f73656e64657220646f65736e277420686176652072656c6179657220726f6c65604082015260600190565b6020808252601e908201527f73656e64657220646f65736e277420686176652061646d696e20726f6c650000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601190820152700c8c2e8c2d0c2e6d040dad2e6dac2e8c6d607b1b604082015260600190565b60208082526019908201527f6e6f2068616e646c657220666f72207265736f75726365494400000000000000604082015260600190565b6020808252601f908201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604082015260600190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60208082526019908201527f70726f706f73616c20616c726561647920657865637574656400000000000000604082015260600190565b6000602082528251602083015260208301516040830152604083015160c06060840152612a4e60e084018261229c565b6060850151848203601f190160808601529150612a6b818361229c565b612a786080870151612ab5565b60a086015260a086015160c086015280935050505092915050565b6001600160401b0391909116815260200190565b60ff91909116815260200190565b806003811061078e57fe5b6001600160a01b0381168114610a4c57600080fd5b8015158114610a4c57600080fd5b6001600160e01b031981168114610a4c57600080fd5b68ffffffffffffffffff81168114610a4c57600080fdfea2646970667358221220edd75a01a693e447717c852b461b1abb745eb8c819242abc580ec5c6300a80e064736f6c63430006040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000040000000000000000000000000cc35215953725637c433404c01546c49a0ba6a1000000000000000000000000c5e370bf1f1013d913df3acfd5a79d2af8bc88ba0000000000000000000000004f4d8d40eaa65b2dbe7cf9f6e7fb0c807e1ed6540000000000000000000000001e6a269fe265c44eb18ab6633c3137be48e8c898
-----Decoded View---------------
Arg [0] : chainID (uint8): 1
Arg [1] : initialRelayers (address[]): 0x0cc35215953725637c433404C01546c49A0ba6A1,0xC5e370bF1F1013D913dF3AcFd5A79d2aF8BC88bA,0x4f4d8D40EAa65b2dbE7cF9f6E7fb0c807e1Ed654,0x1e6a269fE265c44Eb18AB6633C3137be48E8C898
Arg [2] : initialRelayerThreshold (uint256): 1
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 0000000000000000000000000cc35215953725637c433404c01546c49a0ba6a1
Arg [5] : 000000000000000000000000c5e370bf1f1013d913df3acfd5a79d2af8bc88ba
Arg [6] : 0000000000000000000000004f4d8d40eaa65b2dbe7cf9f6e7fb0c807e1ed654
Arg [7] : 0000000000000000000000001e6a269fe265c44eb18ab6633c3137be48e8c898
Deployed Bytecode Sourcemap
587:16776:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;11161:132:7;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;11161:132:7;;;;;;;;:::i;:::-;;3826:112:1;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;3826:112:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4188:223;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;4188:223:1;;;;;;;;:::i;5362:205::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;5362:205:1;;;;;;;;:::i;11508:225:7:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;11508:225:7;;;;;;;;:::i;16833:211::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;16833:211:7;;;;;;;;:::i;1126:46::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;1126:46:7;;;;;;;;:::i;:::-;;;;;;;;6226:176;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;6226:176:7;;;;;;;;:::i;1348:65::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;1348:65:7;;;;;;;;:::i;:::-;;;;;;;;;;;11299:203;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;11299:203:7;;;;;;;;:::i;4830:119::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;4830:119:7;;;;;;;;:::i;:::-;;;;;;;;889:76:13;;5:9:-1;2:2;;;27:1;24;17:12;2:2;889:76:13;;;:::i;5200:170:7:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;5200:170:7;;;;;;;;:::i;12970:676::-;;;;;;;;;:::i;12101:304::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;12101:304:7;;;;;;;;:::i;1498:90::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;1498:90:7;;;;;;;;:::i;721:29::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;721:29:7;;;:::i;5558:75::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5558:75:7;;;:::i;1215:62::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;1215:62:7;;;;;;;;:::i;:::-;;;;;;;;9906:234;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;9906:234:7;;;;;;;;:::i;3509:136:1:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;3509:136:1;;;;;;;;:::i;2494:137::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;2494:137:1;;;;;;;;:::i;2379:64:7:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2379:64:7;;;:::i;756:30::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;756:30:7;;;:::i;7293:290::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;7293:290:7;;;;;;;;:::i;1684:49:1:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1684:49:1;;;:::i;1635:38:7:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;1635:38:7;;;;;;;;:::i;10723:258::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;10723:258:7;;;;;;;;:::i;:::-;;;;;;;;17050:311;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;17050:311:7;;;;;;;;:::i;654:23::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;654:23:7;;;:::i;:::-;;;;;;;;14298:2145;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;14298:2145:7;;;;;;;;:::i;2799:125:1:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;2799:125:1;;;;;;;;:::i;8124:307:7:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;8124:307:7;;;;;;;;:::i;6703:284::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;6703:284:7;;;;;;;;:::i;4645:226:1:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;4645:226:1;;;;;;;;:::i;683:32:7:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;683:32:7;;;:::i;8979:468::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;8979:468:7;;;;;;;;:::i;2449:70::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2449:70:7;;;:::i;2525:80::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2525:80:7;;;:::i;5823:79::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5823:79:7;;;:::i;11161:132::-;2880:36;2491:28;;;;;;;;;;;;;;2905:10;2880:7;:36::i;:::-;2872:73;;;;-1:-1:-1;;;2872:73:7;;;;;;;;;;;;;;;;;11252:25:::1;::::0;;::::1;;::::0;;;:5:::1;:25;::::0;;;;:34;11161:132::o;3826:112:1:-;3883:7;3909:12;;;:6;:12;;;;;:22;;;3826:112;;;;:::o;4188:223::-;4279:12;;;;:6;:12;;;;;:22;;;4271:45;;4303:12;:10;:12::i;4271:45::-;4263:105;;;;-1:-1:-1;;;4263:105:1;;;;;;;;;4379:25;4390:4;4396:7;4379:10;:25::i;:::-;4188:223;;:::o;5362:205::-;5459:12;:10;:12::i;:::-;-1:-1:-1;;;;;5448:23:1;:7;-1:-1:-1;;;;;5448:23:1;;5440:83;;;;-1:-1:-1;;;5440:83:1;;;;;;;;;5534:26;5546:4;5552:7;5534:11;:26::i;11508:225:7:-;2643:12;:10;:12::i;:::-;11680:46:::1;::::0;-1:-1:-1;;;11680:46:7;;11655:14;;-1:-1:-1;;;;;11680:29:7;::::1;::::0;::::1;::::0;:46:::1;::::0;11710:15;;11680:46:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;11680:46:7;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;11680:46:7;;;;2665:1;11508:225:::0;;:::o;16833:211::-;2643:12;:10;:12::i;:::-;16949:6:::1;16944:94;16961:16:::0;;::::1;16944:94;;;16998:5;;17004:1;16998:8;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;16998:17:7::1;:29;17016:7;;17024:1;17016:10;;;;;;;;;;;;;16998:29;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;-1:-1:::0;16979:3:7::1;;16944:94;;;;16833:211:::0;;;;:::o;1126:46::-;;;;;;;;;;;;-1:-1:-1;;;;;1126:46:7;;:::o;6226:176::-;2643:12;:10;:12::i;:::-;6311:17:::1;:32:::0;;;6358:37:::1;::::0;6331:12;;6358:37:::1;::::0;;;::::1;6226:176:::0;:::o;1348:65::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;11299:203::-;2880:36;2491:28;;;;;;2880:36;2872:73;;;;-1:-1:-1;;;2872:73:7;;;;;;;;;11462:33:::1;::::0;-1:-1:-1;;;11462:33:7;;11437:14;;-1:-1:-1;;;;;11462:21:7;::::1;::::0;::::1;::::0;:33:::1;::::0;11484:10;;11462:33:::1;;;;4830:119:::0;4889:4;4912:30;2418:25;;;;;;;;;;;;;;4934:7;4912;:30::i;:::-;4905:37;4830:119;-1:-1:-1;;4830:119:7:o;889:76:13:-;928:4;951:7;;;889:76;;:::o;5200:170:7:-;2643:12;:10;:12::i;:::-;5270:39:::1;1729:4:1;5300:8:7::0;5270:9:::1;:39::i;:::-;5319:44;1729:4:1;5352:10:7;5319:12;:44::i;:::-;5200:170:::0;:::o;12970:676::-;1186:16:13;:14;:16::i;:::-;13141:25:7::1;::::0;::::1;;::::0;;;:5:::1;:25;::::0;;;;;13128:9:::1;:38;13120:73;;;;-1:-1:-1::0;;;13120:73:7::1;;;;;;;;;13204:15;13222:39:::0;;;:27:::1;:39;::::0;;;;;-1:-1:-1;;;;;13222:39:7::1;13279:21:::0;13271:66:::1;;;;-1:-1:-1::0;;;13271:66:7::1;;;;;;;;;13372:34;::::0;::::1;13348:19;13372:34:::0;;;:14:::1;:34;::::0;;;;;;13370:36;;-1:-1:-1;;13370:36:7;::::1;::::0;-1:-1:-1;;;;;13370:36:7;;::::1;;::::0;;::::1;;::::0;;;13484:86;;-1:-1:-1;;;13484:86:7;;13466:7;;-1:-1:-1;;;;;13484:22:7;::::1;::::0;::::1;::::0;:86:::1;::::0;13507:10;;13372:34;;13370:36;;13553:10:::1;::::0;13565:4;;;;13484:86:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;13484:86:7;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;13484:86:7;;;;13626:12;-1:-1:-1::0;;;;;13586:53:7::1;13614:10;13594:18;13586:53;;;;;;;;;;;;1212:1:13;;;12970:676:7::0;;;;;;:::o;12101:304::-;2643:12;:10;:12::i;:::-;12340:58:::1;::::0;-1:-1:-1;;;12340:58:7;;12315:14;;-1:-1:-1;;;;;12340:16:7;::::1;::::0;::::1;::::0;:58:::1;::::0;12357:12;;12371:9;;12382:15;;12340:58:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;12340:58:7;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;12340:58:7;;;;2665:1;12101:304:::0;;;;:::o;1498:90::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;721:29::-;;;;:::o;5558:75::-;2643:12;:10;:12::i;:::-;5618:8:::1;:6;:8::i;:::-;5558:75::o:0;1215:62::-;;;;;;;;;;;;-1:-1:-1;;;;;1215:62:7;;:::o;9906:234::-;3017:41;2572:33;;;;;;3017:41;3009:83;;;;-1:-1:-1;;;3009:83:7;;;;;;;;;10090:43:::1;::::0;-1:-1:-1;;;10090:43:7;;10065:14;;-1:-1:-1;;;;;10090:19:7;::::1;::::0;::::1;::::0;:43:::1;::::0;10110:12;;10124:8;;10090:43:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;10090:43:7;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;10090:43:7;;;;3102:1;9906:234:::0;;;:::o;3509:136:1:-;3582:7;3608:12;;;:6;:12;;;;;:30;;3632:5;3608:30;:23;:30;:::i;:::-;3601:37;3509:136;-1:-1:-1;;;3509:136:1:o;2494:137::-;2563:4;2586:12;;;:6;:12;;;;;:38;;2616:7;2586:38;:29;:38;:::i;2379:64:7:-;2418:25;;;;;;;;;;;;;;2379:64;:::o;756:30::-;;;;:::o;7293:290::-;2643:12;:10;:12::i;:::-;7382:37:::1;2418:25;;;;;;;;;;;;;;7404:14;7382:7;:37::i;:::-;7374:81;;;;-1:-1:-1::0;;;7374:81:7::1;;;;;;;;;7465:40;2418:25;;;;;;;;;;;;;;7490:14;7465:10;:40::i;:::-;7520:30;::::0;-1:-1:-1;;;;;7520:30:7;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;7560:14:7::1;:16:::0;;-1:-1:-1;;7560:16:7;;;7293:290::o;1684:49:1:-;1729:4;1684:49;:::o;1635:38:7:-;;;;;;;;;;;;;:::o;10723:258::-;10827:15;;:::i;:::-;10875:25;10904:21;;;10899:1;10875:25;;;;;10874:51;;;;10942:22;;;10854:17;10942:22;;;;;;;;;;;:32;;;;;;;;;10935:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10942:32;;10935:39;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10935:39:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10935:39:7;;;;;;;;;;;;;;;;-1:-1:-1;;;10935:39:7;;;-1:-1:-1;;10935:39:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10723:258;;;;;:::o;17050:311::-;2643:12;:10;:12::i;:::-;17194:6:::1;17189:166;17206:16:::0;;::::1;17189:166;;;17243:12;17265:10;;17276:1;17265:13;;;;;;;;;;;;;;;;;;;;;;17243:36;;17293:51;17316:5;17323;;17329:1;17323:8;;;;;;;;;;;;;;;;;;;;;;17333:7;;17341:1;17333:10;;;;;;;;;;;;;17293:22;:51::i;:::-;-1:-1:-1::0;17224:3:7::1;;17189:166;;654:23:::0;;;;;;:::o;14298:2145::-;2798:15;:13;:15::i;:::-;1186:16:13::1;:14;:16::i;:::-;14443:15:7::2;14461:39:::0;;;:27:::2;:39;::::0;;;;;;;;14539:31;;-1:-1:-1;;;;;14461:39:7;;::::2;::::0;14443:15;14539:31:::2;::::0;14461:39;;14565:4;;;;14539:31:::2;;;;;::::0;;-1:-1:-1;;26:21;;::::2;22:32:::0;6:49;;14539:31:7;;;14529:42;;49:4:-1::2;14529:42:7::0;;::::2;::::0;14603:25;14627:1:::2;14603:25:::0;;;;;;;14632:15:::2;::::0;::::2;14602:45;14603:25;14685:22:::0;::::2;14582:17;14685:22:::0;;;;;;;;;:32;;;;;;;;14736:39;;;:27:::2;:39:::0;;;;;;;14529:42;;-1:-1:-1;14602:45:7;;14685:32;-1:-1:-1;;;;;14736:39:7::2;14728:91;;;;-1:-1:-1::0;;;14728:91:7::2;;;;;;;;;14842:16;::::0;::::2;::::0;14863:1:::2;::::0;14842:16:::2;;14837:22;::::0;::::2;;;;;;:27;;14829:65;;;;-1:-1:-1::0;;;14829:65:7::2;;;;;;;;;14913:31;::::0;::::2;;::::0;;;:19:::2;:31;::::0;;;;;;;:41;;;;;;;;14955:10:::2;14913:53:::0;;;;;;;;::::2;;14912:54;14904:88;;;;-1:-1:-1::0;;;14904:88:7::2;;;;;;;;;15012:16;::::0;::::2;::::0;::::2;;15007:22;::::0;::::2;;;;;;15003:708;;15052:15;15050:17:::0;;::::2;::::0;;::::2;::::0;;;15116:295:::2;::::0;;::::2;::::0;::::2;::::0;;;;;::::2;::::0;::::2;::::0;;;15235:16;;;;;;;::::2;::::0;;15116:295;;;;;;15235:16:::2;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;-1:-1:::0;;;15116:295:7;;15280:16:::2;::::0;;15294:1:::2;15280:16:::0;;;15116:295:::2;15280:16:::0;;::::2;::::0;;15116:295;;::::2;::::0;;;;15324:21:::2;15116:295:::0;;;;;;15380:12:::2;15116:295:::0;;;;;;;;15081:22:::2;::::0;::::2;::::0;;:10:::2;:22:::0;;;;;:32;;;;;;;;:330;;;;;;::::2;::::0;;;::::2;::::0;;;;;;::::2;::::0;;;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;:::i;:::-;-1:-1:-1::0;15081:330:7::2;::::0;::::2;::::0;;;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;;::::2;::::0;::::2;:::i;:::-;-1:-1:-1::0;15081:330:7::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;;-1:-1:-1;;15081:330:7::2;::::0;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;15450:10;15426:8;:18;;15445:1;15426:21;;;;;;;;;::::0;;;::::2;::::0;;;::::2;:34:::0;;-1:-1:-1;;;;;;15426:34:7::2;-1:-1:-1::0;;;;;15426:34:7;;;::::2;::::0;;;::::2;::::0;;-1:-1:-1;15502:12:7::2;-1:-1:-1::0;;;;;15479:81:7::2;15493:7;15479:81;;;15539:10;15551:8;15479:81;;;;;;;;;;;;;;;;15003:708;;;15611:8;:18;;;15599:8;:30;15591:60;;;;-1:-1:-1::0;;;15591:60:7::2;;;;;;;;;15665:18;::::0;::::2;27:10:-1::0;;39:1:::2;23:18:::0;::::2;45:23:::0;;-1:-1;15665:35:7;;;::::2;::::0;;;::::2;::::0;;-1:-1:-1;;;;;;15665:35:7::2;15689:10;15665:35;::::0;;15003:708:::2;15729:31;::::0;::::2;;::::0;;;:19:::2;:31;::::0;;;;;;;:41;;;;;;;;15771:10:::2;15729:53:::0;;;;;;;:60;;-1:-1:-1;;15729:60:7::2;15785:4;15729:60;::::0;;15840:16:::2;::::0;::::2;::::0;15729:60:::2;15840:16;15804:65;::::0;::::2;;;;;;15826:12;-1:-1:-1::0;;;;;15804:65:7::2;15817:7;15804:65;;;15858:10;15804:65;;;;;;;;;;;;;;;15963:17;::::0;15934:18:::2;::::0;::::2;:25:::0;:46:::2;15930:507;;16016:8;:18;;;16004:8;:30;15996:70;;;;-1:-1:-1::0;;;15996:70:7::2;;;;;;;;;16081:16;::::0;;::::2;:42:::0;;-1:-1:-1;;16081:42:7::2;16100:23;16081:42;::::0;;16215:20;;-1:-1:-1;16187:49:7;;;:27:::2;:49;::::0;;;;;;;16252:58;;-1:-1:-1;;;16252:58:7;;-1:-1:-1;;;;;16187:49:7;;::::2;::::0;;;16252:30:::2;::::0;:58:::2;::::0;16305:4;;;;16252:58:::2;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;16252:58:7;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;;;;16367:16:7::2;::::0;::::2;::::0;::::2;;16330:96;::::0;::::2;;;;;;16353:12;-1:-1:-1::0;;;;;16330:96:7::2;16344:7;16330:96;;;16385:8;:20;;;16407:8;:18;;;16330:96;;;;;;;;;;;;;;;;15930:507;1212:1:13;;;;14298:2145:7::0;;;;;:::o;2799:125:1:-;2862:7;2888:12;;;:6;:12;;;;;:29;;:27;:29::i;8124:307:7:-;3017:41;2572:33;;;;;;3017:41;3009:83;;;;-1:-1:-1;;;3009:83:7;;;;;;;;;8254:39:::1;::::0;;;:27:::1;:39;::::0;;;;;;:56;;-1:-1:-1;;;;;;8254:56:7::1;-1:-1:-1::0;;;;;8254:56:7;::::1;::::0;;::::1;::::0;;;8379:45;;-1:-1:-1;;;8379:45:7;;8254:56;;;8379:19:::1;::::0;:45:::1;::::0;8254:39;;8411:12;;8379:45:::1;;;;6703:284:::0;2643:12;:10;:12::i;:::-;6790:37:::1;2418:25;;;;;;6790:37;6789:38;6781:81;;;;-1:-1:-1::0;;;6781:81:7::1;;;;;;;;;6872:39;2418:25;;;;;;;;;;;;;;6896:14;6872:9;:39::i;:::-;6926:28;::::0;-1:-1:-1;;;;;6926:28:7;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;6964:14:7::1;:16:::0;;::::1;;::::0;;6703:284::o;4645:226:1:-;4737:12;;;;:6;:12;;;;;:22;;;4729:45;;4761:12;:10;:12::i;4729:45::-;4721:106;;;;-1:-1:-1;;;4721:106:1;;;;;;;;683:32:7;;;;:::o;8979:468::-;3017:41;2572:33;;;;;;3017:41;3009:83;;;;-1:-1:-1;;;3009:83:7;;;;;;;;;9219:39:::1;::::0;;;:27:::1;:39;::::0;;;;;;:56;;-1:-1:-1;;;;;;9219:56:7::1;-1:-1:-1::0;;;;;9219:56:7;::::1;::::0;;::::1;::::0;;;9352:88;;-1:-1:-1;;;9352:88:7;;9219:56;;;9352:19:::1;::::0;:88:::1;::::0;9219:39;;9384:15;;9401:18;;9421;;9352:88:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;9352:88:7;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;9352:88:7;;;;3102:1;8979:468:::0;;;;;:::o;2449:70::-;2491:28;;;;;;2525:80;2572:33;;;;;;5823:79;2643:12;:10;:12::i;:::-;5885:10:::1;:8;:10::i;735:104:0:-:0;822:10;735:104;:::o;6449:184:1:-;6522:12;;;;:6;:12;;;;;:33;;6547:7;6522:33;:24;:33;:::i;:::-;6518:109;;;6603:12;:10;:12::i;:::-;-1:-1:-1;;;;;6576:40:1;6594:7;-1:-1:-1;;;;;6576:40:1;6588:4;6576:40;;;;;;;;;;6449:184;;:::o;6639:188::-;6713:12;;;;:6;:12;;;;;:36;;6741:7;6713:36;:27;:36;:::i;:::-;6709:112;;;6797:12;:10;:12::i;:::-;-1:-1:-1;;;;;6770:40:1;6788:7;-1:-1:-1;;;;;6770:40:1;6782:4;6770:40;;;;;;;;;;6639:188;;:::o;3314:134:7:-;3367:39;1729:4:1;3395:10:7;3367:7;:39::i;:::-;3359:82;;;;-1:-1:-1;;;3359:82:7;;;;;;;;1226:93:13;1284:7;;;;1283:8;1275:37;;;;-1:-1:-1;;;1275:37:13;;;;;;;;1802:113;1186:16;:14;:16::i;:::-;1861:7:::1;:14:::0;;-1:-1:-1;;1861:14:13::1;1871:4;1861:14;::::0;;1890:18:::1;::::0;::::1;::::0;::::1;::::0;1897:10:::1;::::0;1890:18:::1;;;;;;;;;;1802:113::o:0;6052:147:6:-;6126:7;6168:22;6172:3;6184:5;6168:3;:22::i;5368:156::-;5448:4;5471:46;5481:3;-1:-1:-1;;;;;5501:14:6;;5471:9;:46::i;662:175:4:-;744:86;764:5;794:23;;;819:2;823:5;771:58;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;771:58:4;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;771:58:4;;;179:29:-1;;;;160:49;;;744:19:4;:86::i;:::-;662:175;;;:::o;3454:133:7:-;3510:33;2418:25;;;;;;3510:33;3502:78;;;;-1:-1:-1;;;3502:78:7;;;;;;;;5605:115:6;5668:7;5694:19;5702:3;5694:7;:19::i;2047:115:13:-;1537:13;:11;:13::i;:::-;2115:5:::1;2105:15:::0;;-1:-1:-1;;2105:15:13::1;::::0;;2135:20:::1;::::0;::::1;::::0;::::1;::::0;2144:10:::1;::::0;2135:20:::1;;4831:141:6::0;4901:4;4924:41;4929:3;-1:-1:-1;;;;;4949:14:6;;4924:4;:41::i;5140:147::-;5213:4;5236:44;5244:3;-1:-1:-1;;;;;5264:14:6;;5236:7;:44::i;4390:201::-;4484:18;;4457:7;;4484:26;-1:-1:-1;4476:73:6;;;;-1:-1:-1;;;4476:73:6;;;;;;;;;4566:3;:11;;4578:5;4566:18;;;;;;;;;;;;;;;;4559:25;;4390:201;;;;:::o;3743:127::-;3816:4;3839:19;;;:12;;;;;:19;;;;;;:24;;;3743:127::o;2671:1096:4:-;3267:27;3275:5;-1:-1:-1;;;;;3267:25:4;;:27::i;:::-;3259:71;;;;-1:-1:-1;;;3259:71:4;;;;;;;;;3401:12;3415:23;3450:5;-1:-1:-1;;;;;3442:19:4;3462:4;3442:25;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;3400:67:4;;;;3485:7;3477:52;;;;-1:-1:-1;;;3477:52:4;;;;;;;;;3544:17;;:21;3540:221;;3684:10;3673:30;;;;;;;;;;;;;;3665:85;;;;-1:-1:-1;;;3665:85:4;;;;;;;;;2671:1096;;;;:::o;3951:107:6:-;4033:18;;3951:107::o;1574:93:13:-;1628:7;;;;1620:40;;;;-1:-1:-1;;;1620:40:13;;;;;;;;1578:404:6;1641:4;1662:21;1672:3;1677:5;1662:9;:21::i;:::-;1657:319;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;1699:11:6;:23;;;;;;;;;;;;;1879:18;;1857:19;;;:12;;;:19;;;;;;:40;;;;1911:11;;1657:319;-1:-1:-1;1960:5:6;1953:12;;2150:1512;2216:4;2353:19;;;:12;;;:19;;;;;;2387:15;;2383:1273;;2816:18;;-1:-1:-1;;2768:14:6;;;;2816:22;;;;2744:21;;2816:3;;:22;;3098;;;;;;;;;;;;;;3078:42;;3241:9;3212:3;:11;;3224:13;3212:26;;;;;;;;;;;;;;;;;;;:38;;;;3316:23;;;3358:1;3316:12;;;:23;;;;;;3342:17;;;3316:43;;3465:17;;3316:3;;3465:17;;;;;;;;;;;;;;;;;;;;;;3557:3;:12;;:19;3570:5;3557:19;;;;;;;;;;;3550:26;;;3598:4;3591:11;;;;;;;;2383:1273;3640:5;3633:12;;;;;685:610:5;745:4;1206:20;;1051:66;1245:23;;;;;;:42;;-1:-1:-1;1272:15:5;;;1245:42;1237:51;685:610;-1:-1:-1;;;;685:610:5:o;587:16776:7:-;;;;;;;;;-1:-1:-1;587:16776:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;587:16776:7;-1:-1:-1;;;;;587:16776:7;;;;;;;;;;;-1:-1:-1;587:16776:7;;;;;;;-1:-1:-1;587:16776:7;;;-1:-1:-1;587:16776:7;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;;587:16776:7;;;;;;;313:352:-1;;;443:3;436:4;428:6;424:17;420:27;410:2;;-1:-1;;451:12;410:2;-1:-1;481:20;;-1:-1;;;;;510:30;;507:2;;;-1:-1;;543:12;507:2;587:4;579:6;575:17;563:29;;638:3;587:4;;622:6;618:17;579:6;604:32;;601:41;598:2;;;655:1;;645:12;598:2;403:262;;;;;;1997:336;;;2111:3;2104:4;2096:6;2092:17;2088:27;2078:2;;-1:-1;;2119:12;2078:2;-1:-1;2149:20;;-1:-1;;;;;2178:30;;2175:2;;;-1:-1;;2211:12;2175:2;2255:4;2247:6;2243:17;2231:29;;2306:3;2255:4;2286:17;2247:6;2272:32;;2269:41;2266:2;;;2323:1;;2313:12;2748:126;2813:20;;46565:4;46554:16;;49118:33;;49108:2;;49165:1;;49155:12;2881:241;;2985:2;2973:9;2964:7;2960:23;2956:32;2953:2;;;-1:-1;;2991:12;2953:2;85:6;72:20;97:33;124:5;97:33;;3393:366;;;3514:2;3502:9;3493:7;3489:23;3485:32;3482:2;;;-1:-1;;3520:12;3482:2;85:6;72:20;97:33;124:5;97:33;;;3572:63;-1:-1;3672:2;3711:22;;72:20;97:33;72:20;97:33;;;3680:63;;;;3476:283;;;;;;3766:617;;;;;3921:3;3909:9;3900:7;3896:23;3892:33;3889:2;;;-1:-1;;3928:12;3889:2;85:6;72:20;97:33;124:5;97:33;;;3980:63;-1:-1;4080:2;4119:22;;72:20;97:33;72:20;97:33;;;4088:63;-1:-1;4188:2;4227:22;;72:20;97:33;72:20;97:33;;;3883:500;;;;-1:-1;4196:63;;4296:2;4335:22;2408:20;;-1:-1;;3883:500;4390:485;;;;4525:2;4513:9;4504:7;4500:23;4496:32;4493:2;;;-1:-1;;4531:12;4493:2;85:6;72:20;97:33;124:5;97:33;;;4583:63;-1:-1;4683:2;4722:22;;72:20;97:33;72:20;97:33;;;4691:63;-1:-1;4791:2;4827:22;;1509:20;1534:30;1509:20;1534:30;;;4799:60;;;;4487:388;;;;;;4882:491;;;;5020:2;5008:9;4999:7;4995:23;4991:32;4988:2;;;-1:-1;;5026:12;4988:2;85:6;72:20;97:33;124:5;97:33;;;5078:63;-1:-1;5178:2;5217:22;;1778:20;;-1:-1;5286:2;5325:22;;72:20;97:33;72:20;97:33;;5380:739;;;;;;5550:3;5538:9;5529:7;5525:23;5521:33;5518:2;;;-1:-1;;5557:12;5518:2;85:6;72:20;97:33;124:5;97:33;;;5609:63;-1:-1;5709:2;5748:22;;1778:20;;-1:-1;5817:2;5856:22;;72:20;97:33;72:20;97:33;;;5825:63;-1:-1;5925:2;5963:22;;1914:20;1939:32;1914:20;1939:32;;;5933:62;-1:-1;6032:3;6071:22;;1914:20;1939:32;1914:20;1939:32;;;6041:62;;;;5512:607;;;;;;;;;6126:366;;;6247:2;6235:9;6226:7;6222:23;6218:32;6215:2;;;-1:-1;;6253:12;6215:2;85:6;72:20;97:33;124:5;97:33;;;6305:63;6405:2;6444:22;;;;2408:20;;-1:-1;;;6209:283;6499:959;;;;;;;6742:2;6730:9;6721:7;6717:23;6713:32;6710:2;;;-1:-1;;6748:12;6710:2;6806:17;6793:31;-1:-1;;;;;6844:18;6836:6;6833:30;6830:2;;;-1:-1;;6866:12;6830:2;6904:80;6976:7;6967:6;6956:9;6952:22;6904:80;;;6894:90;;-1:-1;6894:90;-1:-1;7049:2;7034:18;;7021:32;;-1:-1;7062:30;;;7059:2;;;-1:-1;;7095:12;7059:2;7133:80;7205:7;7196:6;7185:9;7181:22;7133:80;;;7123:90;;-1:-1;7123:90;-1:-1;7278:2;7263:18;;7250:32;;-1:-1;7291:30;;;7288:2;;;-1:-1;;7324:12;7288:2;;7362:80;7434:7;7425:6;7414:9;7410:22;7362:80;;;6704:754;;;;-1:-1;6704:754;;-1:-1;6704:754;;7352:90;;6704:754;-1:-1;;;6704:754;7465:694;;;;;7664:2;7652:9;7643:7;7639:23;7635:32;7632:2;;;-1:-1;;7670:12;7632:2;7728:17;7715:31;-1:-1;;;;;7766:18;7758:6;7755:30;7752:2;;;-1:-1;;7788:12;7752:2;7826:88;7906:7;7897:6;7886:9;7882:22;7826:88;;;7816:98;;-1:-1;7816:98;-1:-1;7979:2;7964:18;;7951:32;;-1:-1;7992:30;;;7989:2;;;-1:-1;;8025:12;7989:2;;8063:80;8135:7;8126:6;8115:9;8111:22;8063:80;;;7626:533;;;;-1:-1;8053:90;-1:-1;;;;7626:533;8166:257;;8278:2;8266:9;8257:7;8253:23;8249:32;8246:2;;;-1:-1;;8284:12;8246:2;1657:6;1651:13;1669:30;1693:5;1669:30;;8430:241;;8534:2;8522:9;8513:7;8509:23;8505:32;8502:2;;;-1:-1;;8540:12;8502:2;-1:-1;1778:20;;8496:175;-1:-1;8496:175;8678:366;;;8799:2;8787:9;8778:7;8774:23;8770:32;8767:2;;;-1:-1;;8805:12;8767:2;1791:6;1778:20;8857:63;;8957:2;9000:9;8996:22;72:20;97:33;124:5;97:33;;9051:366;;;9172:2;9160:9;9151:7;9147:23;9143:32;9140:2;;;-1:-1;;9178:12;9140:2;-1:-1;;1778:20;;;9330:2;9369:22;;;2408:20;;-1:-1;9134:283;9672:364;;;9792:2;9780:9;9771:7;9767:23;9763:32;9760:2;;;-1:-1;;9798:12;9760:2;2692:6;2679:20;2704:32;2730:5;2704:32;;10043:489;;;;10180:2;10168:9;10159:7;10155:23;10151:32;10148:2;;;-1:-1;;10186:12;10148:2;2692:6;2679:20;2704:32;2730:5;2704:32;;10539:237;;10641:2;10629:9;10620:7;10616:23;10612:32;10609:2;;;-1:-1;;10647:12;10609:2;10709:51;10752:7;10728:22;10709:51;;10783:861;;;;;;;10974:3;10962:9;10953:7;10949:23;10945:33;10942:2;;;-1:-1;;10981:12;10942:2;11043:51;11086:7;11062:22;11043:51;;;11033:61;;11131:2;11174:9;11170:22;1778:20;11139:63;;11267:2;11256:9;11252:18;11239:32;-1:-1;;;;;11291:18;11283:6;11280:30;11277:2;;;-1:-1;;11313:12;11277:2;11351:64;11407:7;11398:6;11387:9;11383:22;11351:64;;;11341:74;;-1:-1;11341:74;-1:-1;11480:2;11465:18;;11452:32;;-1:-1;11493:30;;;11490:2;;;-1:-1;;11526:12;11490:2;;11564:64;11620:7;11611:6;11600:9;11596:22;11564:64;;11651:362;;;11770:2;11758:9;11749:7;11745:23;11741:32;11738:2;;;-1:-1;;11776:12;11738:2;11838:51;11881:7;11857:22;11838:51;;12020:485;;;;12155:2;12143:9;12134:7;12130:23;12126:32;12123:2;;;-1:-1;;12161:12;12123:2;12223:51;12266:7;12242:22;12223:51;;;12213:61;;12311:2;12353:9;12349:22;2544:20;-1:-1;;;;;48902:5;46347:30;48878:5;48875:34;48865:2;;-1:-1;;48913:12;48865:2;12117:388;;12319:62;;-1:-1;;;12418:2;12457:22;;;;1778:20;;12117:388;12512:735;;;;;;12683:3;12671:9;12662:7;12658:23;12654:33;12651:2;;;-1:-1;;12690:12;12651:2;2826:6;2813:20;46565:4;49144:5;46554:16;49121:5;49118:33;49108:2;;-1:-1;;49155:12;49108:2;12742:61;-1:-1;12840:2;12878:22;;2544:20;-1:-1;;;;;46347:30;;;48875:34;;48865:2;;-1:-1;;48913:12;48865:2;12848:62;;-1:-1;12947:2;12986:22;;1778:20;;-1:-1;13083:2;13068:18;;13055:32;;13096:30;;;13093:2;;;-1:-1;;13129:12;13093:2;;13167:64;13223:7;13214:6;13203:9;13199:22;13167:64;;;12645:602;;;;-1:-1;12645:602;;-1:-1;13157:74;;;12645:602;-1:-1;;;12645:602;14005:654;;14180:5;44295:12;44696:6;44691:3;44684:19;44733:4;;44728:3;44724:14;14192:83;;44733:4;14342:5;44153:14;-1:-1;14381:256;14406:6;14403:1;14400:13;14381:256;;;14467:13;;-1:-1;;;;;46141:54;13646:37;;13408:14;;;;44549;;;;521:18;14421:9;14381:256;;;-1:-1;14643:10;;14115:544;-1:-1;;;;;14115:544;15148:297;;44696:6;44691:3;44684:19;47194:6;47189:3;44733:4;44728:3;44724:14;47171:30;-1:-1;44733:4;47241:6;44728:3;47232:16;;47225:27;44733:4;47825:7;;47829:2;15431:6;47809:14;47805:28;44728:3;15400:39;;15393:46;;15248:197;;;;;;27099:421;;47916:14;;46145:5;47920:2;47916:14;;13911:3;13904:58;47194:6;47189:3;27371:2;27366:3;27362:12;47171:30;47232:16;;27371:2;47232:16;47225:27;;;47232:16;27262:258;-1:-1;;27262:258;27527:262;;15954:5;44295:12;-1:-1;47339:101;47353:6;47350:1;47347:13;47339:101;;;16098:4;47420:11;;;;;47414:18;47401:11;;;47394:39;47368:10;47339:101;;;47455:6;47452:1;47449:13;47446:2;;;-1:-1;47511:6;47506:3;47502:16;47495:27;47446:2;-1:-1;16129:16;;;;;27652:137;-1:-1;;27652:137;27796:372;-1:-1;;;19197:43;;19181:2;19259:12;;27976:192;28175:372;-1:-1;;;23041:35;;23025:2;23095:12;;28355:192;28554:372;-1:-1;;;23724:38;;23708:2;23781:12;;28734:192;28933:213;-1:-1;;;;;46141:54;;;;13646:37;;29051:2;29036:18;;29022:124;29389:435;-1:-1;;;;;46141:54;;;13646:37;;46141:54;;;;29727:2;29712:18;;13646:37;29810:2;29795:18;;14839:37;;;;29563:2;29548:18;;29534:290;29831:312;-1:-1;;;;;46141:54;;;;13646:37;;45672:13;45665:21;30129:2;30114:18;;14732:34;29971:2;29956:18;;29942:201;30150:324;-1:-1;;;;;46141:54;;;;13646:37;;30460:2;30445:18;;14839:37;30296:2;30281:18;;30267:207;30481:201;45672:13;;45665:21;14732:34;;30593:2;30578:18;;30564:118;30689:213;14839:37;;;30807:2;30792:18;;30778:124;30909:324;14839:37;;;-1:-1;;;;;46141:54;31219:2;31204:18;;13646:37;31055:2;31040:18;;31026:207;31240:539;14839:37;;;-1:-1;;;;;46141:54;;;;31603:2;31588:18;;13646:37;-1:-1;;;;;;45838:78;;;31684:2;31669:18;;15077:36;45838:78;31765:2;31750:18;;15077:36;31438:3;31423:19;;31409:370;31786:324;14839:37;;;32096:2;32081:18;;14839:37;31932:2;31917:18;;31903:207;32117:581;14839:37;;;32501:2;32486:18;;14839:37;;;32336:3;32321:19;;46814:43;16295:5;46814:43;;;32601:2;32590:9;32586:18;16235:67;14869:5;32684:2;32673:9;32669:18;14839:37;32307:391;;;;;;;;32705:428;;14869:5;14846:3;14839:37;32879:2;32997;32986:9;32982:18;32975:48;33037:86;32879:2;32868:9;32864:18;33109:6;33101;33037:86;;;33029:94;32850:283;-1:-1;;;;;32850:283;33140:767;14839:37;;;46565:4;46554:16;;33561:2;33546:18;;27052:35;-1:-1;;;;;46347:30;;33642:2;33627:18;;26937:36;-1:-1;;;;;46141:54;;33733:2;33718:18;;13515:58;46152:42;33770:3;33755:19;;33748:49;;;33140:767;;33811:86;;33385:19;;33883:6;33875;33811:86;;;33803:94;33371:536;-1:-1;;;;;;;;33371:536;33914:407;34105:2;34119:47;;;16706:2;34090:18;;;44684:19;16742:34;44724:14;;;16722:55;-1:-1;;;16797:12;;;16790:26;16835:12;;;34076:245;34328:407;34519:2;34533:47;;;17086:2;34504:18;;;44684:19;17122:34;44724:14;;;17102:55;-1:-1;;;17177:12;;;17170:39;17228:12;;;34490:245;34742:407;34933:2;34947:47;;;17479:2;34918:18;;;44684:19;-1:-1;;;44724:14;;;17495:44;17558:12;;;34904:245;35156:407;35347:2;35361:47;;;17809:2;35332:18;;;44684:19;-1:-1;;;44724:14;;;17825:43;17887:12;;;35318:245;35570:407;35761:2;35775:47;;;18138:2;35746:18;;;44684:19;18174:33;44724:14;;;18154:54;18227:12;;;35732:245;35984:407;36175:2;36189:47;;;18478:2;36160:18;;;44684:19;-1:-1;;;44724:14;;;18494:45;18558:12;;;36146:245;36398:407;36589:2;36603:47;;;18809:2;36574:18;;;44684:19;18845:29;44724:14;;;18825:50;18894:12;;;36560:245;36812:407;37003:2;37017:47;;;36988:18;;;44684:19;19546:34;44724:14;;;19526:55;19600:12;;;36974:245;37226:407;37417:2;37431:47;;;37402:18;;;44684:19;19887:34;44724:14;;;19867:55;19941:12;;;37388:245;37640:407;37831:2;37845:47;;;20192:2;37816:18;;;44684:19;20228:31;44724:14;;;20208:52;20279:12;;;37802:245;38054:407;38245:2;38259:47;;;20530:2;38230:18;;;44684:19;20566:34;44724:14;;;20546:55;-1:-1;;;20621:12;;;20614:40;20673:12;;;38216:245;38468:407;38659:2;38673:47;;;20924:2;38644:18;;;44684:19;-1:-1;;;44724:14;;;20940:39;20998:12;;;38630:245;38882:407;39073:2;39087:47;;;21249:2;39058:18;;;44684:19;21285:32;44724:14;;;21265:53;21337:12;;;39044:245;39296:407;39487:2;39501:47;;;21588:2;39472:18;;;44684:19;21624:26;44724:14;;;21604:47;21670:12;;;39458:245;39710:407;39901:2;39915:47;;;39886:18;;;44684:19;21957:34;44724:14;;;21937:55;22011:12;;;39872:245;40124:407;40315:2;40329:47;;;22262:2;40300:18;;;44684:19;22298:32;44724:14;;;22278:53;22350:12;;;40286:245;40538:407;40729:2;40743:47;;;22601:2;40714:18;;;44684:19;22637:34;44724:14;;;22617:55;-1:-1;;;22692:12;;;22685:34;22738:12;;;40700:245;40952:407;41143:2;41157:47;;;23346:2;41128:18;;;44684:19;-1:-1;;;44724:14;;;23362:40;23421:12;;;41114:245;41366:407;41557:2;41571:47;;;24032:2;41542:18;;;44684:19;24068:27;44724:14;;;24048:48;24115:12;;;41528:245;41780:407;41971:2;41985:47;;;24366:2;41956:18;;;44684:19;24402:33;44724:14;;;24382:54;24455:12;;;41942:245;42194:407;42385:2;42399:47;;;24706:2;42370:18;;;44684:19;24742:34;44724:14;;;24722:55;-1:-1;;;24797:12;;;24790:39;24848:12;;;42356:245;42608:407;42799:2;42813:47;;;25099:2;42784:18;;;44684:19;25135:27;44724:14;;;25115:48;25182:12;;;42770:245;43022:365;;43192:2;43213:17;43206:47;25495:16;25489:23;43192:2;43181:9;43177:18;14839:37;43192:2;25658:5;25654:16;25648:23;25725:14;43181:9;25725:14;14839:37;25725:14;25817:5;25813:16;25807:23;25416:4;25850:14;43181:9;25850:14;25843:38;25896:99;25407:14;43181:9;25407:14;25976:12;25896:99;;;25850:14;26073:16;;26067:23;26126:14;;;-1:-1;;26126:14;26110;;;26103:38;26067:23;-1:-1;26156:99;26130:4;26067:23;26156:99;;;46814:43;26110:14;26336:5;26332:16;26326:23;46814:43;;;26420:14;43181:9;26420:14;16235:67;26420:14;26517:5;26513:16;26507:23;25416:4;43181:9;26584:14;14839:37;43259:118;;;;;;43163:224;;;;;43614:209;-1:-1;;;;;46347:30;;;;26937:36;;43730:2;43715:18;;43701:122;43830:205;46565:4;46554:16;;;;27052:35;;43944:2;43929:18;;43915:120;45928:144;45998:16;48036:1;48026:12;;48016:2;;48042:9;48065:117;-1:-1;;;;;46141:54;;48124:35;;48114:2;;48173:1;;48163:12;48329:111;48410:5;45672:13;45665:21;48388:5;48385:32;48375:2;;48431:1;;48421:12;48571:115;-1:-1;;;;;;45838:78;;48629:34;;48619:2;;48677:1;;48667:12;48939:115;46461:20;49024:5;46450:32;49000:5;48997:34;48987:2;;49045:1;;49035:12
Swarm Source
ipfs://edd75a01a693e447717c852b461b1abb745eb8c819242abc580ec5c6300a80e0
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 29 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,624.89 | 0.1173 | $425.09 |
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.