Contract Overview
[ Download CSV Export ]
Contract Name:
MCryptionNetworkToken
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-06-09 */ // File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, 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: contracts/lib/Initializable.sol pragma solidity ^0.7.6; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } } // File: contracts/lib/EIP712Base.sol pragma solidity ^0.7.6; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string constant public ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contractsa that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712( string memory name ) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public pure returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } } // File: contracts/lib/NativeMetaTransaction.sol pragma solidity ^0.7.6; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted( userAddress, msg.sender, functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } } // File: contracts/lib/ContextMixin.sol pragma solidity 0.7.6; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = msg.sender; } return sender; } } // File: @openzeppelin/contracts/utils/Context.sol 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/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // 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: contracts/CNT-Matic.sol pragma solidity ^0.7.0; // CryptionNetworkToken with Governance. contract MCryptionNetworkToken is ERC20, Ownable, NativeMetaTransaction, ContextMixin { using SafeMath for uint256; address public childChainManager; constructor(address _childChainManager) ERC20("Cryption Network Token", "CNT") { _setupDecimals(decimals()); _initializeEIP712("Cryption Network Token"); childChainManager = _childChainManager; } // Copied and modified from SUSHI code: // https://github.com/sushiswap/sushiswap/blob/master/contracts/SushiToken.sol // @notice A record of each accounts delegate mapping(address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping(address => mapping(uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping(address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); bytes32 public constant PERMIT_TYPEHASH = keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ); /// @notice An event thats emitted when an account changes its delegate event DelegateChanged( address indexed delegator, address indexed fromDelegate, address indexed toDelegate ); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged( address indexed delegate, uint256 previousBalance, uint256 newBalance ); /** * @notice Function to set/update chaildChainManager address incase it changes. Can only be called by owner. * @param _childChainManager Address of the chaild chain manager contract */ function setChildChainManager(address _childChainManager) public onlyOwner { childChainManager = _childChainManager; } // This is to support Native meta transactions // never use msg.sender directly, use _msgSender() instead function _msgSender() internal view override returns (address payable sender) { return ContextMixin.msgSender(); } function permit( address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s ) external { bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", getDomainSeperator(), keccak256( abi.encode( PERMIT_TYPEHASH, holder, spender, nonce, expiry, allowed ) ) ) ); require(holder == ecrecover(digest, v, r, s), "CNT: INVALID-PERMIT"); require( expiry == 0 || block.timestamp <= expiry, "CNT: PERMIT-EXPIRED" ); require(nonce == nonces[holder]++, "CNT: INVALID-NONCE"); uint256 wad = allowed ? uint256(-1) : 0; _approve(holder, spender, wad); } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(_msgSender(), delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 structHash = keccak256( abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry) ); bytes32 digest = keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), structHash) ); address signatory = ecrecover(digest, v, r, s); require( signatory != address(0), "CNT::delegateBySig: invalid signature" ); require( nonce == nonces[signatory]++, "CNT::delegateBySig: invalid nonce" ); require( block.timestamp <= expiry, "CNT::delegateBySig: signature expired" ); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint256 blockNumber) external view returns (uint256) { require( blockNumber < block.number, "CNT::getPriorVotes: not yet determined" ); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying CNTs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates( address srcRep, address dstRep, uint256 amount ) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32( block.number, "CNT::_writeCheckpoint: block number exceeds 32 bits" ); if ( nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber ) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint( blockNumber, newVotes ); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint256 n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } // _beforeTokenTransfer hook is used move the delegates aptly whenever tokens are transferred. This is missing in Sushi code. function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { _moveDelegates(_delegates[from], _delegates[to], amount); } // Matic POS Bridge functions /** * @notice called when token is deposited on root chain * @dev Should be callable only by ChildChainManager * Should handle deposit by minting the required amount for user * Make sure minting is done only by this function * @param user user address for whom deposit is being done * @param depositData abi encoded amount */ function deposit(address user, bytes calldata depositData) external { require( _msgSender() == childChainManager, "Only ChildChainManager can deposit" ); uint256 amount = abi.decode(depositData, (uint256)); _mint(user, amount); } /** * @notice called when user wants to withdraw tokens back to root chain * @dev Should burn user's tokens. This transaction will be verified when exiting on root chain * @param amount amount of tokens to withdraw */ function withdraw(uint256 amount) external { _burn(_msgSender(), amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_childChainManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"childChainManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes","name":"depositData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"bool","name":"allowed","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_childChainManager","type":"address"}],"name":"setChildChainManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526005805460ff60a81b191690553480156200001e57600080fd5b5060405162002d4c38038062002d4c833981810160405260208110156200004457600080fd5b5051604080518082018252601681527f4372797074696f6e204e6574776f726b20546f6b656e000000000000000000006020828101918252835180850190945260038085526210d39560ea1b918501919091528251929392620000a892906200037e565b508051620000be9060049060208401906200037e565b50506005805460ff19166012179055506000620000da620001a9565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001446200013e620001c6565b620001cf565b60408051808201909152601681527f4372797074696f6e204e6574776f726b20546f6b656e0000000000000000000060208201526200018390620001e5565b600880546001600160a01b0319166001600160a01b03929092169190911790556200042a565b6000620001c06200025760201b62001a5d1760201c565b90505b90565b60055460ff1690565b6005805460ff191660ff92909216919091179055565b600554600160a81b900460ff161562000236576040805162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015290519081900360640190fd5b6200024181620002b5565b506005805460ff60a81b1916600160a81b179055565b600033301415620002b057600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620001c39050565b503390565b6040518060800160405280604f815260200162002cfd604f913980516020918201208251838301206040805180820190915260018152603160f81b930192909252907fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc630620003236200037a565b60001b60405160200180868152602001858152602001848152602001836001600160a01b03168152602001828152602001955050505050506040516020818303038152906040528051906020012060068190555050565b4690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003b6576000855562000401565b82601f10620003d157805160ff191683800117855562000401565b8280016001018555821562000401579182015b8281111562000401578251825591602001919060010190620003e4565b506200040f92915062000413565b5090565b5b808211156200040f576000815560010162000414565b6128c3806200043a6000396000f3fe6080604052600436106101ee5760003560e01c806370a082311161010d578063a9059cbb116100a0578063cf2c52cb1161006f578063cf2c52cb14610830578063dd62ed3e146108bd578063e7a324dc146108f8578063f1127ed81461090d578063f2fde38b1461096c576101ee565b8063a9059cbb1461075b578063b4b5ea5714610794578063c3cda520146107c7578063c8291d841461081b576101ee565b80638da5cb5b116100dc5780638da5cb5b146106915780638fcbaf0c146106a657806395d89b411461070d578063a457c2d714610722576101ee565b806370a08231146105dd578063715018a614610610578063764a81bb14610625578063782d6fe114610658576101ee565b80632e1a7d4d11610185578063395093511161015457806339509351146104d6578063587cde1e1461050f5780635c19a95c1461055e5780636fcfff4514610591576101ee565b80632e1a7d4d1461045557806330adf81f14610481578063313ce567146104965780633408e470146104c1576101ee565b806318160ddd116101c157806318160ddd146103a357806320379ee5146103ca57806323b872dd146103df5780632d0335ab14610422576101ee565b806306fdde03146101f3578063095ea7b31461027d5780630c53c51c146102ca5780630f7e59701461038e575b600080fd5b3480156101ff57600080fd5b5061020861099f565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024257818101518382015260200161022a565b50505050905090810190601f16801561026f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028957600080fd5b506102b6600480360360408110156102a057600080fd5b506001600160a01b038135169060200135610a36565b604080519115158252519081900360200190f35b610208600480360360a08110156102e057600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561030b57600080fd5b82018360208201111561031d57600080fd5b8035906020019184600183028401116401000000008311171561033f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020810135906040013560ff16610a54565b34801561039a57600080fd5b50610208610d56565b3480156103af57600080fd5b506103b8610d73565b60408051918252519081900360200190f35b3480156103d657600080fd5b506103b8610d79565b3480156103eb57600080fd5b506102b66004803603606081101561040257600080fd5b506001600160a01b03813581169160208101359091169060400135610d7f565b34801561042e57600080fd5b506103b86004803603602081101561044557600080fd5b50356001600160a01b0316610e06565b34801561046157600080fd5b5061047f6004803603602081101561047857600080fd5b5035610e21565b005b34801561048d57600080fd5b506103b8610e35565b3480156104a257600080fd5b506104ab610e59565b6040805160ff9092168252519081900360200190f35b3480156104cd57600080fd5b506103b8610e62565b3480156104e257600080fd5b506102b6600480360360408110156104f957600080fd5b506001600160a01b038135169060200135610e66565b34801561051b57600080fd5b506105426004803603602081101561053257600080fd5b50356001600160a01b0316610eb4565b604080516001600160a01b039092168252519081900360200190f35b34801561056a57600080fd5b5061047f6004803603602081101561058157600080fd5b50356001600160a01b0316610ed2565b34801561059d57600080fd5b506105c4600480360360208110156105b457600080fd5b50356001600160a01b0316610ee3565b6040805163ffffffff9092168252519081900360200190f35b3480156105e957600080fd5b506103b86004803603602081101561060057600080fd5b50356001600160a01b0316610efb565b34801561061c57600080fd5b5061047f610f16565b34801561063157600080fd5b5061047f6004803603602081101561064857600080fd5b50356001600160a01b0316610fda565b34801561066457600080fd5b506103b86004803603604081101561067b57600080fd5b506001600160a01b038135169060200135611070565b34801561069d57600080fd5b50610542611273565b3480156106b257600080fd5b5061047f60048036036101008110156106ca57600080fd5b506001600160a01b038135811691602081013590911690604081013590606081013590608081013515159060ff60a0820135169060c08101359060e00135611287565b34801561071957600080fd5b506102086114e8565b34801561072e57600080fd5b506102b66004803603604081101561074557600080fd5b506001600160a01b038135169060200135611549565b34801561076757600080fd5b506102b66004803603604081101561077e57600080fd5b506001600160a01b0381351690602001356115b1565b3480156107a057600080fd5b506103b8600480360360208110156107b757600080fd5b50356001600160a01b03166115c5565b3480156107d357600080fd5b5061047f600480360360c08110156107ea57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611629565b34801561082757600080fd5b50610542611833565b34801561083c57600080fd5b5061047f6004803603604081101561085357600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561087e57600080fd5b82018360208201111561089057600080fd5b803590602001918460018302840111640100000000831117156108b257600080fd5b509092509050611842565b3480156108c957600080fd5b506103b8600480360360408110156108e057600080fd5b506001600160a01b03813581169160200135166118c1565b34801561090457600080fd5b506103b86118ec565b34801561091957600080fd5b5061094c6004803603604081101561093057600080fd5b5080356001600160a01b0316906020013563ffffffff16611910565b6040805163ffffffff909316835260208301919091528051918290030190f35b34801561097857600080fd5b5061047f6004803603602081101561098f57600080fd5b50356001600160a01b031661193d565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a2b5780601f10610a0057610100808354040283529160200191610a2b565b820191906000526020600020905b815481529060010190602001808311610a0e57829003601f168201915b505050505090505b90565b6000610a4a610a43611ab9565b8484611ac8565b5060015b92915050565b60408051606081810183526001600160a01b03881660008181526007602090815290859020548452830152918101869052610a928782878787611bb4565b610acd5760405162461bcd60e51b81526004018080602001828103825260218152602001806127426021913960400191505060405180910390fd5b6001600160a01b038716600090815260076020526040902054610af1906001611c8e565b60076000896001600160a01b03166001600160a01b03168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b87338860405180846001600160a01b03168152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b99578181015183820152602001610b81565b50505050905090810190601f168015610bc65780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a1600080306001600160a01b0316888a6040516020018083805190602001908083835b60208310610c165780518252601f199092019160209182019101610bf7565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b60208310610c8c5780518252601f199092019160209182019101610c6d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610cee576040519150601f19603f3d011682016040523d82523d6000602084013e610cf3565b606091505b509150915081610d4a576040805162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015290519081900360640190fd5b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b60025490565b60065490565b6000610d8c848484611ce8565b610dfc84610d98611ab9565b610df78560405180606001604052806028815260200161271a602891396001600160a01b038a16600090815260016020526040812090610dd6611ab9565b6001600160a01b031681526020810191909152604001600020549190611e43565b611ac8565b5060019392505050565b6001600160a01b031660009081526007602052604090205490565b610e32610e2c611ab9565b82611eda565b50565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b4690565b6000610a4a610e73611ab9565b84610df78560016000610e84611ab9565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611c8e565b6001600160a01b039081166000908152600960205260409020541690565b610e32610edd611ab9565b82611fd6565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b610f1e611ab9565b6001600160a01b0316610f2f611273565b6001600160a01b031614610f8a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b610fe2611ab9565b6001600160a01b0316610ff3611273565b6001600160a01b03161461104e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60004382106110b05760405162461bcd60e51b81526004018080602001828103825260268152602001806127636026913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff16806110de576000915050610a4e565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001986018116855292529091205416831061114d576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff16835292905220600101549050610a4e565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015611188576000915050610a4e565b600060001982015b8163ffffffff168163ffffffff16111561123c576000600263ffffffff848403166001600160a01b0389166000908152600a6020908152604080832094909304860363ffffffff818116845294825291839020835180850190945280549094168084526001909401549083015292509087141561121757602001519450610a4e9350505050565b805163ffffffff1687111561122e57819350611235565b6001820392505b5050611190565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60055461010090046001600160a01b031690565b6000611291610d79565b604080517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96020808301919091526001600160a01b03808e16838501528c166060830152608082018b905260a082018a905288151560c0808401919091528351808403909101815260e08301845280519082012061190160f01b610100840152610102830194909452610122808301949094528251808303909401845261014282018084528451948201949094206000909452610162820180845284905260ff88166101828301526101a282018790526101c2820186905291519293506001926101e28083019392601f198301929081900390910190855afa15801561139b573d6000803e3d6000fd5b505050602060405103516001600160a01b0316896001600160a01b031614611400576040805162461bcd60e51b815260206004820152601360248201527210d3950e88125395905312510b541154935255606a1b604482015290519081900360640190fd5b85158061140d5750854211155b611454576040805162461bcd60e51b815260206004820152601360248201527210d3950e881411549352550b51561412549151606a1b604482015290519081900360640190fd5b6001600160a01b038916600090815260076020526040902080546001810190915587146114bd576040805162461bcd60e51b8152602060048201526012602482015271434e543a20494e56414c49442d4e4f4e434560701b604482015290519081900360640190fd5b6000856114cb5760006114cf565b6000195b90506114dc8a8a83611ac8565b50505050505050505050565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a2b5780601f10610a0057610100808354040283529160200191610a2b565b6000610a4a611556611ab9565b84610df7856040518060600160405280602581526020016128696025913960016000611580611ab9565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e43565b6000610a4a6115be611ab9565b8484611ce8565b6001600160a01b0381166000908152600b602052604081205463ffffffff16806115f0576000611622565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf6020808301919091526001600160a01b038916828401526060820188905260808083018890528351808403909101815260a090920190925280519101206000611695610d79565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050600060018287878760405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa15801561172e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117805760405162461bcd60e51b81526004018080602001828103825260258152602001806126856025913960400191505060405180910390fd5b6001600160a01b038116600090815260076020526040902080546001810190915588146117de5760405162461bcd60e51b81526004018080602001828103825260218152602001806128486021913960400191505060405180910390fd5b8642111561181d5760405162461bcd60e51b81526004018080602001828103825260258152602001806126d06025913960400191505060405180910390fd5b611827818a611fd6565b5050505b505050505050565b6008546001600160a01b031681565b6008546001600160a01b0316611856611ab9565b6001600160a01b03161461189b5760405162461bcd60e51b81526004018080602001828103825260228152602001806128266022913960400191505060405180910390fd5b6000828260208110156118ad57600080fd5b503590506118bb8482612065565b50505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611945611ab9565b6001600160a01b0316611956611273565b6001600160a01b0316146119b1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166119f65760405162461bcd60e51b815260040180806020018281038252602681526020018061263d6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600033301415611ab457600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150610a339050565b503390565b6000611ac3611a5d565b905090565b6001600160a01b038316611b0d5760405162461bcd60e51b81526004018080602001828103825260248152602001806128026024913960400191505060405180910390fd5b6001600160a01b038216611b525760405162461bcd60e51b81526004018080602001828103825260228152602001806126636022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006001600160a01b038616611bfb5760405162461bcd60e51b81526004018080602001828103825260258152602001806126f56025913960400191505060405180910390fd5b6001611c0e611c0987612155565b6121d8565b83868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611c65573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600082820183811015611622576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038316611d2d5760405162461bcd60e51b81526004018080602001828103825260258152602001806127aa6025913960400191505060405180910390fd5b6001600160a01b038216611d725760405162461bcd60e51b81526004018080602001828103825260238152602001806125b56023913960400191505060405180910390fd5b611d7d838383612224565b611dba816040518060600160405280602681526020016126aa602691396001600160a01b0386166000908152602081905260409020549190611e43565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611de99082611c8e565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611ed25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e97578181015183820152602001611e7f565b50505050905090810190601f168015611ec45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216611f1f5760405162461bcd60e51b81526004018080602001828103825260218152602001806127896021913960400191505060405180910390fd5b611f2b82600083612224565b611f68816040518060600160405280602281526020016125d8602291396001600160a01b0385166000908152602081905260409020549190611e43565b6001600160a01b038316600090815260208190526040902055600254611f8e908261225b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0380831660009081526009602052604081205490911690611ffd84610efb565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46118bb8284836122b8565b6001600160a01b0382166120c0576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6120cc60008383612224565b6002546120d99082611c8e565b6002556001600160a01b0382166000908152602081905260409020546120ff9082611c8e565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60006040518060800160405280604381526020016125fa60439139805190602001208260000151836020015184604001518051906020012060405160200180858152602001848152602001836001600160a01b03168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b60006121e2610d79565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b6001600160a01b03808416600090815260096020526040808220548584168352912054612256929182169116836122b8565b505050565b6000828211156122b2576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b816001600160a01b0316836001600160a01b0316141580156122da5750600081115b15612256576001600160a01b0383161561236c576001600160a01b0383166000908152600b602052604081205463ffffffff16908161231a57600061234c565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061235a828561225b565b9050612368868484846123f1565b5050505b6001600160a01b03821615612256576001600160a01b0382166000908152600b602052604081205463ffffffff1690816123a75760006123d9565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006123e78285611c8e565b905061182b858484845b6000612415436040518060600160405280603381526020016127cf60339139612556565b905060008463ffffffff1611801561245e57506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561249b576001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901168452909152902060010182905561250c565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60008164010000000084106125ac5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611e97578181015183820152602001611e7f565b50919291505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373434e543a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365434e543a3a64656c656761746542795369673a207369676e617475726520657870697265644e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5349474e455245524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655369676e657220616e64207369676e617475726520646f206e6f74206d61746368434e543a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373434e543a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734f6e6c79204368696c64436861696e4d616e616765722063616e206465706f736974434e543a3a64656c656761746542795369673a20696e76616c6964206e6f6e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d7c77bdc1d48fe3b467ae92e1e205f3f6bd25b40627238b083d388523af9468f64736f6c63430007060033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa
-----Decoded View---------------
Arg [0] : _childChainManager (address): 0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa
Deployed ByteCode Sourcemap
31045:11807:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19751:91;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21897:169;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21897:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;10843:1192;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10843:1192:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10843:1192:0;;-1:-1:-1;;10843:1192:0;;;-1:-1:-1;;;10843:1192:0;;;;;;;;;;;:::i;7999:43::-;;;;;;;;;;;;;:::i;20850:108::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;9009:101;;;;;;;;;;;;;:::i;22548:321::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22548:321:0;;;;;;;;;;;;;;;;;:::i;12461:107::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12461:107:0;-1:-1:-1;;;;;12461:107:0;;:::i;42760:89::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42760:89:0;;:::i;:::-;;32372:170;;;;;;;;;;;;;:::i;20694:91::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9118:161;;;;;;;;;;;;;:::i;23278:218::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23278:218:0;;;;;;;;:::i;34922:117::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34922:117:0;-1:-1:-1;;;;;34922:117:0;;:::i;:::-;;;;-1:-1:-1;;;;;34922:117:0;;;;;;;;;;;;;;35187:106;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35187:106:0;-1:-1:-1;;;;;35187:106:0;;:::i;32095:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32095:48:0;-1:-1:-1;;;;;32095:48:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;21021:127;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21021:127:0;-1:-1:-1;;;;;21021:127:0;;:::i;30384:148::-;;;;;;;;;;;;;:::i;33215:132::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33215:132:0;-1:-1:-1;;;;;33215:132:0;;:::i;37544:1292::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37544:1292:0;;;;;;;;:::i;29733:87::-;;;;;;;;;;;;;:::i;33648:1126::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33648:1126:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;19961:95::-;;;;;;;;;;;;;:::i;23999:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23999:269:0;;;;;;;;:::i;21361:175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21361:175:0;;;;;;;;:::i;36877:236::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36877:236:0;-1:-1:-1;;;;;36877:236:0;;:::i;35727:949::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35727:949:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;31194:32::-;;;;;;;;;;;;;:::i;42209:296::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42209:296:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42209:296:0;;-1:-1:-1;42209:296:0;-1:-1:-1;42209:296:0;:::i;21599:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21599:151:0;;;;;;;;;;:::i;32237:126::-;;;;;;;;;;;;;:::i;31958:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31958:68:0;;-1:-1:-1;;;;;31958:68:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;30687:244;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30687:244:0;-1:-1:-1;;;;;30687:244:0;;:::i;19751:91::-;19829:5;19822:12;;;;;;;;-1:-1:-1;;19822:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19796:13;;19822:12;;19829:5;;19822:12;;19829:5;19822:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19751:91;;:::o;21897:169::-;21980:4;21997:39;22006:12;:10;:12::i;:::-;22020:7;22029:6;21997:8;:39::i;:::-;-1:-1:-1;22054:4:0;21897:169;;;;;:::o;10843:1192::-;11114:168;;;11044:12;11114:168;;;;;-1:-1:-1;;;;;11156:19:0;;11069:29;11156:19;;;:6;:19;;;;;;;;;11114:168;;;;;;;;;;;11317:45;11163:11;11114:168;11345:4;11351;11357;11317:6;:45::i;:::-;11295:128;;;;-1:-1:-1;;;11295:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11512:19:0;;;;;;:6;:19;;;;;;:26;;11536:1;11512:23;:26::i;:::-;11490:6;:19;11497:11;-1:-1:-1;;;;;11490:19:0;-1:-1:-1;;;;;11490:19:0;;;;;;;;;;;;:48;;;;11556:117;11594:11;11620:10;11645:17;11556:117;;;;-1:-1:-1;;;;;11556:117:0;;;;;;-1:-1:-1;;;;;11556:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11784:12;11798:23;11846:4;-1:-1:-1;;;;;11838:18:0;11892:17;11911:11;11875:48;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11875:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11875:48:0;;;;;;;;;;;;;;;;;;;;;;;11838:100;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11838:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11783:155;;;;11957:7;11949:48;;;;;-1:-1:-1;;;11949:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12017:10;10843:1192;-1:-1:-1;;;;;;;;10843:1192:0:o;7999:43::-;;;;;;;;;;;;;;-1:-1:-1;;;7999:43:0;;;;:::o;20850:108::-;20938:12;;20850:108;:::o;9009:101::-;9087:15;;9009:101;:::o;22548:321::-;22654:4;22671:36;22681:6;22689:9;22700:6;22671:9;:36::i;:::-;22718:121;22727:6;22735:12;:10;:12::i;:::-;22749:89;22787:6;22749:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22749:19:0;;;;;;:11;:19;;;;;;22769:12;:10;:12::i;:::-;-1:-1:-1;;;;;22749:33:0;;;;;;;;;;;;-1:-1:-1;22749:33:0;;;:89;:37;:89::i;:::-;22718:8;:121::i;:::-;-1:-1:-1;22857:4:0;22548:321;;;;;:::o;12461:107::-;-1:-1:-1;;;;;12548:12:0;12514:13;12548:12;;;:6;:12;;;;;;;12461:107::o;42760:89::-;42814:27;42820:12;:10;:12::i;:::-;42834:6;42814:5;:27::i;:::-;42760:89;:::o;32372:170::-;32423:119;32372:170;:::o;20694:91::-;20768:9;;;;20694:91;:::o;9118:161::-;9232:9;9118:161;:::o;23278:218::-;23366:4;23383:83;23392:12;:10;:12::i;:::-;23406:7;23415:50;23454:10;23415:11;:25;23427:12;:10;:12::i;:::-;-1:-1:-1;;;;;23415:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;23415:25:0;;;:34;;;;;;;;;;;:38;:50::i;34922:117::-;-1:-1:-1;;;;;35010:21:0;;;34983:7;35010:21;;;:10;:21;;;;;;;;34922:117::o;35187:106::-;35251:34;35261:12;:10;:12::i;:::-;35275:9;35251;:34::i;32095:48::-;;;;;;;;;;;;;;;:::o;21021:127::-;-1:-1:-1;;;;;21122:18:0;21095:7;21122:18;;;;;;;;;;;;21021:127::o;30384:148::-;29964:12;:10;:12::i;:::-;-1:-1:-1;;;;;29953:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;29953:23:0;;29945:68;;;;;-1:-1:-1;;;29945:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30475:6:::1;::::0;30454:40:::1;::::0;30491:1:::1;::::0;30475:6:::1;::::0;::::1;-1:-1:-1::0;;;;;30475:6:0::1;::::0;30454:40:::1;::::0;30491:1;;30454:40:::1;30505:6;:19:::0;;-1:-1:-1;;;;;;30505:19:0::1;::::0;;30384:148::o;33215:132::-;29964:12;:10;:12::i;:::-;-1:-1:-1;;;;;29953:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;29953:23:0;;29945:68;;;;;-1:-1:-1;;;29945:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33301:17:::1;:38:::0;;-1:-1:-1;;;;;;33301:38:0::1;-1:-1:-1::0;;;;;33301:38:0;;;::::1;::::0;;;::::1;::::0;;33215:132::o;37544:1292::-;37655:7;37716:12;37702:11;:26;37680:114;;;;-1:-1:-1;;;37680:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37829:23:0;;37807:19;37829:23;;;:14;:23;;;;;;;;37867:17;37863:58;;37908:1;37901:8;;;;;37863:58;-1:-1:-1;;;;;37981:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;38002:16:0;;37981:38;;;;;;;;;:48;;:63;-1:-1:-1;37977:147:0;;-1:-1:-1;;;;;38068:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;38089:16:0;;;;38068:38;;;;;;;;38104:1;38068:44;;;-1:-1:-1;38061:51:0;;37977:147;-1:-1:-1;;;;;38185:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;38181:88:0;;;38256:1;38249:8;;;;;38181:88;38281:12;-1:-1:-1;;38323:16:0;;38350:428;38365:5;38357:13;;:5;:13;;;38350:428;;;38387:13;38429:1;38411:19;38412:13;;;38411:19;-1:-1:-1;;;;;38495:20:0;;38472;38495;;;:11;:20;;;;;;;;38411:19;;;;38403:27;;38495:28;;;;;;;;;;;;;38472:51;;;;;;;;;;;;;;;;;;;;;;;;;38403:27;-1:-1:-1;38472:51:0;38542:27;;38538:229;;;38597:8;;;;-1:-1:-1;38590:15:0;;-1:-1:-1;;;;38590:15:0;38538:229;38631:12;;:26;;;-1:-1:-1;38627:140:0;;;38686:6;38678:14;;38627:140;;;38750:1;38741:6;:10;38733:18;;38627:140;38350:428;;;;;-1:-1:-1;;;;;;38795:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;37544:1292:0;;;;:::o;29733:87::-;29806:6;;;;;-1:-1:-1;;;;;29806:6:0;;29733:87::o;33648:1126::-;33872:14;34002:20;:18;:20::i;:::-;34081:269;;;32423:119;34081:269;;;;;;;;-1:-1:-1;;;;;34081:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34045:328;;;;;;-1:-1:-1;;;33930:462:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33902:505;;;;;;;;;-1:-1:-1;34438:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33902:505;;-1:-1:-1;34438:26:0;;;;;;;34081:269;-1:-1:-1;;34438:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34428:36:0;:6;-1:-1:-1;;;;;34428:36:0;;34420:68;;;;;-1:-1:-1;;;34420:68:0;;;;;;;;;;;;-1:-1:-1;;;34420:68:0;;;;;;;;;;;;;;;34521:11;;;:40;;;34555:6;34536:15;:25;;34521:40;34499:109;;;;;-1:-1:-1;;;34499:109:0;;;;;;;;;;;;-1:-1:-1;;;34499:109:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;34636:14:0;;;;;;:6;:14;;;;;:16;;;;;;;;34627:25;;34619:56;;;;;-1:-1:-1;;;34619:56:0;;;;;;;;;;;;-1:-1:-1;;;34619:56:0;;;;;;;;;;;;;;;34686:11;34700:7;:25;;34724:1;34700:25;;;-1:-1:-1;;34700:25:0;34686:39;;34736:30;34745:6;34753:7;34762:3;34736:8;:30::i;:::-;33648:1126;;;;;;;;;;:::o;19961:95::-;20041:7;20034:14;;;;;;;;-1:-1:-1;;20034:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20008:13;;20034:14;;20041:7;;20034:14;;20041:7;20034:14;;;;;;;;;;;;;;;;;;;;;;;;23999:269;24092:4;24109:129;24118:12;:10;:12::i;:::-;24132:7;24141:96;24180:15;24141:96;;;;;;;;;;;;;;;;;:11;:25;24153:12;:10;:12::i;:::-;-1:-1:-1;;;;;24141:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;24141:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;21361:175::-;21447:4;21464:42;21474:12;:10;:12::i;:::-;21488:9;21499:6;21464:9;:42::i;36877:236::-;-1:-1:-1;;;;;36984:23:0;;36942:7;36984:23;;;:14;:23;;;;;;;;37038:16;:67;;37104:1;37038:67;;;-1:-1:-1;;;;;37057:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;37078:16:0;;37057:38;;;;;;;;37093:1;37057:44;;37038:67;37018:87;36877:236;-1:-1:-1;;;36877:236:0:o;35727:949::-;35974:57;;;32292:71;35974:57;;;;;;;;-1:-1:-1;;;;;35974:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35946:100;;;;;35912:18;36146:20;:18;:20::i;:::-;36168:10;36117:62;;;;;;-1:-1:-1;;;36117:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36089:105;;;;;;36059:135;;36207:17;36227:26;36237:6;36245:1;36248;36251;36227:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36227:26:0;;-1:-1:-1;;36227:26:0;;;-1:-1:-1;;;;;;;36286:23:0;;36264:110;;;;-1:-1:-1;;;36264:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36416:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;36407:28;;36385:111;;;;-1:-1:-1;;;36385:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36548:6;36529:15;:25;;36507:112;;;;-1:-1:-1;;;36507:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36637:31;36647:9;36658;36637;:31::i;:::-;36630:38;;;35727:949;;;;;;;:::o;31194:32::-;;;-1:-1:-1;;;;;31194:32:0;;:::o;42209:296::-;42326:17;;-1:-1:-1;;;;;42326:17:0;42310:12;:10;:12::i;:::-;-1:-1:-1;;;;;42310:33:0;;42288:117;;;;-1:-1:-1;;;42288:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42416:14;42444:11;;42433:34;;;;;;;;;;-1:-1:-1;42433:34:0;;-1:-1:-1;42478:19:0;42484:4;42433:34;42478:5;:19::i;:::-;42209:296;;;;:::o;21599:151::-;-1:-1:-1;;;;;21715:18:0;;;21688:7;21715:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;21599:151::o;32237:126::-;32292:71;32237:126;:::o;31958:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30687:244::-;29964:12;:10;:12::i;:::-;-1:-1:-1;;;;;29953:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;29953:23:0;;29945:68;;;;;-1:-1:-1;;;29945:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30776:22:0;::::1;30768:73;;;;-1:-1:-1::0;;;30768:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30878:6;::::0;30857:38:::1;::::0;-1:-1:-1;;;;;30857:38:0;;::::1;::::0;30878:6:::1;::::0;::::1;;::::0;30857:38:::1;::::0;;;::::1;30906:6;:17:::0;;-1:-1:-1;;;;;30906:17:0;;::::1;;;-1:-1:-1::0;;;;;;30906:17:0;;::::1;::::0;;;::::1;::::0;;30687:244::o;13176:609::-;13220:22;13259:10;13281:4;13259:27;13255:499;;;13303:18;13324:8;;13303:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;13363:8:0;13574:17;13568:24;-1:-1:-1;;;;;13542:134:0;;-1:-1:-1;13402:289:0;;-1:-1:-1;13402:289:0;;-1:-1:-1;13732:10:0;13176:609;:::o;33471:169::-;33561:22;33608:24;:22;:24::i;:::-;33601:31;;33471:169;:::o;27146:346::-;-1:-1:-1;;;;;27248:19:0;;27240:68;;;;-1:-1:-1;;;27240:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27327:21:0;;27319:68;;;;-1:-1:-1;;;27319:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27400:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;27452:32;;;;;;;;;;;;;;;;;27146:346;;;:::o;12576:486::-;12754:4;-1:-1:-1;;;;;12779:20:0;;12771:70;;;;-1:-1:-1;;;12771:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12895:159;12923:47;12942:27;12962:6;12942:19;:27::i;:::-;12923:18;:47::i;:::-;12989:4;13012;13035;12895:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12872:182:0;:6;-1:-1:-1;;;;;12872:182:0;;12852:202;;12576:486;;;;;;;:::o;2828:179::-;2886:7;2918:5;;;2942:6;;;;2934:46;;;;;-1:-1:-1;;;2934:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;24758:539;-1:-1:-1;;;;;24864:20:0;;24856:70;;;;-1:-1:-1;;;24856:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24945:23:0;;24937:71;;;;-1:-1:-1;;;24937:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25021:47;25042:6;25050:9;25061:6;25021:20;:47::i;:::-;25101:71;25123:6;25101:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25101:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;25081:17:0;;;:9;:17;;;;;;;;;;;:91;;;;25206:20;;;;;;;:32;;25231:6;25206:24;:32::i;:::-;-1:-1:-1;;;;;25183:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;25254:35;;;;;;;25183:20;;25254:35;;;;;;;;;;;;;24758:539;;;:::o;5655:166::-;5741:7;5777:12;5769:6;;;;5761:29;;;;-1:-1:-1;;;5761:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5808:5:0;;;5655:166::o;26290:418::-;-1:-1:-1;;;;;26374:21:0;;26366:67;;;;-1:-1:-1;;;26366:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26446:49;26467:7;26484:1;26488:6;26446:20;:49::i;:::-;26529:68;26552:6;26529:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26529:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;26508:18:0;;:9;:18;;;;;;;;;;:89;26623:12;;:24;;26640:6;26623:16;:24::i;:::-;26608:12;:39;26663:37;;;;;;;;26689:1;;-1:-1:-1;;;;;26663:37:0;;;;;;;;;;;;26290:418;;:::o;38844:423::-;-1:-1:-1;;;;;38947:21:0;;;38921:23;38947:21;;;:10;:21;;;;;;;;;;39006:20;38958:9;39006;:20::i;:::-;-1:-1:-1;;;;;39081:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;39081:33:0;;;;;;;;;;39132:54;;38979:47;;-1:-1:-1;39081:33:0;39132:54;;;;;;39081:21;39132:54;39199:60;39214:15;39231:9;39242:16;39199:14;:60::i;25579:378::-;-1:-1:-1;;;;;25663:21:0;;25655:65;;;;;-1:-1:-1;;;25655:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25733:49;25762:1;25766:7;25775:6;25733:20;:49::i;:::-;25810:12;;:24;;25827:6;25810:16;:24::i;:::-;25795:12;:39;-1:-1:-1;;;;;25866:18:0;;:9;:18;;;;;;;;;;;:30;;25889:6;25866:22;:30::i;:::-;-1:-1:-1;;;;;25845:18:0;;:9;:18;;;;;;;;;;;:51;;;;25912:37;;;;;;;25845:18;;:9;;25912:37;;;;;;;;;;25579:378;;:::o;12043:410::-;12153:7;10167:108;;;;;;;;;;;;;;;;;10143:143;;;;;;12307:6;:12;;;12342:6;:11;;;12386:6;:24;;;12376:35;;;;;;12226:204;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12226:204:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12198:247;;;;;;12178:267;;12043:410;;;:::o;9648:258::-;9747:7;9849:20;:18;:20::i;:::-;9871:11;9820:63;;;;;;-1:-1:-1;;;9820:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9792:106;;;;;;9772:126;;9648:258;;;:::o;41586:207::-;-1:-1:-1;;;;;41744:16:0;;;;;;;:10;:16;;;;;;;41762:14;;;;;;;;41729:56;;41744:16;;;;41762:14;41778:6;41729:14;:56::i;:::-;41586:207;;;:::o;3290:158::-;3348:7;3381:1;3376;:6;;3368:49;;;;;-1:-1:-1;;;3368:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3435:5:0;;;3290:158::o;39275:1123::-;39415:6;-1:-1:-1;;;;;39405:16:0;:6;-1:-1:-1;;;;;39405:16:0;;;:30;;;;;39434:1;39425:6;:10;39405:30;39401:990;;;-1:-1:-1;;;;;39456:20:0;;;39452:456;;-1:-1:-1;;;;;39564:22:0;;39545:16;39564:22;;;:14;:22;;;;;;;;;39646:13;:110;;39755:1;39646:110;;;-1:-1:-1;;;;;39687:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;39707:13:0;;39687:34;;;;;;;;39719:1;39687:40;;39646:110;39605:151;-1:-1:-1;39775:17:0;39795:21;39605:151;39809:6;39795:13;:21::i;:::-;39775:41;;39835:57;39852:6;39860:9;39871;39882;39835:16;:57::i;:::-;39452:456;;;;-1:-1:-1;;;;;39928:20:0;;;39924:456;;-1:-1:-1;;;;;40036:22:0;;40017:16;40036:22;;;:14;:22;;;;;;;;;40118:13;:110;;40227:1;40118:110;;;-1:-1:-1;;;;;40159:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;40179:13:0;;40159:34;;;;;;;;40191:1;40159:40;;40118:110;40077:151;-1:-1:-1;40247:17:0;40267:21;40077:151;40281:6;40267:13;:21::i;:::-;40247:41;;40307:57;40324:6;40332:9;40343;40354;40406:837;40571:18;40605:124;40630:12;40605:124;;;;;;;;;;;;;;;;;:6;:124::i;:::-;40571:158;;40775:1;40760:12;:16;;;:98;;;;-1:-1:-1;;;;;;40793:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;40816:16:0;;40793:40;;;;;;;;;:50;:65;;;:50;;:65;40760:98;40742:425;;;-1:-1:-1;;;;;40885:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;40908:16:0;;40885:40;;;;;;;;40923:1;40885:46;:57;;;40742:425;;;41014:82;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40975:22:0;;-1:-1:-1;40975:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:121;;;;;;;-1:-1:-1;;40975:121:0;;;;;;;;;;;;;41111:25;;;:14;:25;;;;;;:44;;41139:16;;;41111:44;;;;;;;;;;40742:425;41184:51;;;;;;;;;;;;;;-1:-1:-1;;;;;41184:51:0;;;;;;;;;;;40406:837;;;;;:::o;41251:196::-;41356:6;41399:12;41392:5;41388:9;;41380:32;;;;-1:-1:-1;;;41380:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41437:1:0;;41251:196;-1:-1:-1;;41251:196:0:o
Swarm Source
ipfs://d7c77bdc1d48fe3b467ae92e1e205f3f6bd25b40627238b083d388523af9468f
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.