Contract 0x6847a17c4ac30afd24fdcb2422da01207c480a79

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf890432f2ba1f7b7cab5501fa08b828d805c0f86395d474be33b81bc68430c4b0x60806040204360772022-08-16 19:54:0741 days 22 hrs ago0xee8b29aa52dd5ff2559da2c50b1887adee257556 IN  Create: RegistryAccessControl0 ETH0.002138459222 ETH
[ Download CSV Export 
Latest 9 internal transactions
Parent Txn Hash Block From To Value
0xab8b620f7d61058c35e1dbb80ecdf09403b9a94279d9776507619f9b3be078f4205229092022-08-17 16:29:5341 days 1 hr ago 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c 0x6847a17c4ac30afd24fdcb2422da01207c480a790 ETH
0xab8b620f7d61058c35e1dbb80ecdf09403b9a94279d9776507619f9b3be078f4205229092022-08-17 16:29:5341 days 1 hr ago 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c 0x6847a17c4ac30afd24fdcb2422da01207c480a790 ETH
0xab8b620f7d61058c35e1dbb80ecdf09403b9a94279d9776507619f9b3be078f4205229092022-08-17 16:29:5341 days 1 hr ago 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c 0x6847a17c4ac30afd24fdcb2422da01207c480a790 ETH
0xab8b620f7d61058c35e1dbb80ecdf09403b9a94279d9776507619f9b3be078f4205229092022-08-17 16:29:5341 days 1 hr ago 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c 0x6847a17c4ac30afd24fdcb2422da01207c480a790 ETH
0xab8b620f7d61058c35e1dbb80ecdf09403b9a94279d9776507619f9b3be078f4205229092022-08-17 16:29:5341 days 1 hr ago 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c 0x6847a17c4ac30afd24fdcb2422da01207c480a790 ETH
0xab8b620f7d61058c35e1dbb80ecdf09403b9a94279d9776507619f9b3be078f4205229092022-08-17 16:29:5341 days 1 hr ago 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c 0x6847a17c4ac30afd24fdcb2422da01207c480a790 ETH
0xab8b620f7d61058c35e1dbb80ecdf09403b9a94279d9776507619f9b3be078f4205229092022-08-17 16:29:5341 days 1 hr ago 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c 0x6847a17c4ac30afd24fdcb2422da01207c480a790 ETH
0xab8b620f7d61058c35e1dbb80ecdf09403b9a94279d9776507619f9b3be078f4205229092022-08-17 16:29:5341 days 1 hr ago 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c 0x6847a17c4ac30afd24fdcb2422da01207c480a790 ETH
0xab8b620f7d61058c35e1dbb80ecdf09403b9a94279d9776507619f9b3be078f4205229092022-08-17 16:29:5341 days 1 hr ago 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c 0x6847a17c4ac30afd24fdcb2422da01207c480a790 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RegistryAccessControl

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan on 2022-08-16
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

// File: Address.sol

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return
            functionCallWithValue(
                target,
                data,
                value,
                "Address: low-level call with value failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(
            address(this).balance >= value,
            "Address: insufficient balance for call"
        );
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) =
            target.call{value: weiValue}(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {

 revert(errorMessage);
            }
        }
    }
}

// File: Context.sol

/*
 * @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: EnumerableSet.sol

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value)
        private
        view
        returns (bool)
    {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index)
        private
        view
        returns (bytes32)
    {
        require(
            set._values.length > index,
            "EnumerableSet: index out of bounds"
        );
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index)
        internal
        view
        returns (address)
    {
        return address(uint256(_at(set._inner, index)));
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index)
        internal
        view
        returns (uint256)
    {
        return uint256(_at(set._inner, index));
    }
}

// File: IBadgerRegistryV2.sol

interface IBadgerRegistryV2 {
	event NewVault(address author, string version, string metadata, address vault);
	event RemoveVault(address author, string version, string metadata, address vault);
	event PromoteVault(address author, string version, string metadata, address vault, VaultStatus status);
	event DemoteVault(address author, string version, string metadata, address vault, VaultStatus status);
	event PurgeVault(address author, string version, string metadata, address vault, VaultStatus status);

	event Set(string key, address at);
	event AddKey(string key);
	event DeleteKey(string key);
	event AddVersion(string version);

	enum VaultStatus {
		deprecated,
		experimental,
		guarded,
		open
	}

	struct VaultInfo {
		address vault;
		string version;
		VaultStatus status;
		string metadata;
	}

	struct VaultMetadata {
		address vault;
		string metadata;
	}

	struct VaultData {
		string version;
		VaultStatus status;
		VaultMetadata[] list;
	}

	function initialize(address newGovernance, address newStrategistGuild) external;
	function setGovernance(address _newGov) external;
	function setDeveloper(address newDev) external;
	function setStrategistGuild(address newStrategistGuild) external;
	function addVersions(string memory version) external;
	function add(
		address vault,
		string memory version,
		string memory metadata
	) external;
	function remove(address vault) external;
	function promote(
		address vault,
		string memory version,
		string memory metadata,
		VaultStatus status
	) external;
	function demote(address vault, VaultStatus status) external;
	function purge(address vault) external;
	function updateMetadata(address vault, string memory metadata) external;
	function set(string memory key, address at) external;
	function deleteKey(string memory key) external;
	function deleteKeys(string[] memory _keys) external;
	function governance() external view returns (address);
	function developer() external view returns (address);
	function strategistGuild() external view returns (address);
	function get(string memory key) external view returns (address);
	function keysCount() external view returns (uint256);
	function getVaults(string memory version, address author) external view returns (VaultInfo[] memory);
	function getFilteredProductionVaults(string memory version, VaultStatus status)
		external
		view
		returns (VaultInfo[] memory);
	function getProductionVaults() external view returns (VaultData[] memory);
}

// File: AccessControl.sol

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(
        bytes32 indexed role,
        bytes32 indexed previousAdminRole,
        bytes32 indexed newAdminRole
    );

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(
        bytes32 indexed role,
        address indexed account,
        address indexed sender
    );

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(
        bytes32 indexed role,
        address indexed account,
        address indexed sender
    );

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index)
        public
        view
        returns (address)
    {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(
            hasRole(_roles[role].adminRole, _msgSender()),
            "AccessControl: sender must be an admin to grant"
        );

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(
            hasRole(_roles[role].adminRole, _msgSender()),
            "AccessControl: sender must be an admin to revoke"
        );

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(
            account == _msgSender(),
            "AccessControl: can only renounce roles for self"
        );

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: RegistryAccessControl.sol

/**
@title RegistryAccessControl
@author Saj @ BadgerDAO

@dev ACL proxy for the Badger Registry V2. This contract serves two purposes:
    - Allows for the addition/removal of experimental vaults to the Registry
    from a single address. Vaults indexed to this contract's address will be displayed on the
    UI as experimental. This is to avoid having to keep track of all deployer's addresses
    and maintaining that list off-chain.
    - Allows for multiple developers (with the list controlled by the contract's admin), to
    function as the Registry's "developer" actor - can promote to experimental and demote vaults
    in a quick fashion.

@notice For promote() and demote() to work, this contract must be set as the "developer" on
the Badger Registry V2.

References:
BadgerRegistry repo: https://github.com/Badger-Finance/badger-registry
*/

contract RegistryAccessControl is AccessControl {
    // Registery Roles
    bytes32 public constant DEVELOPER_ROLE = keccak256("DEVELOPER_ROLE");

    // Addresses
    IBadgerRegistryV2 public constant registry = IBadgerRegistryV2(0xdc602965F3e5f1e7BAf2446d5564b407d5113A06);

    constructor(address initialAdmin) public {
        _setupRole(DEFAULT_ADMIN_ROLE, initialAdmin);
    }

    // ===== Permissioned Functions: Developer =====

    /// @dev Add a vault to the registry under this contract's address
    /// @notice The vault will be indexed under this contract's address
    function add(
        address vault,
        string memory version,
        string memory metadata
    ) external {
        require(hasRole(DEVELOPER_ROLE, msg.sender), "DEVELOPER_ROLE");
        registry.add(vault, version, metadata);
    }

    /// @dev Remove the vault from this contract's address index
    function remove(address vault) external {
        require(hasRole(DEVELOPER_ROLE, msg.sender), "DEVELOPER_ROLE");
        registry.remove(vault);
    }

    /// @dev Promote a vault to Production on the Registry
    /// @notice Promote just means indexed by the Governance Address
    /// @notice Should this contract be set as the "developer" on the registry it will be able
    /// to promote up to experimental, otherwise this function will revert due to permissions.
    function promote(
        address vault,
        string memory version,
        string memory metadata,
        IBadgerRegistryV2.VaultStatus status
    ) external {
        require(hasRole(DEVELOPER_ROLE, msg.sender), "DEVELOPER_ROLE");
        registry.promote(vault, version, metadata, status);
    }

    /// @dev Demotes a vault to a lower status
    /// @notice This call will only work if this contract is set as the "developer" on the registry
    function demote(address vault, IBadgerRegistryV2.VaultStatus status) external {
        require(hasRole(DEVELOPER_ROLE, msg.sender), "DEVELOPER_ROLE");
        registry.demote(vault, status);
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialAdmin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEVELOPER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"vault","type":"address"},{"internalType":"string","name":"version","type":"string"},{"internalType":"string","name":"metadata","type":"string"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"vault","type":"address"},{"internalType":"enum IBadgerRegistryV2.VaultStatus","name":"status","type":"uint8"}],"name":"demote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"vault","type":"address"},{"internalType":"string","name":"version","type":"string"},{"internalType":"string","name":"metadata","type":"string"},{"internalType":"enum IBadgerRegistryV2.VaultStatus","name":"status","type":"uint8"}],"name":"promote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"registry","outputs":[{"internalType":"contract IBadgerRegistryV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"vault","type":"address"}],"name":"remove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162000f7238038062000f7283398101604081905262000034916200015c565b6200004160008262000048565b506200018c565b62000054828262000058565b5050565b6000828152602081815260409091206200007d918390620005fd620000d1821b17901c565b1562000054576200008d620000f1565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620000e8836001600160a01b038416620000f5565b90505b92915050565b3390565b600062000103838362000144565b6200013b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620000eb565b506000620000eb565b60009081526001919091016020526040902054151590565b6000602082840312156200016e578081fd5b81516001600160a01b038116811462000185578182fd5b9392505050565b610dd6806200019c6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80637b1039991161008c57806391d148541161006657806391d14854146101bc578063a217fddf146101dc578063ca15c873146101e4578063d547741f146101f7576100ea565b80637b1039991461018c5780639010d07c146101a15780639103a0e0146101b4576100ea565b8063299699cd116100c8578063299699cd146101405780632f2ff15d1461015357806336568abe1461016657806346bc7fd914610179576100ea565b80631a0ade50146100ef578063248a9ca31461010457806329092d0e1461012d575b600080fd5b6101026100fd36600461094a565b61020a565b005b610117610112366004610a7f565b6102b6565b6040516101249190610bfd565b60405180910390f35b61010261013b36600461092f565b6102cb565b61010261014e3660046109f6565b61036b565b610102610161366004610a97565b610414565b610102610174366004610a97565b61045c565b610102610187366004610984565b61049e565b610194610544565b6040516101249190610b27565b6101946101af366004610abb565b61055c565b61011761057d565b6101cf6101ca366004610a97565b61058f565b6040516101249190610bf2565b6101176105a7565b6101176101f2366004610a7f565b6105ac565b610102610205366004610a97565b6105c3565b610222600080516020610d818339815191523361058f565b6102475760405162461bcd60e51b815260040161023e90610c97565b60405180910390fd5b6040516301a0ade560e41b815273dc602965f3e5f1e7baf2446d5564b407d5113a0690631a0ade50906102809085908590600401610b3b565b600060405180830381600087803b15801561029a57600080fd5b505af11580156102ae573d6000803e3d6000fd5b505050505050565b60009081526020819052604090206002015490565b6102e3600080516020610d818339815191523361058f565b6102ff5760405162461bcd60e51b815260040161023e90610c97565b604051631484968760e11b815273dc602965f3e5f1e7baf2446d5564b407d5113a06906329092d0e90610336908490600401610b27565b600060405180830381600087803b15801561035057600080fd5b505af1158015610364573d6000803e3d6000fd5b5050505050565b610383600080516020610d818339815191523361058f565b61039f5760405162461bcd60e51b815260040161023e90610c97565b60405163299699cd60e01b815273dc602965f3e5f1e7baf2446d5564b407d5113a069063299699cd906103dc908790879087908790600401610ba1565b600060405180830381600087803b1580156103f657600080fd5b505af115801561040a573d6000803e3d6000fd5b5050505050505050565b600082815260208190526040902060020154610432906101ca610612565b61044e5760405162461bcd60e51b815260040161023e90610c48565b6104588282610616565b5050565b610464610612565b6001600160a01b0316816001600160a01b0316146104945760405162461bcd60e51b815260040161023e90610d0f565b610458828261067f565b6104b6600080516020610d818339815191523361058f565b6104d25760405162461bcd60e51b815260040161023e90610c97565b6040516346bc7fd960e01b815273dc602965f3e5f1e7baf2446d5564b407d5113a06906346bc7fd99061050d90869086908690600401610b61565b600060405180830381600087803b15801561052757600080fd5b505af115801561053b573d6000803e3d6000fd5b50505050505050565b73dc602965f3e5f1e7baf2446d5564b407d5113a0681565b600082815260208190526040812061057490836106e8565b90505b92915050565b600080516020610d8183398151915281565b600082815260208190526040812061057490836106f4565b600081565b600081815260208190526040812061057790610709565b6000828152602081905260409020600201546105e1906101ca610612565b6104945760405162461bcd60e51b815260040161023e90610cbf565b6000610574836001600160a01b038416610714565b3390565b600082815260208190526040902061062e90826105fd565b156104585761063b610612565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020610697908261075e565b15610458576106a4610612565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006105748383610773565b6000610574836001600160a01b0384166107b8565b6000610577826107d0565b600061072083836107b8565b61075657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610577565b506000610577565b6000610574836001600160a01b0384166107d4565b815460009082106107965760405162461bcd60e51b815260040161023e90610c06565b8260000182815481106107a557fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b60008181526001830160205260408120548015610890578354600019808301919081019060009087908390811061080757fe5b906000526020600020015490508087600001848154811061082457fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061085457fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610577565b6000915050610577565b80356001600160a01b038116811461057757600080fd5b600082601f8301126108c1578081fd5b813567ffffffffffffffff808211156108d8578283fd5b604051601f8301601f1916810160200182811182821017156108f8578485fd5b60405282815292508284830160200186101561091357600080fd5b8260208601602083013760006020848301015250505092915050565b600060208284031215610940578081fd5b610574838361089a565b6000806040838503121561095c578081fd5b610966848461089a565b9150602083013560048110610979578182fd5b809150509250929050565b600080600060608486031215610998578081fd5b6109a2858561089a565b9250602084013567ffffffffffffffff808211156109be578283fd5b6109ca878388016108b1565b935060408601359150808211156109df578283fd5b506109ec868287016108b1565b9150509250925092565b60008060008060808587031215610a0b578081fd5b8435610a1681610d6b565b9350602085013567ffffffffffffffff80821115610a32578283fd5b610a3e888389016108b1565b94506040870135915080821115610a53578283fd5b50610a60878288016108b1565b925050606085013560048110610a74578182fd5b939692955090935050565b600060208284031215610a90578081fd5b5035919050565b60008060408385031215610aa9578182fd5b82359150602083013561097981610d6b565b60008060408385031215610acd578182fd5b50508035926020909101359150565b60008151808452815b81811015610b0157602081850181015186830182015201610ae5565b81811115610b125782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b038316815260408101610b5483610d5e565b8260208301529392505050565b6001600160a01b0384168152606060208201819052600090610b8590830185610adc565b8281036040840152610b978185610adc565b9695505050505050565b6001600160a01b0385168152608060208201819052600090610bc590830186610adc565b8281036040840152610bd78186610adc565b915050610be383610d5e565b82606083015295945050505050565b901515815260200190565b90815260200190565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b6020808252600e908201526d444556454c4f5045525f524f4c4560901b604082015260600190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60048110610d6857fe5b50565b6001600160a01b0381168114610d6857600080fdfe4504b9dfd7400a1522f49a8b4a100552da9236849581fd59b7363eb48c6a474ca26469706673582212203be666af978aaa66c857248d720cc09ca6d04e4811fb7e6836b58691f8dba3dc64736f6c634300060c0033000000000000000000000000292549e6bd5a41ae4521bb8679ada59631b9ed4c

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000292549e6bd5a41ae4521bb8679ada59631b9ed4c

-----Decoded View---------------
Arg [0] : initialAdmin (address): 0x292549e6bd5a41ae4521bb8679ada59631b9ed4c

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000292549e6bd5a41ae4521bb8679ada59631b9ed4c


Deployed ByteCode Sourcemap

26952:2079:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28828:200;;;;;;:::i;:::-;;:::i;:::-;;22704:114;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27876:154;;;;;;:::i;:::-;;:::i;28360:311::-;;;;;;:::i;:::-;;:::i;23080:264::-;;;;;;:::i;:::-;;:::i;24363:246::-;;;;;;:::i;:::-;;:::i;27554:248::-;;;;;;:::i;:::-;;:::i;27126:106::-;;;:::i;:::-;;;;;;;:::i;22345:170::-;;;;;;:::i;:::-;;:::i;27031:68::-;;;:::i;21306:139::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;19949:49::-;;;:::i;21619:127::-;;;;;;:::i;:::-;;:::i;23589:267::-;;;;;;:::i;:::-;;:::i;28828:200::-;28925:35;-1:-1:-1;;;;;;;;;;;28949:10:0;28925:7;:35::i;:::-;28917:62;;;;-1:-1:-1;;;28917:62:0;;;;;;;:::i;:::-;;;;;;;;;28990:30;;-1:-1:-1;;;28990:30:0;;27189:42;;28990:15;;:30;;29006:5;;29013:6;;28990:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28828:200;;:::o;22704:114::-;22761:7;22788:12;;;;;;;;;;:22;;;;22704:114::o;27876:154::-;27935:35;-1:-1:-1;;;;;;;;;;;27959:10:0;27935:7;:35::i;:::-;27927:62;;;;-1:-1:-1;;;27927:62:0;;;;;;;:::i;:::-;28000:22;;-1:-1:-1;;;28000:22:0;;27189:42;;28000:15;;:22;;28016:5;;28000:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27876:154;:::o;28360:311::-;28548:35;-1:-1:-1;;;;;;;;;;;28572:10:0;28548:7;:35::i;:::-;28540:62;;;;-1:-1:-1;;;28540:62:0;;;;;;;:::i;:::-;28613:50;;-1:-1:-1;;;28613:50:0;;27189:42;;28613:16;;:50;;28630:5;;28637:7;;28646:8;;28656:6;;28613:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28360:311;;;;:::o;23080:264::-;23186:6;:12;;;;;;;;;;:22;;;23178:45;;23210:12;:10;:12::i;23178:45::-;23156:142;;;;-1:-1:-1;;;23156:142:0;;;;;;;:::i;:::-;23311:25;23322:4;23328:7;23311:10;:25::i;:::-;23080:264;;:::o;24363:246::-;24475:12;:10;:12::i;:::-;-1:-1:-1;;;;;24464:23:0;:7;-1:-1:-1;;;;;24464:23:0;;24442:120;;;;-1:-1:-1;;;24442:120:0;;;;;;;:::i;:::-;24575:26;24587:4;24593:7;24575:11;:26::i;27554:248::-;27691:35;-1:-1:-1;;;;;;;;;;;27715:10:0;27691:7;:35::i;:::-;27683:62;;;;-1:-1:-1;;;27683:62:0;;;;;;;:::i;:::-;27756:38;;-1:-1:-1;;;27756:38:0;;27189:42;;27756:12;;:38;;27769:5;;27776:7;;27785:8;;27756:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27554:248;;;:::o;27126:106::-;27189:42;27126:106;:::o;22345:170::-;22445:7;22477:12;;;;;;;;;;:30;;22501:5;22477:23;:30::i;:::-;22470:37;;22345:170;;;;;:::o;27031:68::-;-1:-1:-1;;;;;;;;;;;27031:68:0;:::o;21306:139::-;21375:4;21399:12;;;;;;;;;;:38;;21429:7;21399:29;:38::i;19949:49::-;19994:4;19949:49;:::o;21619:127::-;21682:7;21709:12;;;;;;;;;;:29;;:27;:29::i;23589:267::-;23696:6;:12;;;;;;;;;;:22;;;23688:45;;23720:12;:10;:12::i;23688:45::-;23666:143;;;;-1:-1:-1;;;23666:143:0;;;;;;;:::i;12505:166::-;12593:4;12622:41;12627:3;-1:-1:-1;;;;;12647:14:0;;12622:4;:41::i;7052:106::-;7140:10;7052:106;:::o;25643:188::-;25717:6;:12;;;;;;;;;;:33;;25742:7;25717:24;:33::i;:::-;25713:111;;;25799:12;:10;:12::i;:::-;-1:-1:-1;;;;;25772:40:0;25790:7;-1:-1:-1;;;;;25772:40:0;25784:4;25772:40;;;;;;;;;;25643:188;;:::o;25839:192::-;25914:6;:12;;;;;;;;;;:36;;25942:7;25914:27;:36::i;:::-;25910:114;;;25999:12;:10;:12::i;:::-;-1:-1:-1;;;;;25972:40:0;25990:7;-1:-1:-1;;;;;25972:40:0;25984:4;25972:40;;;;;;;;;;25839:192;;:::o;13852:181::-;13953:7;14001:22;14005:3;14017:5;14001:3;:22::i;13105:190::-;13212:4;13241:46;13251:3;-1:-1:-1;;;;;13271:14:0;;13241:9;:46::i;13381:117::-;13444:7;13471:19;13479:3;13471:7;:19::i;9035:414::-;9098:4;9120:21;9130:3;9135:5;9120:9;:21::i;:::-;9115:327;;-1:-1:-1;9158:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;9341:18;;9319:19;;;:12;;;:19;;;;;;:40;;;;9374:11;;9115:327;-1:-1:-1;9425:5:0;9418:12;;12847:172;12938:4;12967:44;12975:3;-1:-1:-1;;;;;12995:14:0;;12967:7;:44::i;11978:273::-;12119:18;;12072:7;;12119:26;-1:-1:-1;12097:110:0;;;;-1:-1:-1;;;12097:110:0;;;;;;;:::i;:::-;12225:3;:11;;12237:5;12225:18;;;;;;;;;;;;;;;;12218:25;;11978:273;;;;:::o;11268:161::-;11368:4;11397:19;;;:12;;;;;:19;;;;;;:24;;;11268:161::o;11515:109::-;11598:18;;11515:109::o;9625:1557::-;9691:4;9830:19;;;:12;;;:19;;;;;;9866:15;;9862:1313;;10314:18;;-1:-1:-1;;10265:14:0;;;;10314:22;;;;10241:21;;10314:3;;:22;;10601;;;;;;;;;;;;;;10581:42;;10747:9;10718:3;:11;;10730:13;10718:26;;;;;;;;;;;;;;;;;;;:38;;;;10824:23;;;10866:1;10824:12;;;:23;;;;;;10850:17;;;10824:43;;10976:17;;10824:3;;10976:17;;;;;;;;;;;;;;;;;;;;;;11071:3;:12;;:19;11084:5;11071:19;;;;;;;;;;;11064:26;;;11114:4;11107:11;;;;;;;;9862:1313;11158:5;11151:12;;;;;5:130:-1;72:20;;-1:-1;;;;;13728:54;;15042:35;;15032:2;;15091:1;;15081:12;447:442;;549:3;542:4;534:6;530:17;526:27;516:2;;-1:-1;;557:12;516:2;604:6;591:20;12768:18;;12760:6;12757:30;12754:2;;;-1:-1;;12790:12;12754:2;12423;12417:9;12863;12844:17;;-1:-1;;12840:33;12449:17;;12931:4;12449:17;12509:34;;;12545:22;;;12506:62;12503:2;;;-1:-1;;12571:12;12503:2;12423;12590:22;697:21;;;617:74;-1:-1;617:74;797:16;;;12931:4;797:16;794:25;-1:-1;791:2;;;832:1;;822:12;791:2;14416:6;12931:4;739:6;735:17;12931:4;773:5;769:16;14393:30;14472:1;12931:4;14463:6;773:5;14454:16;;14447:27;;;;509:380;;;;:::o;1034:241::-;;1138:2;1126:9;1117:7;1113:23;1109:32;1106:2;;;-1:-1;;1144:12;1106:2;1206:53;1251:7;1227:22;1206:53;:::i;1282:396::-;;;1418:2;1406:9;1397:7;1393:23;1389:32;1386:2;;;-1:-1;;1424:12;1386:2;1486:53;1531:7;1507:22;1486:53;:::i;:::-;1476:63;;1576:2;1634:9;1630:22;361:20;15315:1;15308:5;15305:12;15295:2;;-1:-1;;15321:12;15295:2;1584:78;;;;1380:298;;;;;:::o;1685:703::-;;;;1843:2;1831:9;1822:7;1818:23;1814:32;1811:2;;;-1:-1;;1849:12;1811:2;1911:53;1956:7;1932:22;1911:53;:::i;:::-;1901:63;;2029:2;2018:9;2014:18;2001:32;2053:18;;2045:6;2042:30;2039:2;;;-1:-1;;2075:12;2039:2;2105:63;2160:7;2151:6;2140:9;2136:22;2105:63;:::i;:::-;2095:73;;2233:2;2222:9;2218:18;2205:32;2191:46;;2053:18;2249:6;2246:30;2243:2;;;-1:-1;;2279:12;2243:2;;2309:63;2364:7;2355:6;2344:9;2340:22;2309:63;:::i;:::-;2299:73;;;1805:583;;;;;:::o;2395:859::-;;;;;2585:3;2573:9;2564:7;2560:23;2556:33;2553:2;;;-1:-1;;2592:12;2553:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2644:63;-1:-1;2772:2;2757:18;;2744:32;2796:18;2785:30;;;2782:2;;;-1:-1;;2818:12;2782:2;2848:63;2903:7;2894:6;2883:9;2879:22;2848:63;:::i;:::-;2838:73;;2976:2;2965:9;2961:18;2948:32;2934:46;;2796:18;2992:6;2989:30;2986:2;;;-1:-1;;3022:12;2986:2;;3052:63;3107:7;3098:6;3087:9;3083:22;3052:63;:::i;:::-;3042:73;;;3152:2;3210:9;3206:22;361:20;15315:1;15308:5;15305:12;15295:2;;-1:-1;;15321:12;15295:2;2547:707;;;;-1:-1;2547:707;;-1:-1;;2547:707::o;3261:241::-;;3365:2;3353:9;3344:7;3340:23;3336:32;3333:2;;;-1:-1;;3371:12;3333:2;-1:-1;209:20;;3327:175;-1:-1;3327:175::o;3509:366::-;;;3630:2;3618:9;3609:7;3605:23;3601:32;3598:2;;;-1:-1;;3636:12;3598:2;222:6;209:20;3688:63;;3788:2;3831:9;3827:22;72:20;97:33;124:5;97:33;:::i;3882:366::-;;;4003:2;3991:9;3982:7;3978:23;3974:32;3971:2;;;-1:-1;;4009:12;3971:2;-1:-1;;209:20;;;4161:2;4200:22;;;964:20;;-1:-1;3965:283::o;4948:347::-;;5093:5;13041:12;13198:6;13193:3;13186:19;-1:-1;14561:101;14575:6;14572:1;14569:13;14561:101;;;13235:4;14642:11;;;;;14636:18;14623:11;;;;;14616:39;14590:10;14561:101;;;14677:6;14674:1;14671:13;14668:2;;;-1:-1;13235:4;14733:6;13230:3;14724:16;;14717:27;14668:2;-1:-1;12863:9;14833:14;-1:-1;;14829:28;5251:39;;;;13235:4;5251:39;;5040:255;-1:-1;;5040:255::o;7305:222::-;-1:-1;;;;;13728:54;;;;4326:37;;7432:2;7417:18;;7403:124::o;7534:359::-;-1:-1;;;;;13728:54;;4326:37;;7702:2;7687:18;;13606:48;13648:5;13606:48;:::i;:::-;14283:39;7879:2;7868:9;7864:18;4873:63;7673:220;;;;;:::o;7900:620::-;-1:-1;;;;;13728:54;;4326:37;;8123:2;8241;8226:18;;8219:48;;;7900:620;;8281:78;;8108:18;;8345:6;8281:78;:::i;:::-;8407:9;8401:4;8397:20;8392:2;8381:9;8377:18;8370:48;8432:78;8505:4;8496:6;8432:78;:::i;:::-;8424:86;8094:426;-1:-1;;;;;;8094:426::o;8527:758::-;-1:-1;;;;;13728:54;;4326:37;;8791:3;8910:2;8895:18;;8888:48;;;8527:758;;8950:78;;8776:19;;9014:6;8950:78;:::i;:::-;9076:9;9070:4;9066:20;9061:2;9050:9;9046:18;9039:48;9101:78;9174:4;9165:6;9101:78;:::i;:::-;9093:86;;;13606:48;13648:5;13606:48;:::i;:::-;14283:39;9271:2;9260:9;9256:18;4873:63;8762:523;;;;;;;:::o;9292:210::-;13418:13;;13411:21;4440:34;;9413:2;9398:18;;9384:118::o;9509:222::-;4557:37;;;9636:2;9621:18;;9607:124::o;10017:416::-;10217:2;10231:47;;;5527:2;10202:18;;;13186:19;5563:34;13226:14;;;5543:55;-1:-1;;;5618:12;;;5611:26;5656:12;;;10188:245::o;10440:416::-;10640:2;10654:47;;;5907:2;10625:18;;;13186:19;5943:34;13226:14;;;5923:55;-1:-1;;;5998:12;;;5991:39;6049:12;;;10611:245::o;10863:416::-;11063:2;11077:47;;;6300:2;11048:18;;;13186:19;-1:-1;;;13226:14;;;6316:37;6372:12;;;11034:245::o;11286:416::-;11486:2;11500:47;;;6623:2;11471:18;;;13186:19;6659:34;13226:14;;;6639:55;-1:-1;;;6714:12;;;6707:40;6766:12;;;11457:245::o;11709:416::-;11909:2;11923:47;;;7017:2;11894:18;;;13186:19;7053:34;13226:14;;;7033:55;-1:-1;;;7108:12;;;7101:39;7159:12;;;11880:245::o;14870:106::-;14954:1;14947:5;14944:12;14934:2;;14960:9;14934:2;14928:48;:::o;14983:117::-;-1:-1;;;;;13728:54;;15042:35;;15032:2;;15091:1;;15081:12

Metadata Hash

3be666af978aaa66c857248d720cc09ca6d04e4811fb7e6836b58691f8dba3dc
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.