Source Code
Overview
ETH Balance
0 ETH
Token Holdings
More Info
ContractCreator
Multichain Info
N/A
Latest 25 from a total of 100,500 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit To Bridg... | 6481194 | 223 days ago | IN | 0 ETH | 0.00077328 | ||||
Deposit To Bridg... | 6475005 | 224 days ago | IN | 0 ETH | 0.00007899 | ||||
Deposit To Bridg... | 6474995 | 224 days ago | IN | 0 ETH | 0.00003341 | ||||
Deposit To Bridg... | 6474993 | 224 days ago | IN | 0 ETH | 0.0000363 | ||||
Withdraw From Br... | 6471749 | 224 days ago | IN | 0 ETH | 0.00464897 | ||||
Deposit To Bridg... | 6442789 | 229 days ago | IN | 0 ETH | 0.00279788 | ||||
Deposit To Bridg... | 6442025 | 229 days ago | IN | 0 ETH | 0.02175455 | ||||
Deposit To Bridg... | 6411573 | 234 days ago | IN | 0 ETH | 0.00077563 | ||||
Withdraw From Br... | 6409552 | 234 days ago | IN | 0 ETH | 0.00580738 | ||||
Deposit To Bridg... | 6327437 | 248 days ago | IN | 0 ETH | 0.00218356 | ||||
Deposit To Bridg... | 6327067 | 248 days ago | IN | 0 ETH | 0.00261373 | ||||
Deposit To Bridg... | 6286392 | 254 days ago | IN | 0 ETH | 0.00021103 | ||||
Deposit To Bridg... | 6286381 | 254 days ago | IN | 0 ETH | 0.00022817 | ||||
Withdraw From Br... | 6226921 | 264 days ago | IN | 0 ETH | 0.01429257 | ||||
Withdraw From Br... | 6199537 | 268 days ago | IN | 0 ETH | 0.01024303 | ||||
Withdraw From Br... | 6128089 | 278 days ago | IN | 0 ETH | 0.00092783 | ||||
Deposit To Bridg... | 6127877 | 278 days ago | IN | 0 ETH | 0.00059184 | ||||
Deposit To Bridg... | 6127855 | 278 days ago | IN | 0 ETH | 0.00068946 | ||||
Withdraw From Br... | 6127188 | 278 days ago | IN | 0 ETH | 0.00258564 | ||||
Deposit To Bridg... | 6121495 | 279 days ago | IN | 0 ETH | 0.00048266 | ||||
Withdraw From Br... | 6116302 | 279 days ago | IN | 0 ETH | 0.00012244 | ||||
Withdraw From Br... | 6116301 | 279 days ago | IN | 0 ETH | 0.00000004 | ||||
Withdraw From Br... | 6116215 | 279 days ago | IN | 0 ETH | 0.00000016 | ||||
Withdraw From Br... | 6116201 | 279 days ago | IN | 0 ETH | 0.00000016 | ||||
Withdraw From Br... | 6116113 | 279 days ago | IN | 0 ETH | 0.00000016 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Bridge
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-03-14 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/ReentrancyGuard.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: bsc-library/contracts/IBEP20.sol pragma solidity >=0.4.0; interface IBEP20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address _owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: bsc-library/contracts/SafeBEP20.sol pragma solidity ^0.6.0; /** * @title SafeBEP20 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeBEP20 { using SafeMath for uint256; using Address for address; function safeTransfer( IBEP20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IBEP20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IBEP20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IBEP20 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), "SafeBEP20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IBEP20 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( IBEP20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeBEP20: 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(IBEP20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeBEP20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed"); } } } pragma solidity 0.6.12; contract Bridge is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeBEP20 for IBEP20; uint256 public deposits; uint256 public tax = 20; // 0.2% uint256 public outterTax = 20; // 0.2% mapping(address => bool) public bridgeOperator; mapping(address => uint256) public minDeposit; mapping(address => bool) public allowedTokens; event Deposit(address user, uint256 amount, uint256 time, address token); event Withdraw(address user, uint256 amount, uint256 time, address token); constructor() public { bridgeOperator[msg.sender] = true; } struct TxInfo{ uint256 deposit; address depositor; address token; uint256 id; } uint256 public lastId = 0; uint256 public depositorsId = 0; mapping(uint256 => TxInfo) public depositMaps; mapping(uint256 => TxInfo) public withdrawMaps; mapping(address => uint256[]) public userDeposits; mapping(uint256 => bool) public safeId; function depositToBridge(uint256 _amount, IBEP20 token) public nonReentrant { require(allowedTokens[address(token)] == true, 'token not allowed to bridge'); require(_amount >= minDeposit[address(token)], 'bad rate'); uint256 taxesBridge = _amount.mul(tax).div(10000); token.safeTransferFrom(msg.sender, owner(), taxesBridge); token.safeTransferFrom(msg.sender, address(this), _amount.sub(taxesBridge)); deposits = deposits + _amount.sub(taxesBridge); depositMaps[lastId].deposit = _amount.sub(taxesBridge); depositMaps[lastId].depositor = msg.sender; depositMaps[lastId].token = address(token); depositMaps[lastId].id = lastId; userDeposits[msg.sender].push(lastId); lastId = lastId+1; emit Deposit(msg.sender, _amount.sub(taxesBridge), block.timestamp, address(token)); } function getAllUserDeposits(address _usr) public view returns (uint256[] memory) { return userDeposits[_usr]; } // no taxes applied at withdraw form bridge since they're applied at deposit function withdrawFromBridge(uint256 _amount, address user, IBEP20 token, bool status, uint256 id) public { require(bridgeOperator[msg.sender] == true, 'bad call'); require(safeId[id] == false && id == depositorsId, 'payout already processed or trying to skip a tx'); if(status == true){ token.safeTransfer(user, _amount); } withdrawMaps[lastId].deposit = _amount; withdrawMaps[lastId].depositor = user; withdrawMaps[lastId].depositor = address(token); withdrawMaps[lastId].id = depositorsId; safeId[id] = true; depositorsId = depositorsId+1; emit Withdraw(msg.sender, _amount, block.timestamp, address(token)); } // no taxes applied at withdraw form bridge since they're applied at deposit // we recommend max 100 tx per batch function withdrawFromBridgeMultiple(uint256[] memory _amount, address[] memory user, IBEP20[] memory token, bool[] memory status, uint256[] memory id) public { require(bridgeOperator[msg.sender] == true, 'bad call'); require(user.length == _amount.length && user.length == token.length, 'user amounts mismatch'); for(uint i=0; i<user.length; i++){ require(safeId[id[i]] == false, 'payout already processed or trying to skip a tx'); if(status[i] == true){ token[i].safeTransfer(user[i], _amount[i]); } withdrawMaps[lastId].deposit = _amount[i]; withdrawMaps[lastId].depositor = user[i]; withdrawMaps[lastId].token = address(token[i]); withdrawMaps[lastId].id = depositorsId; safeId[id[i]] = true; depositorsId = depositorsId+1; emit Withdraw(user[i], _amount[i], block.timestamp, address(token[i])); } } function setOperator(address _operator, bool _status) public onlyOwner { bridgeOperator[_operator] = _status; } function addToken(address _token, bool _status) public onlyOwner { allowedTokens[_token] = _status; } function changeMinDeposit(uint256 _value, address _token) public onlyOwner { minDeposit[_token] = _value; } function changeTax(uint256 _newTax, uint256 _newOuterTax) public onlyOwner { require(_newTax <= 500, 'too large'); // 5% tax bridge max require(outterTax <= 500, 'too large'); // 5% tax bridge max tax = _newTax; outterTax = _newOuterTax; } }
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"address","name":"token","type":"address"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"address","name":"token","type":"address"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"addToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bridgeOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"address","name":"_token","type":"address"}],"name":"changeMinDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTax","type":"uint256"},{"internalType":"uint256","name":"_newOuterTax","type":"uint256"}],"name":"changeTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"depositMaps","outputs":[{"internalType":"uint256","name":"deposit","type":"uint256"},{"internalType":"address","name":"depositor","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"contract IBEP20","name":"token","type":"address"}],"name":"depositToBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositorsId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_usr","type":"address"}],"name":"getAllUserDeposits","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"outterTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"safeId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"contract IBEP20","name":"token","type":"address"},{"internalType":"bool","name":"status","type":"bool"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"withdrawFromBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_amount","type":"uint256[]"},{"internalType":"address[]","name":"user","type":"address[]"},{"internalType":"contract IBEP20[]","name":"token","type":"address[]"},{"internalType":"bool[]","name":"status","type":"bool[]"},{"internalType":"uint256[]","name":"id","type":"uint256[]"}],"name":"withdrawFromBridgeMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawMaps","outputs":[{"internalType":"uint256","name":"deposit","type":"uint256"},{"internalType":"address","name":"depositor","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052601460035560146004556000600855600060095534801561002457600080fd5b50600061002f61009d565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001808055336000908152600560205260409020805460ff191690911790556100a1565b3390565b611a40806100b06000396000f3fe608060405234801561001057600080fd5b506004361061011d5760003560e01c806308f43333146101225780631e1149cb146101605780632516b3c1146101af5780632b5634e514610225578063323a5e0b1461022d5780633c29f839146102355780635197a89d1461025b578063558a72971461029557806362126789146102c5578063715018a6146102f15780638da5cb5b146102f95780639036ed4d1461031d57806399c8d55614610340578063a49a056814610348578063b3ccb30e14610374578063ba56387f1461037c578063c1292cc3146103c0578063d7d4f192146103c8578063e4f7627f146103e5578063e50205e714610402578063e744092e146106ab578063f2fde38b146106d1578063f6252c71146106f7575b600080fd5b61014e6004803603604081101561013857600080fd5b506001600160a01b038135169060200135610725565b60408051918252519081900360200190f35b61017d6004803603602081101561017657600080fd5b5035610753565b604080519485526001600160a01b03938416602086015291909216838201526060830191909152519081900360800190f35b6101d5600480360360208110156101c557600080fd5b50356001600160a01b0316610787565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102115781810151838201526020016101f9565b505050509050019250505060405180910390f35b61014e6107f3565b61014e6107f9565b61014e6004803603602081101561024b57600080fd5b50356001600160a01b03166107ff565b6102816004803603602081101561027157600080fd5b50356001600160a01b0316610811565b604080519115158252519081900360200190f35b6102c3600480360360408110156102ab57600080fd5b506001600160a01b0381351690602001351515610826565b005b6102c3600480360360408110156102db57600080fd5b50803590602001356001600160a01b03166108b3565b6102c3610b49565b610301610be3565b604080516001600160a01b039092168252519081900360200190f35b6102c36004803603604081101561033357600080fd5b5080359060200135610bf2565b61014e610ce7565b6102c36004803603604081101561035e57600080fd5b50803590602001356001600160a01b0316610ced565b61014e610d69565b6102c3600480360360a081101561039257600080fd5b508035906001600160a01b036020820135811691604081013590911690606081013515159060800135610d6f565b61014e610efa565b610281600480360360208110156103de57600080fd5b5035610f00565b61017d600480360360208110156103fb57600080fd5b5035610f15565b6102c3600480360360a081101561041857600080fd5b810190602081018135600160201b81111561043257600080fd5b82018360208201111561044457600080fd5b803590602001918460208302840111600160201b8311171561046557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156104b457600080fd5b8201836020820111156104c657600080fd5b803590602001918460208302840111600160201b831117156104e757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561053657600080fd5b82018360208201111561054857600080fd5b803590602001918460208302840111600160201b8311171561056957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156105b857600080fd5b8201836020820111156105ca57600080fd5b803590602001918460208302840111600160201b831117156105eb57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561063a57600080fd5b82018360208201111561064c57600080fd5b803590602001918460208302840111600160201b8311171561066d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610f49945050505050565b610281600480360360208110156106c157600080fd5b50356001600160a01b03166112a4565b6102c3600480360360208110156106e757600080fd5b50356001600160a01b03166112b9565b6102c36004803603604081101561070d57600080fd5b506001600160a01b03813516906020013515156113a9565b600c602052816000526040600020818154811061073e57fe5b90600052602060002001600091509150505481565b600b60205260009081526040902080546001820154600283015460039093015491926001600160a01b039182169291169084565b6001600160a01b0381166000908152600c60209081526040918290208054835181840281018401909452808452606093928301828280156107e757602002820191906000526020600020905b8154815260200190600101908083116107d3575b50505050509050919050565b60095481565b60025481565b60066020526000908152604090205481565b60056020526000908152604090205460ff1681565b61082e611436565b6001600160a01b031661083f610be3565b6001600160a01b031614610888576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b6002600154141561090b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260019081556001600160a01b03821660009081526007602052604090205460ff16151514610980576040805162461bcd60e51b815260206004820152601b60248201527a746f6b656e206e6f7420616c6c6f77656420746f2062726964676560281b604482015290519081900360640190fd5b6001600160a01b0381166000908152600660205260409020548210156109d8576040805162461bcd60e51b8152602060048201526008602482015267626164207261746560c01b604482015290519081900360640190fd5b60006109fb6127106109f56003548661143a90919063ffffffff16565b9061149c565b9050610a1b33610a09610be3565b6001600160a01b038516919084611500565b610a3c3330610a2a8685611560565b6001600160a01b038616929190611500565b610a468382611560565b60028054919091019055610a5a8382611560565b600880546000908152600a60209081526040808320949094558254825283822060019081018054336001600160a01b031991821681179092558554855286852060020180549091166001600160a01b038a161790558454808552868520600301819055818552600c8452958420805480840182559085529290932090910193909355815490920190557f02d7e648dd130fc184d383e55bb126ac4c9c60e8f94bf05acdf557ba2d540b4790610b0f8584611560565b604080516001600160a01b03938416815260208101929092524282820152918516606082015290519081900360800190a150506001805550565b610b51611436565b6001600160a01b0316610b62610be3565b6001600160a01b031614610bab576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116906000805160206119cb833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610bfa611436565b6001600160a01b0316610c0b610be3565b6001600160a01b031614610c54576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6101f4821115610c97576040805162461bcd60e51b8152602060048201526009602482015268746f6f206c6172676560b81b604482015290519081900360640190fd5b6101f46004541115610cdc576040805162461bcd60e51b8152602060048201526009602482015268746f6f206c6172676560b81b604482015290519081900360640190fd5b600391909155600455565b60035481565b610cf5611436565b6001600160a01b0316610d06610be3565b6001600160a01b031614610d4f576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6001600160a01b0316600090815260066020526040902055565b60045481565b3360009081526005602052604090205460ff161515600114610dc3576040805162461bcd60e51b81526020600482015260086024820152671898590818d85b1b60c21b604482015290519081900360640190fd5b6000818152600d602052604090205460ff16158015610de3575060095481145b610e1e5760405162461bcd60e51b815260040180806020018281038252602f8152602001806118e5602f913960400191505060405180910390fd5b60018215151415610e3d57610e3d6001600160a01b03841685876115bd565b600880546000908152600b6020908152604080832089905583548352808320600190810180546001600160a01b03808c166001600160a01b0319928316179092558654865283862083018054928b169290911682179055600980549654865283862060030196909655868552600d845293829020805460ff19168217905584540190935582513381529081018890524281840152606081019190915290516000805160206119eb8339815191529181900360800190a15050505050565b60085481565b600d6020526000908152604090205460ff1681565b600a60205260009081526040902080546001820154600283015460039093015491926001600160a01b039182169291169084565b3360009081526005602052604090205460ff161515600114610f9d576040805162461bcd60e51b81526020600482015260086024820152671898590818d85b1b60c21b604482015290519081900360640190fd5b84518451148015610faf575082518451145b610ff8576040805162461bcd60e51b81526020600482015260156024820152740eae6cae440c2dadeeadce8e640dad2e6dac2e8c6d605b1b604482015290519081900360640190fd5b60005b845181101561129c57600d600083838151811061101457fe5b60209081029190910181015182528101919091526040016000205460ff161561106e5760405162461bcd60e51b815260040180806020018281038252602f8152602001806118e5602f913960400191505060405180910390fd5b82818151811061107a57fe5b602002602001015115156001151514156110e5576110e585828151811061109d57fe5b60200260200101518783815181106110b157fe5b60200260200101518684815181106110c557fe5b60200260200101516001600160a01b03166115bd9092919063ffffffff16565b8581815181106110f157fe5b6020026020010151600b600060085481526020019081526020016000206000018190555084818151811061112157fe5b6020026020010151600b6000600854815260200190815260200160002060010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083818151811061117157fe5b602090810291909101810151600880546000908152600b909352604080842060020180546001600160a01b0319166001600160a01b039094169390931790925560095490548352908220600301558251600191600d918590859081106111d357fe5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055506009546001016009819055506000805160206119eb83398151915285828151811061122757fe5b602002602001015187838151811061123b57fe5b60200260200101514287858151811061125057fe5b602002602001015160405180856001600160a01b03168152602001848152602001838152602001826001600160a01b0316815260200194505050505060405180910390a1600101610ffb565b505050505050565b60076020526000908152604090205460ff1681565b6112c1611436565b6001600160a01b03166112d2610be3565b6001600160a01b03161461131b576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6001600160a01b0381166113605760405162461bcd60e51b815260040180806020018281038252602681526020018061193e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216916000805160206119cb83398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6113b1611436565b6001600160a01b03166113c2610be3565b6001600160a01b03161461140b576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b3390565b60008261144957506000611496565b8282028284828161145657fe5b04146114935760405162461bcd60e51b815260040180806020018281038252602181526020018061198a6021913960400191505060405180910390fd5b90505b92915050565b60008082116114ef576040805162461bcd60e51b815260206004820152601a602482015279536166654d6174683a206469766973696f6e206279207a65726f60301b604482015290519081900360640190fd5b8183816114f857fe5b049392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261155a908590611614565b50505050565b6000828211156115b7576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261160f908490611614565b505050565b6060611669826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116c59092919063ffffffff16565b80519091501561160f5780806020019051602081101561168857600080fd5b505161160f5760405162461bcd60e51b815260040180806020018281038252602a815260200180611914602a913960400191505060405180910390fd5b60606116d484846000856116de565b90505b9392505050565b60608247101561171f5760405162461bcd60e51b81526004018080602001828103825260268152602001806119646026913960400191505060405180910390fd5b6117288561183a565b611779576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106117b85780518252601f199092019160209182019101611799565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461181a576040519150601f19603f3d011682016040523d82523d6000602084013e61181f565b606091505b509150915061182f828286611840565b979650505050505050565b3b151590565b6060831561184f5750816116d7565b82511561185f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118a9578181015183820152602001611891565b50505050905090810190601f1680156118d65780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe7061796f757420616c72656164792070726f636573736564206f7220747279696e6720746f20736b697020612074785361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08166bf25f8a2b7ed3c85049207da4358d16edbed977d23fa2ee6f0dde3ec2132a2646970667358221220c815d5a8a706bcab14a99c0712a51ba7e5b5a0287a1706536fcd1a5a8fa1652564736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061011d5760003560e01c806308f43333146101225780631e1149cb146101605780632516b3c1146101af5780632b5634e514610225578063323a5e0b1461022d5780633c29f839146102355780635197a89d1461025b578063558a72971461029557806362126789146102c5578063715018a6146102f15780638da5cb5b146102f95780639036ed4d1461031d57806399c8d55614610340578063a49a056814610348578063b3ccb30e14610374578063ba56387f1461037c578063c1292cc3146103c0578063d7d4f192146103c8578063e4f7627f146103e5578063e50205e714610402578063e744092e146106ab578063f2fde38b146106d1578063f6252c71146106f7575b600080fd5b61014e6004803603604081101561013857600080fd5b506001600160a01b038135169060200135610725565b60408051918252519081900360200190f35b61017d6004803603602081101561017657600080fd5b5035610753565b604080519485526001600160a01b03938416602086015291909216838201526060830191909152519081900360800190f35b6101d5600480360360208110156101c557600080fd5b50356001600160a01b0316610787565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102115781810151838201526020016101f9565b505050509050019250505060405180910390f35b61014e6107f3565b61014e6107f9565b61014e6004803603602081101561024b57600080fd5b50356001600160a01b03166107ff565b6102816004803603602081101561027157600080fd5b50356001600160a01b0316610811565b604080519115158252519081900360200190f35b6102c3600480360360408110156102ab57600080fd5b506001600160a01b0381351690602001351515610826565b005b6102c3600480360360408110156102db57600080fd5b50803590602001356001600160a01b03166108b3565b6102c3610b49565b610301610be3565b604080516001600160a01b039092168252519081900360200190f35b6102c36004803603604081101561033357600080fd5b5080359060200135610bf2565b61014e610ce7565b6102c36004803603604081101561035e57600080fd5b50803590602001356001600160a01b0316610ced565b61014e610d69565b6102c3600480360360a081101561039257600080fd5b508035906001600160a01b036020820135811691604081013590911690606081013515159060800135610d6f565b61014e610efa565b610281600480360360208110156103de57600080fd5b5035610f00565b61017d600480360360208110156103fb57600080fd5b5035610f15565b6102c3600480360360a081101561041857600080fd5b810190602081018135600160201b81111561043257600080fd5b82018360208201111561044457600080fd5b803590602001918460208302840111600160201b8311171561046557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156104b457600080fd5b8201836020820111156104c657600080fd5b803590602001918460208302840111600160201b831117156104e757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561053657600080fd5b82018360208201111561054857600080fd5b803590602001918460208302840111600160201b8311171561056957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156105b857600080fd5b8201836020820111156105ca57600080fd5b803590602001918460208302840111600160201b831117156105eb57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561063a57600080fd5b82018360208201111561064c57600080fd5b803590602001918460208302840111600160201b8311171561066d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610f49945050505050565b610281600480360360208110156106c157600080fd5b50356001600160a01b03166112a4565b6102c3600480360360208110156106e757600080fd5b50356001600160a01b03166112b9565b6102c36004803603604081101561070d57600080fd5b506001600160a01b03813516906020013515156113a9565b600c602052816000526040600020818154811061073e57fe5b90600052602060002001600091509150505481565b600b60205260009081526040902080546001820154600283015460039093015491926001600160a01b039182169291169084565b6001600160a01b0381166000908152600c60209081526040918290208054835181840281018401909452808452606093928301828280156107e757602002820191906000526020600020905b8154815260200190600101908083116107d3575b50505050509050919050565b60095481565b60025481565b60066020526000908152604090205481565b60056020526000908152604090205460ff1681565b61082e611436565b6001600160a01b031661083f610be3565b6001600160a01b031614610888576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b6002600154141561090b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260019081556001600160a01b03821660009081526007602052604090205460ff16151514610980576040805162461bcd60e51b815260206004820152601b60248201527a746f6b656e206e6f7420616c6c6f77656420746f2062726964676560281b604482015290519081900360640190fd5b6001600160a01b0381166000908152600660205260409020548210156109d8576040805162461bcd60e51b8152602060048201526008602482015267626164207261746560c01b604482015290519081900360640190fd5b60006109fb6127106109f56003548661143a90919063ffffffff16565b9061149c565b9050610a1b33610a09610be3565b6001600160a01b038516919084611500565b610a3c3330610a2a8685611560565b6001600160a01b038616929190611500565b610a468382611560565b60028054919091019055610a5a8382611560565b600880546000908152600a60209081526040808320949094558254825283822060019081018054336001600160a01b031991821681179092558554855286852060020180549091166001600160a01b038a161790558454808552868520600301819055818552600c8452958420805480840182559085529290932090910193909355815490920190557f02d7e648dd130fc184d383e55bb126ac4c9c60e8f94bf05acdf557ba2d540b4790610b0f8584611560565b604080516001600160a01b03938416815260208101929092524282820152918516606082015290519081900360800190a150506001805550565b610b51611436565b6001600160a01b0316610b62610be3565b6001600160a01b031614610bab576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116906000805160206119cb833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610bfa611436565b6001600160a01b0316610c0b610be3565b6001600160a01b031614610c54576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6101f4821115610c97576040805162461bcd60e51b8152602060048201526009602482015268746f6f206c6172676560b81b604482015290519081900360640190fd5b6101f46004541115610cdc576040805162461bcd60e51b8152602060048201526009602482015268746f6f206c6172676560b81b604482015290519081900360640190fd5b600391909155600455565b60035481565b610cf5611436565b6001600160a01b0316610d06610be3565b6001600160a01b031614610d4f576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6001600160a01b0316600090815260066020526040902055565b60045481565b3360009081526005602052604090205460ff161515600114610dc3576040805162461bcd60e51b81526020600482015260086024820152671898590818d85b1b60c21b604482015290519081900360640190fd5b6000818152600d602052604090205460ff16158015610de3575060095481145b610e1e5760405162461bcd60e51b815260040180806020018281038252602f8152602001806118e5602f913960400191505060405180910390fd5b60018215151415610e3d57610e3d6001600160a01b03841685876115bd565b600880546000908152600b6020908152604080832089905583548352808320600190810180546001600160a01b03808c166001600160a01b0319928316179092558654865283862083018054928b169290911682179055600980549654865283862060030196909655868552600d845293829020805460ff19168217905584540190935582513381529081018890524281840152606081019190915290516000805160206119eb8339815191529181900360800190a15050505050565b60085481565b600d6020526000908152604090205460ff1681565b600a60205260009081526040902080546001820154600283015460039093015491926001600160a01b039182169291169084565b3360009081526005602052604090205460ff161515600114610f9d576040805162461bcd60e51b81526020600482015260086024820152671898590818d85b1b60c21b604482015290519081900360640190fd5b84518451148015610faf575082518451145b610ff8576040805162461bcd60e51b81526020600482015260156024820152740eae6cae440c2dadeeadce8e640dad2e6dac2e8c6d605b1b604482015290519081900360640190fd5b60005b845181101561129c57600d600083838151811061101457fe5b60209081029190910181015182528101919091526040016000205460ff161561106e5760405162461bcd60e51b815260040180806020018281038252602f8152602001806118e5602f913960400191505060405180910390fd5b82818151811061107a57fe5b602002602001015115156001151514156110e5576110e585828151811061109d57fe5b60200260200101518783815181106110b157fe5b60200260200101518684815181106110c557fe5b60200260200101516001600160a01b03166115bd9092919063ffffffff16565b8581815181106110f157fe5b6020026020010151600b600060085481526020019081526020016000206000018190555084818151811061112157fe5b6020026020010151600b6000600854815260200190815260200160002060010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083818151811061117157fe5b602090810291909101810151600880546000908152600b909352604080842060020180546001600160a01b0319166001600160a01b039094169390931790925560095490548352908220600301558251600191600d918590859081106111d357fe5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055506009546001016009819055506000805160206119eb83398151915285828151811061122757fe5b602002602001015187838151811061123b57fe5b60200260200101514287858151811061125057fe5b602002602001015160405180856001600160a01b03168152602001848152602001838152602001826001600160a01b0316815260200194505050505060405180910390a1600101610ffb565b505050505050565b60076020526000908152604090205460ff1681565b6112c1611436565b6001600160a01b03166112d2610be3565b6001600160a01b03161461131b576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6001600160a01b0381166113605760405162461bcd60e51b815260040180806020018281038252602681526020018061193e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216916000805160206119cb83398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6113b1611436565b6001600160a01b03166113c2610be3565b6001600160a01b03161461140b576040805162461bcd60e51b815260206004820181905260248201526000805160206119ab833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b3390565b60008261144957506000611496565b8282028284828161145657fe5b04146114935760405162461bcd60e51b815260040180806020018281038252602181526020018061198a6021913960400191505060405180910390fd5b90505b92915050565b60008082116114ef576040805162461bcd60e51b815260206004820152601a602482015279536166654d6174683a206469766973696f6e206279207a65726f60301b604482015290519081900360640190fd5b8183816114f857fe5b049392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261155a908590611614565b50505050565b6000828211156115b7576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261160f908490611614565b505050565b6060611669826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116c59092919063ffffffff16565b80519091501561160f5780806020019051602081101561168857600080fd5b505161160f5760405162461bcd60e51b815260040180806020018281038252602a815260200180611914602a913960400191505060405180910390fd5b60606116d484846000856116de565b90505b9392505050565b60608247101561171f5760405162461bcd60e51b81526004018080602001828103825260268152602001806119646026913960400191505060405180910390fd5b6117288561183a565b611779576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106117b85780518252601f199092019160209182019101611799565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461181a576040519150601f19603f3d011682016040523d82523d6000602084013e61181f565b606091505b509150915061182f828286611840565b979650505050505050565b3b151590565b6060831561184f5750816116d7565b82511561185f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118a9578181015183820152602001611891565b50505050905090810190601f1680156118d65780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe7061796f757420616c72656164792070726f636573736564206f7220747279696e6720746f20736b697020612074785361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08166bf25f8a2b7ed3c85049207da4358d16edbed977d23fa2ee6f0dde3ec2132a2646970667358221220c815d5a8a706bcab14a99c0712a51ba7e5b5a0287a1706536fcd1a5a8fa1652564736f6c634300060c0033
Deployed Bytecode Sourcemap
29034:4696:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29977:49;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29977:49:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;29923:46;;;;;;;;;;;;;;;;-1:-1:-1;29923:46:0;;:::i;:::-;;;;;;;-1:-1:-1;;;;;29923:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30987:125;;;;;;;;;;;;;;;;-1:-1:-1;30987:125:0;-1:-1:-1;;;;;30987:125:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29832:31;;;:::i;29155:23::-;;;:::i;29321:45::-;;;;;;;;;;;;;;;;-1:-1:-1;29321:45:0;-1:-1:-1;;;;;29321:45:0;;:::i;29267:46::-;;;;;;;;;;;;;;;;-1:-1:-1;29267:46:0;-1:-1:-1;;;;;29267:46:0;;:::i;:::-;;;;;;;;;;;;;;;;;;33059:125;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33059:125:0;;;;;;;;;;:::i;:::-;;30081:898;;;;;;;;;;;;;;;;-1:-1:-1;30081:898:0;;;;;;-1:-1:-1;;;;;30081:898:0;;:::i;2778:148::-;;;:::i;2127:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2127:87:0;;;;;;;;;;;;;;33445:280;;;;;;;;;;;;;;;;-1:-1:-1;33445:280:0;;;;;;;:::i;29185:23::-;;;:::i;33315:122::-;;;;;;;;;;;;;;;;-1:-1:-1;33315:122:0;;;;;;-1:-1:-1;;;;;33315:122:0;;:::i;29223:29::-;;;:::i;31202:726::-;;;;;;;;;;;;;;;;-1:-1:-1;31202:726:0;;;-1:-1:-1;;;;;31202:726:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;29800:25::-;;;:::i;30033:38::-;;;;;;;;;;;;;;;;-1:-1:-1;30033:38:0;;:::i;29870:45::-;;;;;;;;;;;;;;;;-1:-1:-1;29870:45:0;;:::i;32060:991::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32060:991:0;;;;;;;;-1:-1:-1;32060:991:0;;-1:-1:-1;;;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32060:991:0;;;;;;;;-1:-1:-1;32060:991:0;;-1:-1:-1;;;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32060:991:0;;;;;;;;-1:-1:-1;32060:991:0;;-1:-1:-1;;;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32060:991:0;;;;;;;;-1:-1:-1;32060:991:0;;-1:-1:-1;;;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32060:991:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32060:991:0;;-1:-1:-1;32060:991:0;;-1:-1:-1;;;;;32060:991:0:i;29373:45::-;;;;;;;;;;;;;;;;-1:-1:-1;29373:45:0;-1:-1:-1;;;;;29373:45:0;;:::i;3081:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3081:244:0;-1:-1:-1;;;;;3081:244:0;;:::i;33192:115::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33192:115:0;;;;;;;;;;:::i;29977:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;29923:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29923:46:0;;;;;;;;:::o;30987:125::-;-1:-1:-1;;;;;31086:18:0;;;;;;:12;:18;;;;;;;;;31079:25;;;;;;;;;;;;;;;;;31050:16;;31079:25;;;31086:18;31079:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30987:125;;;:::o;29832:31::-;;;;:::o;29155:23::-;;;;:::o;29321:45::-;;;;;;;;;;;;;:::o;29267:46::-;;;;;;;;;;;;;;;:::o;33059:125::-;2358:12;:10;:12::i;:::-;-1:-1:-1;;;;;2347:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2347:23:0;;2339:68;;;;;-1:-1:-1;;;2339:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2339:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33141:25:0;;;::::1;;::::0;;;:14:::1;:25;::::0;;;;:35;;-1:-1:-1;;33141:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;33059:125::o;30081:898::-;12642:1;13247:7;;:19;;13239:63;;;;;-1:-1:-1;;;13239:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12642:1;13380:7;:18;;;-1:-1:-1;;;;;30176:29:0;::::1;;::::0;;;:13:::1;:29;::::0;;;;;::::1;;:37;;;30168:77;;;::::0;;-1:-1:-1;;;30168:77:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30168:77:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;30275:26:0;::::1;;::::0;;;:10:::1;:26;::::0;;;;;30264:37;::::1;;30256:58;;;::::0;;-1:-1:-1;;;30256:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30256:58:0;;;;;;;;;;;;;::::1;;30325:19;30347:27;30368:5;30347:16;30359:3;;30347:7;:11;;:16;;;;:::i;:::-;:20:::0;::::1;:27::i;:::-;30325:49;;30385:56;30408:10;30420:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;30385:22:0;::::1;::::0;:56;30429:11;30385:22:::1;:56::i;:::-;30452:75;30475:10;30495:4;30502:24;:7:::0;30514:11;30502::::1;:24::i;:::-;-1:-1:-1::0;;;;;30452:22:0;::::1;::::0;:75;;:22:::1;:75::i;:::-;30560:24;:7:::0;30572:11;30560::::1;:24::i;:::-;30549:8;::::0;;:35;;;::::1;30538:46:::0;;30625:24:::1;:7:::0;30637:11;30625::::1;:24::i;:::-;30607:6;::::0;;30595:19:::1;::::0;;;:11:::1;:19;::::0;;;;;;;:54;;;;30672:6;;30660:19;;;;;:29:::1;::::0;;::::1;:42:::0;;30692:10:::1;-1:-1:-1::0;;;;;;30660:42:0;;::::1;::::0;::::1;::::0;;;30726:6;;30714:19;;;;;:25:::1;;:42:::0;;;;::::1;-1:-1:-1::0;;;;;30714:42:0;::::1;;::::0;;30793:6;;30768:19;;;;;;:22:::1;;:31:::0;;;30811:24;;;:12:::1;:24:::0;;;;;:37;;;;::::1;::::0;;;;;;;;;;;::::1;::::0;;;;30868:6;;:8;;::::1;30859:17:::0;;30893:78:::1;::::0;30913:24:::1;:7:::0;30925:11;30913::::1;:24::i;:::-;30893:78;::::0;;-1:-1:-1;;;;;30893:78:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;30939:15:::1;30893:78:::0;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;-1:-1:-1::0;;12598:1:0;13559:22;;-1:-1:-1;30081:898:0:o;2778:148::-;2358:12;:10;:12::i;:::-;-1:-1:-1;;;;;2347:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2347:23:0;;2339:68;;;;;-1:-1:-1;;;2339:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2339:68:0;;;;;;;;;;;;;;;2885:1:::1;2869:6:::0;;2848:40:::1;::::0;-1:-1:-1;;;;;2869:6:0;;::::1;::::0;-1:-1:-1;;;;;;;;;;;2848:40:0;2885:1;;2848:40:::1;2916:1;2899:19:::0;;-1:-1:-1;;;;;;2899:19:0::1;::::0;;2778:148::o;2127:87::-;2173:7;2200:6;-1:-1:-1;;;;;2200:6:0;2127:87;:::o;33445:280::-;2358:12;:10;:12::i;:::-;-1:-1:-1;;;;;2347:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2347:23:0;;2339:68;;;;;-1:-1:-1;;;2339:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2339:68:0;;;;;;;;;;;;;;;33550:3:::1;33539:7;:14;;33531:36;;;::::0;;-1:-1:-1;;;33531:36:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33531:36:0;;;;;;;;;;;;;::::1;;33620:3;33607:9;;:16;;33599:38;;;::::0;;-1:-1:-1;;;33599:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33599:38:0;;;;;;;;;;;;;::::1;;33669:3;:13:::0;;;;33693:9:::1;:24:::0;33445:280::o;29185:23::-;;;;:::o;33315:122::-;2358:12;:10;:12::i;:::-;-1:-1:-1;;;;;2347:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2347:23:0;;2339:68;;;;;-1:-1:-1;;;2339:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2339:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33401:18:0::1;;::::0;;;:10:::1;:18;::::0;;;;:27;33315:122::o;29223:29::-;;;;:::o;31202:726::-;31341:10;31326:26;;;;:14;:26;;;;;;;;:34;;:26;:34;31318:55;;;;;-1:-1:-1;;;31318:55:0;;;;;;;;;;;;-1:-1:-1;;;31318:55:0;;;;;;;;;;;;;;;31392:10;;;;:6;:10;;;;;;;;:19;;;:41;;;31421:12;;31415:2;:18;31392:41;31384:101;;;;-1:-1:-1;;;31384:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31509:4;31499:14;;;;31496:74;;;31525:33;-1:-1:-1;;;;;31525:18:0;;31544:4;31550:7;31525:18;:33::i;:::-;31593:6;;;31580:20;;;;:12;:20;;;;;;;;:38;;;31643:6;;31630:20;;;;;:30;;;;:37;;-1:-1:-1;;;;;31630:37:0;;;-1:-1:-1;;;;;;31630:37:0;;;;;;;31691:6;;31678:20;;;;;:30;;:47;;;;;;;;;;;;;31762:12;;;31749:6;;31736:20;;;;;:23;;:38;;;;31785:10;;;:6;:10;;;;;;:17;;-1:-1:-1;;31785:17:0;;;;;31828:12;;:14;31813:29;;;31858:62;;31867:10;31858:62;;;;;;;;31888:15;31858:62;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31858:62:0;;;;;;;;31202:726;;;;;:::o;29800:25::-;;;;:::o;30033:38::-;;;;;;;;;;;;;;;:::o;29870:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29870:45:0;;;;;;;;:::o;32060:991::-;32252:10;32237:26;;;;:14;:26;;;;;;;;:34;;:26;:34;32229:55;;;;;-1:-1:-1;;;32229:55:0;;;;;;;;;;;;-1:-1:-1;;;32229:55:0;;;;;;;;;;;;;;;32318:7;:14;32303:4;:11;:29;:60;;;;;32351:5;:12;32336:4;:11;:27;32303:60;32295:94;;;;;-1:-1:-1;;;32295:94:0;;;;;;;;;;;;-1:-1:-1;;;32295:94:0;;;;;;;;;;;;;;;32406:6;32402:640;32418:4;:11;32416:1;:13;32402:640;;;32458:6;:13;32465:2;32468:1;32465:5;;;;;;;;;;;;;;;;;;;32458:13;;;;;;;;;;-1:-1:-1;32458:13:0;;;;:22;32450:82;;;;-1:-1:-1;;;32450:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32550:6;32557:1;32550:9;;;;;;;;;;;;;;:17;;32563:4;32550:17;;;32547:94;;;32583:42;32605:4;32610:1;32605:7;;;;;;;;;;;;;;32614;32622:1;32614:10;;;;;;;;;;;;;;32583:5;32589:1;32583:8;;;;;;;;;;;;;;-1:-1:-1;;;;;32583:21:0;;;:42;;;;;:::i;:::-;32686:7;32694:1;32686:10;;;;;;;;;;;;;;32655:12;:20;32668:6;;32655:20;;;;;;;;;;;:28;;:41;;;;32745:4;32750:1;32745:7;;;;;;;;;;;;;;32712:12;:20;32725:6;;32712:20;;;;;;;;;;;:30;;;:40;;;;;-1:-1:-1;;;;;32712:40:0;;;;;-1:-1:-1;;;;;32712:40:0;;;;;;32804:5;32810:1;32804:8;;;;;;;;;;;;;;;;;;;32780:6;;;32767:20;;;;:12;:20;;;;;;;:26;;:46;;-1:-1:-1;;;;;;32767:46:0;-1:-1:-1;;;;;32767:46:0;;;;;;;;;;32854:12;;32841:6;;32828:20;;;;;:23;;:38;32888:5;;-1:-1:-1;;32881:6:0;;32888:5;;32891:1;;32888:5;;;;;;;;;;;;32881:13;;;;;;;;;;;;:20;;;;;;;;;;;;;;;;;;32931:12;;32944:1;32931:14;32916:12;:29;;;;-1:-1:-1;;;;;;;;;;;32974:4:0;32979:1;32974:7;;;;;;;;;;;;;;32983;32991:1;32983:10;;;;;;;;;;;;;;32995:15;33020:5;33026:1;33020:8;;;;;;;;;;;;;;32965:65;;;;-1:-1:-1;;;;;32965:65:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32965:65:0;;;;;;;;;;;;;;;;;;32431:3;;32402:640;;;;32060:991;;;;;:::o;29373:45::-;;;;;;;;;;;;;;;:::o;3081:244::-;2358:12;:10;:12::i;:::-;-1:-1:-1;;;;;2347:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2347:23:0;;2339:68;;;;;-1:-1:-1;;;2339:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2339:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3170:22:0;::::1;3162:73;;;;-1:-1:-1::0;;;3162:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3272:6;::::0;;3251:38:::1;::::0;-1:-1:-1;;;;;3251:38:0;;::::1;::::0;3272:6;::::1;::::0;-1:-1:-1;;;;;;;;;;;3251:38:0;::::1;3300:6;:17:::0;;-1:-1:-1;;;;;;3300:17:0::1;-1:-1:-1::0;;;;;3300:17:0;;;::::1;::::0;;;::::1;::::0;;3081:244::o;33192:115::-;2358:12;:10;:12::i;:::-;-1:-1:-1;;;;;2347:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2347:23:0;;2339:68;;;;;-1:-1:-1;;;2339:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2339:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33268:21:0;;;::::1;;::::0;;;:13:::1;:21;::::0;;;;:31;;-1:-1:-1;;33268:31:0::1;::::0;::::1;;::::0;;;::::1;::::0;;33192:115::o;667:106::-;755:10;667:106;:::o;7004:220::-;7062:7;7086:6;7082:20;;-1:-1:-1;7101:1:0;7094:8;;7082:20;7125:5;;;7129:1;7125;:5;:1;7149:5;;;;;:10;7141:56;;;;-1:-1:-1;;;7141:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7215:1;-1:-1:-1;7004:220:0;;;;;:::o;7702:153::-;7760:7;7792:1;7788;:5;7780:44;;;;;-1:-1:-1;;;7780:44:0;;;;;;;;;;;;-1:-1:-1;;;7780:44:0;;;;;;;;;;;;;;;7846:1;7842;:5;;;;;;;7702:153;-1:-1:-1;;;7702:153:0:o;25934:248::-;26105:68;;;-1:-1:-1;;;;;26105:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26105:68:0;-1:-1:-1;;;26105:68:0;;;26078:96;;26098:5;;26078:19;:96::i;:::-;25934:248;;;;:::o;6587:158::-;6645:7;6678:1;6673;:6;;6665:49;;;;;-1:-1:-1;;;6665:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6732:5:0;;;6587:158::o;25715:211::-;25859:58;;;-1:-1:-1;;;;;25859:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25859:58:0;-1:-1:-1;;;25859:58:0;;;25832:86;;25852:5;;25832:19;:86::i;:::-;25715:211;;;:::o;28226:774::-;28650:23;28676:69;28704:4;28676:69;;;;;;;;;;;;;;;;;28684:5;-1:-1:-1;;;;;28676:27:0;;;:69;;;;;:::i;:::-;28760:17;;28650:95;;-1:-1:-1;28760:21:0;28756:237;;28915:10;28904:30;;;;;;;;;;;;;;;-1:-1:-1;28904:30:0;28896:85;;;;-1:-1:-1;;;28896:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20528:229;20665:12;20697:52;20719:6;20727:4;20733:1;20736:12;20697:21;:52::i;:::-;20690:59;;20528:229;;;;;;:::o;21648:571::-;21818:12;21876:5;21851:21;:30;;21843:81;;;;-1:-1:-1;;;21843:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21943:18;21954:6;21943:10;:18::i;:::-;21935:60;;;;;-1:-1:-1;;;21935:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22069:12;22083:23;22110:6;-1:-1:-1;;;;;22110:11:0;22129:5;22136:4;22110:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22110:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22068:73;;;;22159:52;22177:7;22186:10;22198:12;22159:17;:52::i;:::-;22152:59;21648:571;-1:-1:-1;;;;;;;21648:571:0:o;17588:444::-;17968:20;18016:8;;;17588:444::o;24297:777::-;24447:12;24476:7;24472:595;;;-1:-1:-1;24507:10:0;24500:17;;24472:595;24621:17;;:21;24617:439;;24884:10;24878:17;24945:15;24932:10;24928:2;24924:19;24917:44;24832:148;25027:12;25020:20;;-1:-1:-1;;;25020:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://c815d5a8a706bcab14a99c0712a51ba7e5b5a0287a1706536fcd1a5a8fa16525
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.