Contract 0x1875E3e0D4cc6fC4dA62352449cD33558C759a7f

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x4434f39296470dc1a8e685931f86ccf1ce13ba8d0ba1a19c977272dcacebb8bb0x60806040450025292022-08-16 3:55:3139 days 16 hrs ago0xcb5664c7454eb5a945d57bc94a2727ee9ef4ae95 IN  Create: BridgeValidators0 FTM0.1135399
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x4434f39296470dc1a8e685931f86ccf1ce13ba8d0ba1a19c977272dcacebb8bb450025292022-08-16 3:55:3139 days 16 hrs ago 0xcb5664c7454eb5a945d57bc94a2727ee9ef4ae95  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BridgeValidators

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2022-08-16
*/

// File: contracts/upgradeability/EternalStorage.sol

pragma solidity 0.4.24;

/**
 * @title EternalStorage
 * @dev This contract holds all the necessary state variables to carry out the storage of any contract.
 */
contract EternalStorage {
    mapping(bytes32 => uint256) internal uintStorage;
    mapping(bytes32 => string) internal stringStorage;
    mapping(bytes32 => address) internal addressStorage;
    mapping(bytes32 => bytes) internal bytesStorage;
    mapping(bytes32 => bool) internal boolStorage;
    mapping(bytes32 => int256) internal intStorage;

}

// File: contracts/interfaces/IUpgradeabilityOwnerStorage.sol

pragma solidity 0.4.24;

interface IUpgradeabilityOwnerStorage {
    function upgradeabilityOwner() external view returns (address);
}

// File: contracts/upgradeable_contracts/Ownable.sol

pragma solidity 0.4.24;



/**
 * @title Ownable
 * @dev This contract has an owner address providing basic authorization control
 */
contract Ownable is EternalStorage {
    bytes4 internal constant UPGRADEABILITY_OWNER = 0x6fde8202; // upgradeabilityOwner()

    /**
    * @dev Event to show ownership has been transferred
    * @param previousOwner representing the address of the previous owner
    * @param newOwner representing the address of the new owner
    */
    event OwnershipTransferred(address previousOwner, address newOwner);

    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyOwner() {
        require(msg.sender == owner());
        /* solcov ignore next */
        _;
    }

    /**
    * @dev Throws if called by any account other than contract itself or owner.
    */
    modifier onlyRelevantSender() {
        // proxy owner if used through proxy, address(0) otherwise
        require(
            !address(this).call(abi.encodeWithSelector(UPGRADEABILITY_OWNER)) || // covers usage without calling through storage proxy
                msg.sender == IUpgradeabilityOwnerStorage(this).upgradeabilityOwner() || // covers usage through regular proxy calls
                msg.sender == address(this) // covers calls through upgradeAndCall proxy method
        );
        /* solcov ignore next */
        _;
    }

    bytes32 internal constant OWNER = 0x02016836a56b71f0d02689e69e326f4f4c1b9057164ef592671cf0d37c8040c0; // keccak256(abi.encodePacked("owner"))

    /**
    * @dev Tells the address of the owner
    * @return the address of the owner
    */
    function owner() public view returns (address) {
        return addressStorage[OWNER];
    }

    /**
    * @dev Allows the current owner to transfer control of the contract to a newOwner.
    * @param newOwner the address to transfer ownership to.
    */
    function transferOwnership(address newOwner) external onlyOwner {
        _setOwner(newOwner);
    }

    /**
    * @dev Sets a new owner address
    */
    function _setOwner(address newOwner) internal {
        require(newOwner != address(0));
        emit OwnershipTransferred(owner(), newOwner);
        addressStorage[OWNER] = newOwner;
    }
}

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

pragma solidity ^0.4.24;


/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
    // Gas optimization: this is cheaper than asserting 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (_a == 0) {
      return 0;
    }

    c = _a * _b;
    assert(c / _a == _b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
    // assert(_b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = _a / _b;
    // assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold
    return _a / _b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 _a, uint256 _b) internal pure returns (uint256) {
    assert(_b <= _a);
    return _a - _b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
    c = _a + _b;
    assert(c >= _a);
    return c;
  }
}

// File: contracts/upgradeable_contracts/Initializable.sol

pragma solidity 0.4.24;


contract Initializable is EternalStorage {
    bytes32 internal constant INITIALIZED = 0x0a6f646cd611241d8073675e00d1a1ff700fbf1b53fcf473de56d1e6e4b714ba; // keccak256(abi.encodePacked("isInitialized"))

    function setInitialize() internal {
        boolStorage[INITIALIZED] = true;
    }

    function isInitialized() public view returns (bool) {
        return boolStorage[INITIALIZED];
    }
}

// File: contracts/upgradeable_contracts/InitializableBridge.sol

pragma solidity 0.4.24;


contract InitializableBridge is Initializable {
    bytes32 internal constant DEPLOYED_AT_BLOCK = 0xb120ceec05576ad0c710bc6e85f1768535e27554458f05dcbb5c65b8c7a749b0; // keccak256(abi.encodePacked("deployedAtBlock"))

    function deployedAtBlock() external view returns (uint256) {
        return uintStorage[DEPLOYED_AT_BLOCK];
    }
}

// File: contracts/upgradeable_contracts/BaseBridgeValidators.sol

pragma solidity 0.4.24;




contract BaseBridgeValidators is InitializableBridge, Ownable {
    using SafeMath for uint256;

    address public constant F_ADDR = 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF;
    uint256 internal constant MAX_VALIDATORS = 50;
    bytes32 internal constant REQUIRED_SIGNATURES = 0xd18ea17c351d6834a0e568067fb71804d2a588d5e26d60f792b1c724b1bd53b1; // keccak256(abi.encodePacked("requiredSignatures"))
    bytes32 internal constant VALIDATOR_COUNT = 0x8656d603d9f985c3483946a92789d52202f49736384ba131cb92f62c4c1aa082; // keccak256(abi.encodePacked("validatorCount"))

    event ValidatorAdded(address indexed validator);
    event ValidatorRemoved(address indexed validator);
    event RequiredSignaturesChanged(uint256 requiredSignatures);

    function setRequiredSignatures(uint256 _requiredSignatures) external onlyOwner {
        require(validatorCount() >= _requiredSignatures);
        require(_requiredSignatures != 0);
        uintStorage[REQUIRED_SIGNATURES] = _requiredSignatures;
        emit RequiredSignaturesChanged(_requiredSignatures);
    }

    function getBridgeValidatorsInterfacesVersion() external pure returns (uint64 major, uint64 minor, uint64 patch) {
        return (2, 3, 0);
    }

    function validatorList() external view returns (address[]) {
        address[] memory list = new address[](validatorCount());
        uint256 counter = 0;
        address nextValidator = getNextValidator(F_ADDR);
        require(nextValidator != address(0));

        while (nextValidator != F_ADDR) {
            list[counter] = nextValidator;
            nextValidator = getNextValidator(nextValidator);
            counter++;

            require(nextValidator != address(0));
        }

        return list;
    }

    function _addValidator(address _validator) internal {
        require(_validator != address(0) && _validator != F_ADDR);
        require(!isValidator(_validator));

        address firstValidator = getNextValidator(F_ADDR);
        require(firstValidator != address(0));
        setNextValidator(_validator, firstValidator);
        setNextValidator(F_ADDR, _validator);
        setValidatorCount(validatorCount().add(1));
    }

    function _removeValidator(address _validator) internal {
        require(validatorCount() > requiredSignatures());
        require(isValidator(_validator));
        address validatorsNext = getNextValidator(_validator);
        address index = F_ADDR;
        address next = getNextValidator(index);
        require(next != address(0));

        while (next != _validator) {
            index = next;
            next = getNextValidator(index);

            require(next != F_ADDR && next != address(0));
        }

        setNextValidator(index, validatorsNext);
        deleteItemFromAddressStorage("validatorsList", _validator);
        setValidatorCount(validatorCount().sub(1));
    }

    function requiredSignatures() public view returns (uint256) {
        return uintStorage[REQUIRED_SIGNATURES];
    }

    function validatorCount() public view returns (uint256) {
        return uintStorage[VALIDATOR_COUNT];
    }

    function isValidator(address _validator) public view returns (bool) {
        return _validator != F_ADDR && getNextValidator(_validator) != address(0);
    }

    function getNextValidator(address _address) public view returns (address) {
        return addressStorage[keccak256(abi.encodePacked("validatorsList", _address))];
    }

    function deleteItemFromAddressStorage(string _mapName, address _address) internal {
        delete addressStorage[keccak256(abi.encodePacked(_mapName, _address))];
    }

    function setValidatorCount(uint256 _validatorCount) internal {
        require(_validatorCount <= MAX_VALIDATORS);
        uintStorage[VALIDATOR_COUNT] = _validatorCount;
    }

    function setNextValidator(address _prevValidator, address _validator) internal {
        addressStorage[keccak256(abi.encodePacked("validatorsList", _prevValidator))] = _validator;
    }

    function isValidatorDuty(address _validator) external view returns (bool) {
        uint256 counter = 0;
        address next = getNextValidator(F_ADDR);
        require(next != address(0));

        while (next != F_ADDR) {
            if (next == _validator) {
                return (block.number % validatorCount() == counter);
            }

            next = getNextValidator(next);
            counter++;

            require(next != address(0));
        }

        return false;
    }
}

// File: contracts/upgradeable_contracts/BridgeValidators.sol

pragma solidity 0.4.24;


contract BridgeValidators is BaseBridgeValidators {
    function initialize(uint256 _requiredSignatures, address[] _initialValidators, address _owner)
        external
        onlyRelevantSender
        returns (bool)
    {
        require(!isInitialized());
        _setOwner(_owner);
        require(_requiredSignatures != 0);
        require(_initialValidators.length >= _requiredSignatures);

        for (uint256 i = 0; i < _initialValidators.length; i++) {
            require(_initialValidators[i] != address(0) && _initialValidators[i] != F_ADDR);
            require(!isValidator(_initialValidators[i]));

            if (i == 0) {
                setNextValidator(F_ADDR, _initialValidators[i]);
                if (_initialValidators.length == 1) {
                    setNextValidator(_initialValidators[i], F_ADDR);
                }
            } else if (i == _initialValidators.length - 1) {
                setNextValidator(_initialValidators[i - 1], _initialValidators[i]);
                setNextValidator(_initialValidators[i], F_ADDR);
            } else {
                setNextValidator(_initialValidators[i - 1], _initialValidators[i]);
            }

            emit ValidatorAdded(_initialValidators[i]);
        }

        setValidatorCount(_initialValidators.length);
        uintStorage[REQUIRED_SIGNATURES] = _requiredSignatures;
        uintStorage[DEPLOYED_AT_BLOCK] = block.number;
        setInitialize();
        emit RequiredSignaturesChanged(_requiredSignatures);

        return isInitialized();
    }

    function addValidator(address _validator) external onlyOwner {
        _addValidator(_validator);
        emit ValidatorAdded(_validator);
    }

    function removeValidator(address _validator) external onlyOwner {
        _removeValidator(_validator);
        emit ValidatorRemoved(_validator);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"validatorCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBridgeValidatorsInterfacesVersion","outputs":[{"name":"major","type":"uint64"},{"name":"minor","type":"uint64"},{"name":"patch","type":"uint64"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"isInitialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_validator","type":"address"}],"name":"removeValidator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_validator","type":"address"}],"name":"addValidator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_requiredSignatures","type":"uint256"},{"name":"_initialValidators","type":"address[]"},{"name":"_owner","type":"address"}],"name":"initialize","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"validatorList","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_requiredSignatures","type":"uint256"}],"name":"setRequiredSignatures","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"requiredSignatures","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"getNextValidator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_validator","type":"address"}],"name":"isValidatorDuty","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"deployedAtBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"F_ADDR","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_validator","type":"address"}],"name":"isValidator","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"validator","type":"address"}],"name":"ValidatorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"validator","type":"address"}],"name":"ValidatorRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"requiredSignatures","type":"uint256"}],"name":"RequiredSignaturesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"previousOwner","type":"address"},{"indexed":false,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

608060405234801561001057600080fd5b50611335806100206000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630f43a67781146100ea5780632bda4eee14610111578063392e53cd1461015257806340a141ff1461017b5780634d238c8e1461019e57806352af719f146101bf5780635890ef79146101ef5780637d2b9cc0146102545780638d0680431461026c5780638d37052c146102815780638da5cb5b146102be5780638e4ec60a146102d35780639a454b99146102f4578063c794c76914610309578063f2fde38b1461031e578063facd743b1461033f575b600080fd5b3480156100f657600080fd5b506100ff610360565b60408051918252519081900360200190f35b34801561011d57600080fd5b506101266103ae565b6040805167ffffffffffffffff9485168152928416602084015292168183015290519081900360600190f35b34801561015e57600080fd5b506101676103b9565b604080519115158252519081900360200190f35b34801561018757600080fd5b5061019c600160a060020a036004351661040a565b005b3480156101aa57600080fd5b5061019c600160a060020a0360043516610466565b3480156101cb57600080fd5b50610167600480359060248035908101910135600160a060020a03604435166104c2565b3480156101fb57600080fd5b506102046108f8565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610240578181015183820152602001610228565b505050509050019250505060405180910390f35b34801561026057600080fd5b5061019c6004356109c6565b34801561027857600080fd5b506100ff610a88565b34801561028d57600080fd5b506102a2600160a060020a0360043516610ad6565b60408051600160a060020a039092168252519081900360200190f35b3480156102ca57600080fd5b506102a2610bbe565b3480156102df57600080fd5b50610167600160a060020a0360043516610c15565b34801561030057600080fd5b506100ff610cbd565b34801561031557600080fd5b506102a2610d0b565b34801561032a57600080fd5b5061019c600160a060020a0360043516610d16565b34801561034b57600080fd5b50610167600160a060020a0360043516610d3e565b7f8656d603d9f985c3483946a92789d52202f49736384ba131cb92f62c4c1aa08260009081526020527f95d17efd9f452ee83a125e41a6180e225f2e2ff7d47d2c1f6cd9b2e14a207ba15490565b600260036000909192565b7f0a6f646cd611241d8073675e00d1a1ff700fbf1b53fcf473de56d1e6e4b714ba60005260046020527f078d888f9b66f3f8bfa10909e31f1e16240db73449f0500afdbbe3a70da457cc5460ff1690565b610412610bbe565b600160a060020a0316331461042657600080fd5b61042f81610d71565b604051600160a060020a038216907fe1434e25d6611e0db941968fdc97811c982ac1602e951637d206f5fdda9dd8f190600090a250565b61046e610bbe565b600160a060020a0316331461048257600080fd5b61048b81610e9b565b604051600160a060020a038216907fe366c1c0452ed8eec96861e9e54141ebff23c9ec89fe27b996b45f5ec388498790600090a250565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f6fde8202000000000000000000000000000000000000000000000000000000001781529151815160009384933093909290918291808383895b8381101561054657818101518382015260200161052e565b50505050905090810190601f1680156105735780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af1915050158061061e575030600160a060020a0316636fde82026040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156105e657600080fd5b505af11580156105fa573d6000803e3d6000fd5b505050506040513d602081101561061057600080fd5b5051600160a060020a031633145b8061062857503330145b151561063357600080fd5b61063b6103b9565b1561064557600080fd5b61064e83610f3e565b85151561065a57600080fd5b8584101561066757600080fd5b5060005b8381101561083157600085858381811061068157fe5b90506020020135600160a060020a0316600160a060020a0316141580156106d35750600160a060020a038585838181106106b757fe5b90506020020135600160a060020a0316600160a060020a031614155b15156106de57600080fd5b6107028585838181106106ed57fe5b90506020020135600160a060020a0316610d3e565b1561070c57600080fd5b8015156107795761073f600160a060020a0386868481811061072a57fe5b90506020020135600160a060020a0316611015565b60018414156107745761077485858381811061075757fe5b90506020020135600160a060020a0316600160a060020a03611015565b6107d8565b60001984018114156107c5576107b68585600019840181811061079857fe5b90506020020135600160a060020a0316868684818110151561072a57fe5b61077485858381811061075757fe5b6107d88585600019840181811061079857fe5b8484828181106107e457fe5b90506020020135600160a060020a0316600160a060020a03167fe366c1c0452ed8eec96861e9e54141ebff23c9ec89fe27b996b45f5ec388498760405160405180910390a260010161066b565b61083a8461111c565b600060208190527f8a247e09a5673bd4d93a4e76d8fb9553523aa0d77f51f3d576e7421f5295b9bc8790557fb120ceec05576ad0c710bc6e85f1768535e27554458f05dcbb5c65b8c7a749b09052437fe66bef0282a446f9848e2903380099bb6e431483ee78778868f33b4a154c818b556108b3611177565b6040805187815290517f10dbc913050d3180c3b99f7da91fd514af7cbc9c1bb59a0da5d2bc38f0cf395a9181900360200190a16108ee6103b9565b9695505050505050565b606080600080610906610360565b60405190808252806020026020018201604052801561092f578160200160208202803883390190505b50925060009150610946600160a060020a03610ad6565b9050600160a060020a038116151561095d57600080fd5b600160a060020a03818116146109be5780838381518110151561097c57fe5b600160a060020a0390921660209283029091019091015261099c81610ad6565b6001909201919050600160a060020a03811615156109b957600080fd5b61095d565b509092915050565b6109ce610bbe565b600160a060020a031633146109e257600080fd5b806109eb610360565b10156109f657600080fd5b801515610a0257600080fd5b7fd18ea17c351d6834a0e568067fb71804d2a588d5e26d60f792b1c724b1bd53b1600090815260209081527f8a247e09a5673bd4d93a4e76d8fb9553523aa0d77f51f3d576e7421f5295b9bc8290556040805183815290517f10dbc913050d3180c3b99f7da91fd514af7cbc9c1bb59a0da5d2bc38f0cf395a929181900390910190a150565b7fd18ea17c351d6834a0e568067fb71804d2a588d5e26d60f792b1c724b1bd53b160009081526020527f8a247e09a5673bd4d93a4e76d8fb9553523aa0d77f51f3d576e7421f5295b9bc5490565b6000600260008360405160200180807f76616c696461746f72734c697374000000000000000000000000000000000000815250600e0182600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b60208310610b745780518252601f199092019160209182019101610b55565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912086528501959095529290920160002054600160a060020a031695945050505050565b7f02016836a56b71f0d02689e69e326f4f4c1b9057164ef592671cf0d37c8040c060005260026020527fb7802e97e87ef2842a6cce7da7ffaeaedaa2f61a6a7870b23d9d01fc9b73712e54600160a060020a031690565b60008080610c29600160a060020a03610ad6565b9050600160a060020a0381161515610c4057600080fd5b600160a060020a0381811614610cb15783600160a060020a031681600160a060020a03161415610c865781610c73610360565b43811515610c7d57fe5b06149250610cb6565b610c8f81610ad6565b6001909201919050600160a060020a0381161515610cac57600080fd5b610c40565b600092505b5050919050565b7fb120ceec05576ad0c710bc6e85f1768535e27554458f05dcbb5c65b8c7a749b060009081526020527fe66bef0282a446f9848e2903380099bb6e431483ee78778868f33b4a154c818b5490565b600160a060020a0381565b610d1e610bbe565b600160a060020a03163314610d3257600080fd5b610d3b81610f3e565b50565b6000600160a060020a0382811614801590610d6b57506000610d5f83610ad6565b600160a060020a031614155b92915050565b6000806000610d7e610a88565b610d86610360565b11610d9057600080fd5b610d9984610d3e565b1515610da457600080fd5b610dad84610ad6565b9250600160a060020a039150610dc282610ad6565b9050600160a060020a0381161515610dd957600080fd5b600160a060020a0381811690851614610e2b57809150610df882610ad6565b9050600160a060020a0380821614801590610e1b5750600160a060020a03811615155b1515610e2657600080fd5b610dd9565b610e358284611015565b610e746040805190810160405280600e81526020017f76616c696461746f72734c697374000000000000000000000000000000000000815250856111ce565b610e95610e906001610e84610360565b9063ffffffff6112ea16565b61111c565b50505050565b6000600160a060020a03821615801590610ebe5750600160a060020a0382811614155b1515610ec957600080fd5b610ed282610d3e565b15610edc57600080fd5b610eec600160a060020a03610ad6565b9050600160a060020a0381161515610f0357600080fd5b610f0d8282611015565b610f1e600160a060020a0383611015565b610f3a610e906001610f2e610360565b9063ffffffff6112fc16565b5050565b600160a060020a0381161515610f5357600080fd5b7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0610f7c610bbe565b60408051600160a060020a03928316815291841660208301528051918290030190a17f02016836a56b71f0d02689e69e326f4f4c1b9057164ef592671cf0d37c8040c060005260026020527fb7802e97e87ef2842a6cce7da7ffaeaedaa2f61a6a7870b23d9d01fc9b73712e805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b80600260008460405160200180807f76616c696461746f72734c697374000000000000000000000000000000000000815250600e0182600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106110b25780518252601f199092019160209182019101611093565b51815160209384036101000a60001901801990921691161790526040805192909401829003909120865285019590955292909201600020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0395909516949094179093555050505050565b603281111561112a57600080fd5b7f8656d603d9f985c3483946a92789d52202f49736384ba131cb92f62c4c1aa08260009081526020527f95d17efd9f452ee83a125e41a6180e225f2e2ff7d47d2c1f6cd9b2e14a207ba155565b7f0a6f646cd611241d8073675e00d1a1ff700fbf1b53fcf473de56d1e6e4b714ba60005260046020527f078d888f9b66f3f8bfa10909e31f1e16240db73449f0500afdbbe3a70da457cc805460ff19166001179055565b6002600083836040516020018083805190602001908083835b602083106112065780518252601f1990920191602091820191016111e7565b6001836020036101000a03801982511681845116808217855250505050505090500182600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401925050506040516020818303038152906040526040518082805190602001908083835b602083106112915780518252601f199092019160209182019101611272565b51815160209384036101000a60001901801990921691161790526040805192909401829003909120865285019590955292909201600020805473ffffffffffffffffffffffffffffffffffffffff191690555050505050565b6000828211156112f657fe5b50900390565b81810182811015610d6b57fe00a165627a7a72305820c1de2493d58ba47cc3387d6794cedc4a2bfd1dfc3ca4c0766417fb7f16e1e7220029

Deployed ByteCode Sourcemap

10396:1899:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8758:110;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8758:110:0;;;;;;;;;;;;;;;;;;;;6775:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6775:148:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5038:102;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5038:102:0;;;;;;;;;;;;;;;;;;;;;;12137:155;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12137:155:0;-1:-1:-1;;;;;12137:155:0;;;;;;;11982:147;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;11982:147:0;-1:-1:-1;;;;;11982:147:0;;;;;10453:1521;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;10453:1521:0;;;;;;;;;;;;;;-1:-1:-1;;;;;10453:1521:0;;;;;6931:532;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6931:532:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6931:532:0;;;;;;;;;;;;;;;;;6450:317;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6450:317:0;;;;;8632:118;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8632:118:0;;;;9044:171;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;9044:171:0;-1:-1:-1;;;;;9044:171:0;;;;;;;;;-1:-1:-1;;;;;9044:171:0;;;;;;;;;;;;;;2526:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2526:94:0;;;;9785:510;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;9785:510:0;-1:-1:-1;;;;;9785:510:0;;;;;5468:115;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5468:115:0;;;;5796:75;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5796:75:0;;;;2794:102;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2794:102:0;-1:-1:-1;;;;;2794:102:0;;;;;8876:160;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;8876:160:0;-1:-1:-1;;;;;8876:160:0;;;;;8758:110;6148:66;8805:7;8832:28;;;;;;;8758:110;:::o;6775:148::-;6907:1;6910;6846:12;6775:148;;;:::o;5038:102::-;4823:66;5084:4;5108:24;:11;:24;;;;;;5038:102;:::o;12137:155::-;1552:7;:5;:7::i;:::-;-1:-1:-1;;;;;1538:21:0;:10;:21;1530:30;;;;;;12212:28;12229:10;12212:16;:28::i;:::-;12256;;-1:-1:-1;;;;;12256:28:0;;;;;;;;12137:155;:::o;11982:147::-;1552:7;:5;:7::i;:::-;-1:-1:-1;;;;;1538:21:0;:10;:21;1530:30;;;;;;12054:25;12068:10;12054:13;:25::i;:::-;12095:26;;-1:-1:-1;;;;;12095:26:0;;;;;;;;11982:147;:::o;10453:1521::-;1871:44;;;22:32:-1;6:49;;1871:44:0;;;;;49:4:-1;25:18;;61:17;;1871:44:0;182:15:-1;1894:20:0;179:29:-1;160:49;;1852:64:0;;;;10612:4;;;;1860;;1871:44;;1852:64;;;;;;25:18:-1;10612:4:0;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1852:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1851:65;:209;;;;2033:4;-1:-1:-1;;;;;2005:53:0;;:55;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2005:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2005:55:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2005:55:0;-1:-1:-1;;;;;1991:69:0;:10;:69;1851:209;:301;;;-1:-1:-1;2125:10:0;2147:4;2125:27;1851:301;1829:386;;;;;;;;10643:15;:13;:15::i;:::-;10642:16;10634:25;;;;;;10670:17;10680:6;10670:9;:17::i;:::-;10706:24;;;10698:33;;;;;;10750:48;;;;10742:57;;;;;;-1:-1:-1;10829:1:0;10812:854;10832:29;;;10812:854;;;10924:1;10891:18;;10910:1;10891:21;;;;;;;;;;;;;-1:-1:-1;;;;;10891:21:0;-1:-1:-1;;;;;10891:35:0;;;:70;;;;-1:-1:-1;;;;;;10930:18:0;;10949:1;10930:21;;;;;;;;;;;;;-1:-1:-1;;;;;10930:21:0;-1:-1:-1;;;;;10930:31:0;;;10891:70;10883:79;;;;;;;;10986:34;10998:18;;11017:1;10998:21;;;;;;;;;;;;;-1:-1:-1;;;;;10998:21:0;10986:11;:34::i;:::-;10985:35;10977:44;;;;;;11042:6;;11038:558;;;11069:47;-1:-1:-1;;;;;11094:18:0;;11113:1;11094:21;;;;;;;;;;;;;-1:-1:-1;;;;;11094:21:0;11069:16;:47::i;:::-;11168:1;11139:30;;11135:126;;;11194:47;11211:18;;11230:1;11211:21;;;;;;;;;;;;;-1:-1:-1;;;;;11211:21:0;-1:-1:-1;;;;;11194:16:0;:47::i;:::-;11038:558;;;-1:-1:-1;;11291:29:0;;11286:34;;11282:314;;;11341:66;11358:18;;-1:-1:-1;;11377:5:0;;11358:25;;;;;;;;;;;;;-1:-1:-1;;;;;11358:25:0;11385:18;;11404:1;11385:21;;;;;;;;11341:66;11426:47;11443:18;;11462:1;11443:21;;;;;;11282:314;11514:66;11531:18;;-1:-1:-1;;11550:5:0;;11531:25;;;;;;11514:66;11632:18;;11651:1;11632:21;;;;;;;;;;;;;-1:-1:-1;;;;;11632:21:0;-1:-1:-1;;;;;11617:37:0;;;;;;;;;;;10863:3;;10812:854;;;11678:44;11696:18;11678:17;:44::i;:::-;11733:11;:32;;;;;:54;;;5343:66;11798:30;;11831:12;11798:30;:45;11854:15;:13;:15::i;:::-;11885:46;;;;;;;;;;;;;;;;;11951:15;:13;:15::i;:::-;11944:22;10453:1521;-1:-1:-1;;;;;;10453:1521:0:o;6931:532::-;6979:9;7001:21;7067:15;7097:21;7039:16;:14;:16::i;:::-;7025:31;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;7025:31:0;;7001:55;;7085:1;7067:19;;7121:24;-1:-1:-1;;;;;7121:16:0;:24::i;:::-;7097:48;-1:-1:-1;;;;;;7164:27:0;;;;7156:36;;;;;;-1:-1:-1;;;;;7212:23:0;;;;7205:227;;7268:13;7252:4;7257:7;7252:13;;;;;;;;;;-1:-1:-1;;;;;7252:29:0;;;:13;;;;;;;;;;:29;7312:31;7329:13;7312:16;:31::i;:::-;7358:9;;;;;7296:47;-1:-1:-1;;;;;;7392:27:0;;;;7384:36;;;;;;7205:227;;;-1:-1:-1;7451:4:0;;6931:532;-1:-1:-1;;6931:532:0:o;6450:317::-;1552:7;:5;:7::i;:::-;-1:-1:-1;;;;;1538:21:0;:10;:21;1530:30;;;;;;6568:19;6548:16;:14;:16::i;:::-;:39;;6540:48;;;;;;6607:24;;;6599:33;;;;;;5978:66;6643:11;:32;;;;;;;;:54;;;:32;6713:46;;;;;;;;;;;;;;;;;;6450:317;:::o;8632:118::-;5978:66;8683:7;8710:32;;;;;;;8632:118;:::o;9044:171::-;9109:7;9136:14;:71;9196:8;9161:44;;;;;;;;;;;;;-1:-1:-1;;;;;9161:44:0;-1:-1:-1;;;;;9161:44:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;9161:44:0;;;9151:55;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;9151:55:0;;;;;;;;;;;;;9136:71;;;;;;;;;;;;-1:-1:-1;9136:71:0;;-1:-1:-1;;;;;9136:71:0;;9044:171;-1:-1:-1;;;;;9044:171:0:o;2526:94::-;2311:66;2564:7;2591:21;:14;:21;;;;-1:-1:-1;;;;;2591:21:0;2526:94;:::o;9785:510::-;9853:4;;;9915:24;-1:-1:-1;;;;;9915:16:0;:24::i;:::-;9900:39;-1:-1:-1;;;;;;9958:18:0;;;;9950:27;;;;;;-1:-1:-1;;;;;9997:14:0;;;;9990:273;;10040:10;-1:-1:-1;;;;;10032:18:0;:4;-1:-1:-1;;;;;10032:18:0;;10028:110;;;10114:7;10094:16;:14;:16::i;:::-;10079:12;:31;;;;;;;;:42;10071:51;;;;10028:110;10161:22;10178:4;10161:16;:22::i;:::-;10198:9;;;;;10154:29;-1:-1:-1;;;;;;10232:18:0;;;;10224:27;;;;;;9990:273;;;10282:5;10275:12;;9785:510;;;;;;:::o;5468:115::-;5343:66;5518:7;5545:30;;;;;;;5468:115;:::o;5796:75::-;-1:-1:-1;;;;;5796:75:0;:::o;2794:102::-;1552:7;:5;:7::i;:::-;-1:-1:-1;;;;;1538:21:0;:10;:21;1530:30;;;;;;2869:19;2879:8;2869:9;:19::i;:::-;2794:102;:::o;8876:160::-;8938:4;-1:-1:-1;;;;;8962:20:0;;;;;;;:66;;-1:-1:-1;9026:1:0;8986:28;9003:10;8986:16;:28::i;:::-;-1:-1:-1;;;;;8986:42:0;;;8962:66;8955:73;8876:160;-1:-1:-1;;8876:160:0:o;7916:708::-;8084:22;8148:13;8181:12;8009:20;:18;:20::i;:::-;7990:16;:14;:16::i;:::-;:39;7982:48;;;;;;8049:23;8061:10;8049:11;:23::i;:::-;8041:32;;;;;;;;8109:28;8126:10;8109:16;:28::i;:::-;8084:53;;-1:-1:-1;;;;;8148:22:0;;8196:23;8213:5;8196:16;:23::i;:::-;8181:38;-1:-1:-1;;;;;;8238:18:0;;;;8230:27;;;;;;-1:-1:-1;;;;;8277:18:0;;;;;;;8270:173;;8320:4;8312:12;;8346:23;8363:5;8346:16;:23::i;:::-;8339:30;-1:-1:-1;;;;;;8394:14:0;;;;;;;:36;;-1:-1:-1;;;;;;8412:18:0;;;;8394:36;8386:45;;;;;;;;8270:173;;;8455:39;8472:5;8479:14;8455:16;:39::i;:::-;8505:58;;;;;;;;;;;;;;;;;;;8552:10;8505:28;:58::i;:::-;8574:42;8592:23;8613:1;8592:16;:14;:16::i;:::-;:20;:23;:20;:23;:::i;:::-;8574:17;:42::i;:::-;7916:708;;;;:::o;7471:437::-;7648:22;-1:-1:-1;;;;;7542:24:0;;;;;;:48;;-1:-1:-1;;;;;;7570:20:0;;;;;7542:48;7534:57;;;;;;;;7611:23;7623:10;7611:11;:23::i;:::-;7610:24;7602:33;;;;;;7673:24;-1:-1:-1;;;;;7673:16:0;:24::i;:::-;7648:49;-1:-1:-1;;;;;;7716:28:0;;;;7708:37;;;;;;7756:44;7773:10;7785:14;7756:16;:44::i;:::-;7811:36;-1:-1:-1;;;;;7836:10:0;7811:16;:36::i;:::-;7858:42;7876:23;7897:1;7876:16;:14;:16::i;:::-;:20;:23;:20;:23;:::i;7858:42::-;7471:437;;:::o;2958:194::-;-1:-1:-1;;;;;3023:22:0;;;;3015:31;;;;;;3062:39;3083:7;:5;:7::i;:::-;3062:39;;;-1:-1:-1;;;;;3062:39:0;;;;;;;;;;;;;;;;;;;;;2311:66;3112:21;;:14;:21;;;:32;;-1:-1:-1;;3112:32:0;-1:-1:-1;;;;;3112:32:0;;;;;;;;;;2958:194::o;9589:188::-;9759:10;9679:14;:77;9739:14;9704:50;;;;;;;;;;;;;-1:-1:-1;;;;;9704:50:0;-1:-1:-1;;;;;9704:50:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;9704:50:0;;;9694:61;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;9694:61:0;;;;;;;;;;;;;9679:77;;;;;;;;;;;;-1:-1:-1;9679:77:0;:90;;-1:-1:-1;;9679:90:0;-1:-1:-1;;;;;9679:90:0;;;;;;;;;;;-1:-1:-1;;;;;9589:188:0:o;9402:179::-;5921:2;9482:33;;;9474:42;;;;;;6148:66;9527:11;:28;;;;;;:46;9402:179::o;4946:84::-;4823:66;4991:24;;:11;:24;;;:31;;-1:-1:-1;;4991:31:0;5018:4;4991:31;;;4946:84::o;9223:171::-;9323:14;:63;9365:8;9375;9348:36;;;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;9348:36:0;;;;;;;-1:-1:-1;;;;;9348:36:0;-1:-1:-1;;;;;9348:36:0;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;9348:36:0;;;9338:47;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;9338:47:0;;;;;;;;;;;;;9323:63;;;;;;;;;;;;-1:-1:-1;9323:63:0;9316:70;;-1:-1:-1;;9316:70:0;;;-1:-1:-1;;;;;9223:171:0:o;4319:119::-;4379:7;4402:8;;;;4395:16;;;;-1:-1:-1;4425:7:0;;;4319:119::o;4505:132::-;4587:7;;;4608;;;;4601:15;;

Swarm Source

bzzr://c1de2493d58ba47cc3387d6794cedc4a2bfd1dfc3ca4c0766417fb7f16e1e722
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.