Contract 0x3d8066D1a1f6b995D4Cd43fAD948F5613CbcC516

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3355530a65f933e56b7e0609d3f2e6226fda1595b3db16501e6e5bb2c4cbc7e6Approve322249182022-08-23 9:55:3132 days 6 hrs ago0x91338b99fe9272bd5224b1e16f77ceb04a74e873 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.0015371978 32.980000008
0x455fa096c37152ab3cb985c8abae16550ce95b0e0019203cec48ae69bb47fb09Approve320129922022-08-17 23:46:3237 days 16 hrs ago0xbf861d09615543c419c749ea8cbeb720e3b3e3ad IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.00074328093 30.555000017
0x0e0a553ddf131f533ce912858446b77fbc776f2fc71b66bf36c67c9ba906690fApprove314665102022-08-03 8:49:0152 days 7 hrs ago0x38ac00297427e6ae7efc0850d667ab9b4c78cba5 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.000731448483 30.068588475
0xa53b7144899e3c9f9874d611a5f9ab724480092ac49564377dcaf95b4e164a71Approve311156902022-07-25 8:14:0561 days 8 hrs ago0x97263302056c9d2f708153c0aeee7b7fe5ebec93 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.001155234212 47.489690537
0xa572859ac9e370900c6c808b7d2559f987fd71715ef81eac5214628224df859aApprove310971742022-07-24 19:59:0361 days 20 hrs ago0xf706e7b8c53182f4cde74b4d6c165345acb2b03d IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.000729780198 30.000008146
0x64ba30aac130bc9e185727dd45f4fcd554715ae7dfacd277142b89d89216465cApprove307002362022-07-14 2:50:2572 days 13 hrs ago0xda90f94194f093db4f27e10a4d0289cee9602459 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.00278097743 59.664823652
0x1038357d7f395ff0b1ffaae731bb538ef44c99e127d55df6cce2d1a36df4cab4Approve305742772022-07-10 19:15:1975 days 21 hrs ago0x07358f47433328134f8fc95bc2db5b2b1c9c7f9c IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.0017632563 37.830000016
0xd3347b1c542fcd087b44b32d380d6555c075e61d60181d2058ae69551e8ae96dApprove298236332022-06-21 9:42:0195 days 7 hrs ago0x631ab8eb40588543df900263f864b6376d56a587 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.00139794 30.00000002
0x853bae062112c2ec7b132540a726be4cb94991b4d4cd5a481532e099902dc563Approve296691622022-06-17 8:03:0699 days 8 hrs ago0xc93505a56396456b49e20ddb46a01b780aa87990 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.001650535834 35.411624864
0x3db074c4070704718194788a80d9a8c0c1a6484fad2b04451e10c5598993b045Approve295350552022-06-13 23:26:54102 days 17 hrs ago0x6250d21b9499999dcf9bc1c30dfcb83fb096c5c7 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.012305923527 264.086946384
0x445657bd49f676affd10177a58fd5f2fe50aa953812d110a10ff9f4166db23d2Approve292674842022-06-07 7:43:54109 days 9 hrs ago0x7f7bac92aa3e28351f9e89535ca334e8a44542d0 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.002586855 55.5
0x61a6ac198e71d3f199b25c2a1fa7503105320946f95f72f00940e45b99d14ceeApprove291232662022-06-03 17:31:13112 days 23 hrs ago0xf706e7b8c53182f4cde74b4d6c165345acb2b03d IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.002367186212 50.78708887
0xecac138872876e053957070793952f5e216abf1366a548d58c6aa7a677b0dd0cApprove288274852022-05-27 9:52:47120 days 6 hrs ago0xf706e7b8c53182f4cde74b4d6c165345acb2b03d IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.000824007565 33.873533059
0xcc5a96b77dbf755ec468adc39e03d8f433bcc7bdd98b04a23f430258f41ed71dApprove287749092022-05-26 2:02:11121 days 14 hrs ago0xba769d62eb549a4f04dbcf66bbe905eb6c0bf657 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.00386018823282.840212717
0x5d91a2e20bf765b9075a8accd4786e8dfa145b629c504a69b17aa6a3aad9f59aApprove287498072022-05-25 11:06:53122 days 5 hrs ago0xba769d62eb549a4f04dbcf66bbe905eb6c0bf657 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.00386118231482.840212717
0x398e831a74f63d76ef06b1834d3ee1c18e14a501fa3dee8ec3528977fdd4bb5bApprove283479642022-05-15 12:41:28132 days 4 hrs ago0x4ab3d7f4c46e511ca09eecdac483e43ed96bd7aa IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.001466453818 31.462214516
0x59deba4f5b66f4366d046948ca98fe0df75ba8d5c69e80ca1ba121564ac49174Approve282715232022-05-13 14:50:40134 days 1 hr ago0x1e6a793466586d2f181aba13f14d7773f5ab5246 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.001721182559 70.754853203
0xbd309c3a781d6c4aedfbd0711cb65e68ca1d9988d88d517cd1d09e6d265f159cApprove282454622022-05-12 23:22:08134 days 17 hrs ago0x3b0b2f5e11abcd202244ebf392ac4edc526254b1 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.002501530912 53.669403833
0x3270c1491c14ac0671fda1a9a1d4af5bc673433df75c530ab89160f70a5ba4bbApprove282446612022-05-12 22:54:02134 days 17 hrs ago0xfe8c7900ce57dda38c1fc4d5ce1e1ba086f37f81 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.020248212021 434.417764888
0x90c6996f789b23c5dcf083d866fe7db260b910bb3b4d868e11fa24afd7e58e5bApprove282439032022-05-12 22:26:03134 days 18 hrs ago0x72ae8717e5c79631e1dec8938a9d8e774fce3f28 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.004109915122 88.176681444
0x5c344dd1d2e1cd04277ee87867a87fa376319ac9cfefe0e6aa7914e4c02f6713Approve282438402022-05-12 22:23:57134 days 18 hrs ago0x890c9f3678e9b5806ddb37da654cb2a14983a47b IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.00715988471 153.612630554
0x00bff800c02efda120d525a3a7d40ba33ca42a5987d163201e1c5598649ee500Approve279108922022-05-04 10:45:32143 days 6 hrs ago0x0b02f1a3768ffc6baf906005d8f0e560c32d989f IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.0021893490
0xbd33e1a3df6376e9a0d5ea55de6aa47e30c1e076adfb814ecfc6a5246ab492f4Approve279072752022-05-04 8:36:51143 days 8 hrs ago0xa9811f9f6b8bca7f9f91f850a98310e63fbb7326 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.00073148282 30.07
0x9646d0a18cabb6edae9c3804ccbf46186143ea74f74677cb197edab133e1b289Approve278706132022-05-03 10:10:03144 days 6 hrs ago0xe5f12564e74c9ca91a919548edef448df2b9d252 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.001089118059 44.771769275
0x291950ee68323ede46a70da1c1a8987c845b9b98c7a5002a52fd5cabea4b657dApprove278687152022-05-03 9:04:45144 days 7 hrs ago0x9964d6e2e8edf5ae18c19690082ff5ed97fbff84 IN  0x3d8066d1a1f6b995d4cd43fad948f5613cbcc5160 MATIC0.001216350
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x13e18c1912e3c0709a8bb640b316d0ddc5cebbb0e578d5214c868425ae84e883189394552021-09-10 2:40:22379 days 14 hrs ago 0xe20fcda4981c8a58417c5a2ef6804b0835faa0ec  Contract Creation0 MATIC
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xd950a643cd1020690ed4d196cb0105311e6fffc5

Contract Name:
SyntheticToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 199 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : SyntheticToken.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;
import "../../common/implementation/ExpandedERC20.sol";
import "../../common/implementation/Lockable.sol";

/**
 * @title Burnable and mintable ERC20.
 * @dev The contract deployer will initially be the only minter, burner and owner capable of adding new roles.
 */

contract SyntheticToken is ExpandedERC20, Lockable {
    /**
     * @notice Constructs the SyntheticToken.
     * @param tokenName The name which describes the new token.
     * @param tokenSymbol The ticker abbreviation of the name. Ideally < 5 chars.
     * @param tokenDecimals The number of decimals to define token precision.
     */
    constructor(
        string memory tokenName,
        string memory tokenSymbol,
        uint8 tokenDecimals
    ) ExpandedERC20(tokenName, tokenSymbol, tokenDecimals) nonReentrant() {}

    /**
     * @notice Add Minter role to account.
     * @dev The caller must have the Owner role.
     * @param account The address to which the Minter role is added.
     */
    function addMinter(address account) external override nonReentrant() {
        addMember(uint256(Roles.Minter), account);
    }

    /**
     * @notice Remove Minter role from account.
     * @dev The caller must have the Owner role.
     * @param account The address from which the Minter role is removed.
     */
    function removeMinter(address account) external nonReentrant() {
        removeMember(uint256(Roles.Minter), account);
    }

    /**
     * @notice Add Burner role to account.
     * @dev The caller must have the Owner role.
     * @param account The address to which the Burner role is added.
     */
    function addBurner(address account) external override nonReentrant() {
        addMember(uint256(Roles.Burner), account);
    }

    /**
     * @notice Removes Burner role from account.
     * @dev The caller must have the Owner role.
     * @param account The address from which the Burner role is removed.
     */
    function removeBurner(address account) external nonReentrant() {
        removeMember(uint256(Roles.Burner), account);
    }

    /**
     * @notice Reset Owner role to account.
     * @dev The caller must have the Owner role.
     * @param account The new holder of the Owner role.
     */
    function resetOwner(address account) external override nonReentrant() {
        resetMember(uint256(Roles.Owner), account);
    }

    /**
     * @notice Checks if a given account holds the Minter role.
     * @param account The address which is checked for the Minter role.
     * @return bool True if the provided account is a Minter.
     */
    function isMinter(address account) public view nonReentrantView() returns (bool) {
        return holdsRole(uint256(Roles.Minter), account);
    }

    /**
     * @notice Checks if a given account holds the Burner role.
     * @param account The address which is checked for the Burner role.
     * @return bool True if the provided account is a Burner.
     */
    function isBurner(address account) public view nonReentrantView() returns (bool) {
        return holdsRole(uint256(Roles.Burner), account);
    }
}

File 2 of 9 : ExpandedERC20.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./MultiRole.sol";
import "../interfaces/ExpandedIERC20.sol";

/**
 * @title An ERC20 with permissioned burning and minting. The contract deployer will initially
 * be the owner who is capable of adding new roles.
 */
contract ExpandedERC20 is ExpandedIERC20, ERC20, MultiRole {
    enum Roles {
        // Can set the minter and burner.
        Owner,
        // Addresses that can mint new tokens.
        Minter,
        // Addresses that can burn tokens that address owns.
        Burner
    }

    uint8 _decimals;

    /**
     * @notice Constructs the ExpandedERC20.
     * @param _tokenName The name which describes the new token.
     * @param _tokenSymbol The ticker abbreviation of the name. Ideally < 5 chars.
     * @param _tokenDecimals The number of decimals to define token precision.
     */
    constructor(
        string memory _tokenName,
        string memory _tokenSymbol,
        uint8 _tokenDecimals
    ) ERC20(_tokenName, _tokenSymbol) {
        _decimals = _tokenDecimals;
        _createExclusiveRole(uint256(Roles.Owner), uint256(Roles.Owner), msg.sender);
        _createSharedRole(uint256(Roles.Minter), uint256(Roles.Owner), new address[](0));
        _createSharedRole(uint256(Roles.Burner), uint256(Roles.Owner), new address[](0));
    }

    function decimals() public view virtual override(ERC20) returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Mints `value` tokens to `recipient`, returning true on success.
     * @param recipient address to mint to.
     * @param value amount of tokens to mint.
     * @return True if the mint succeeded, or False.
     */
    function mint(address recipient, uint256 value)
        external
        override
        onlyRoleHolder(uint256(Roles.Minter))
        returns (bool)
    {
        _mint(recipient, value);
        return true;
    }

    /**
     * @dev Burns `value` tokens owned by `msg.sender`.
     * @param value amount of tokens to burn.
     */
    function burn(uint256 value) external override onlyRoleHolder(uint256(Roles.Burner)) {
        _burn(msg.sender, value);
    }

    /**
     * @dev Burns `value` tokens owned by `recipient`.
     * @param recipient address to burn tokens from.
     * @param value amount of tokens to burn.
     * @return True if the burn succeeded, or False.
     */
    function burnFrom(address recipient, uint256 value)
        external
        override
        onlyRoleHolder(uint256(Roles.Burner))
        returns (bool)
    {
        _burn(recipient, value);
        return true;
    }

    /**
     * @notice Add Minter role to account.
     * @dev The caller must have the Owner role.
     * @param account The address to which the Minter role is added.
     */
    function addMinter(address account) external virtual override {
        addMember(uint256(Roles.Minter), account);
    }

    /**
     * @notice Add Burner role to account.
     * @dev The caller must have the Owner role.
     * @param account The address to which the Burner role is added.
     */
    function addBurner(address account) external virtual override {
        addMember(uint256(Roles.Burner), account);
    }

    /**
     * @notice Reset Owner role to account.
     * @dev The caller must have the Owner role.
     * @param account The new holder of the Owner role.
     */
    function resetOwner(address account) external virtual override {
        resetMember(uint256(Roles.Owner), account);
    }
}

File 3 of 9 : Lockable.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;

/**
 * @title A contract that provides modifiers to prevent reentrancy to state-changing and view-only methods. This contract
 * is inspired by https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol
 * and https://github.com/balancer-labs/balancer-core/blob/master/contracts/BPool.sol.
 */
contract Lockable {
    bool private _notEntered;

    constructor() {
        // Storing an initial non-zero value makes deployment a bit more expensive, but in exchange the refund on every
        // call to nonReentrant will be lower in amount. Since refunds are capped to a percentage of the total
        // transaction's gas, it is best to keep them low in cases like this one, to increase the likelihood of the full
        // refund coming into effect.
        _notEntered = true;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant` function is not supported. It is possible to
     * prevent this from happening by making the `nonReentrant` function external, and making it call a `private`
     * function that does the actual state modification.
     */
    modifier nonReentrant() {
        _preEntranceCheck();
        _preEntranceSet();
        _;
        _postEntranceReset();
    }

    /**
     * @dev Designed to prevent a view-only method from being re-entered during a call to a `nonReentrant()` state-changing method.
     */
    modifier nonReentrantView() {
        _preEntranceCheck();
        _;
    }

    // Internal methods are used to avoid copying the require statement's bytecode to every `nonReentrant()` method.
    // On entry into a function, `_preEntranceCheck()` should always be called to check if the function is being
    // re-entered. Then, if the function modifies state, it should call `_postEntranceSet()`, perform its logic, and
    // then call `_postEntranceReset()`.
    // View-only methods can simply call `_preEntranceCheck()` to make sure that it is not being re-entered.
    function _preEntranceCheck() internal view {
        // On the first call to nonReentrant, _notEntered will be true
        require(_notEntered, "ReentrancyGuard: reentrant call");
    }

    function _preEntranceSet() internal {
        // Any calls to nonReentrant after this point will fail
        _notEntered = false;
    }

    function _postEntranceReset() internal {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _notEntered = true;
    }
}

File 4 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @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, IERC20Metadata {
    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 this function is
     * overridden;
     *
     * 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 override returns (uint8) {
        return 18;
    }

    /**
     * @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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        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] + 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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        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);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += 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 += amount;
        _balances[account] += 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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= 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 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 5 of 9 : MultiRole.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;

library Exclusive {
    struct RoleMembership {
        address member;
    }

    function isMember(RoleMembership storage roleMembership, address memberToCheck) internal view returns (bool) {
        return roleMembership.member == memberToCheck;
    }

    function resetMember(RoleMembership storage roleMembership, address newMember) internal {
        require(newMember != address(0x0), "Cannot set an exclusive role to 0x0");
        roleMembership.member = newMember;
    }

    function getMember(RoleMembership storage roleMembership) internal view returns (address) {
        return roleMembership.member;
    }

    function init(RoleMembership storage roleMembership, address initialMember) internal {
        resetMember(roleMembership, initialMember);
    }
}

library Shared {
    struct RoleMembership {
        mapping(address => bool) members;
    }

    function isMember(RoleMembership storage roleMembership, address memberToCheck) internal view returns (bool) {
        return roleMembership.members[memberToCheck];
    }

    function addMember(RoleMembership storage roleMembership, address memberToAdd) internal {
        require(memberToAdd != address(0x0), "Cannot add 0x0 to a shared role");
        roleMembership.members[memberToAdd] = true;
    }

    function removeMember(RoleMembership storage roleMembership, address memberToRemove) internal {
        roleMembership.members[memberToRemove] = false;
    }

    function init(RoleMembership storage roleMembership, address[] memory initialMembers) internal {
        for (uint256 i = 0; i < initialMembers.length; i++) {
            addMember(roleMembership, initialMembers[i]);
        }
    }
}

/**
 * @title Base class to manage permissions for the derived class.
 */
abstract contract MultiRole {
    using Exclusive for Exclusive.RoleMembership;
    using Shared for Shared.RoleMembership;

    enum RoleType { Invalid, Exclusive, Shared }

    struct Role {
        uint256 managingRole;
        RoleType roleType;
        Exclusive.RoleMembership exclusiveRoleMembership;
        Shared.RoleMembership sharedRoleMembership;
    }

    mapping(uint256 => Role) private roles;

    event ResetExclusiveMember(uint256 indexed roleId, address indexed newMember, address indexed manager);
    event AddedSharedMember(uint256 indexed roleId, address indexed newMember, address indexed manager);
    event RemovedSharedMember(uint256 indexed roleId, address indexed oldMember, address indexed manager);

    /**
     * @notice Reverts unless the caller is a member of the specified roleId.
     */
    modifier onlyRoleHolder(uint256 roleId) {
        require(holdsRole(roleId, msg.sender), "Sender does not hold required role");
        _;
    }

    /**
     * @notice Reverts unless the caller is a member of the manager role for the specified roleId.
     */
    modifier onlyRoleManager(uint256 roleId) {
        require(holdsRole(roles[roleId].managingRole, msg.sender), "Can only be called by a role manager");
        _;
    }

    /**
     * @notice Reverts unless the roleId represents an initialized, exclusive roleId.
     */
    modifier onlyExclusive(uint256 roleId) {
        require(roles[roleId].roleType == RoleType.Exclusive, "Must be called on an initialized Exclusive role");
        _;
    }

    /**
     * @notice Reverts unless the roleId represents an initialized, shared roleId.
     */
    modifier onlyShared(uint256 roleId) {
        require(roles[roleId].roleType == RoleType.Shared, "Must be called on an initialized Shared role");
        _;
    }

    /**
     * @notice Whether `memberToCheck` is a member of roleId.
     * @dev Reverts if roleId does not correspond to an initialized role.
     * @param roleId the Role to check.
     * @param memberToCheck the address to check.
     * @return True if `memberToCheck` is a member of `roleId`.
     */
    function holdsRole(uint256 roleId, address memberToCheck) public view returns (bool) {
        Role storage role = roles[roleId];
        if (role.roleType == RoleType.Exclusive) {
            return role.exclusiveRoleMembership.isMember(memberToCheck);
        } else if (role.roleType == RoleType.Shared) {
            return role.sharedRoleMembership.isMember(memberToCheck);
        }
        revert("Invalid roleId");
    }

    /**
     * @notice Changes the exclusive role holder of `roleId` to `newMember`.
     * @dev Reverts if the caller is not a member of the managing role for `roleId` or if `roleId` is not an
     * initialized, ExclusiveRole.
     * @param roleId the ExclusiveRole membership to modify.
     * @param newMember the new ExclusiveRole member.
     */
    function resetMember(uint256 roleId, address newMember) public onlyExclusive(roleId) onlyRoleManager(roleId) {
        roles[roleId].exclusiveRoleMembership.resetMember(newMember);
        emit ResetExclusiveMember(roleId, newMember, msg.sender);
    }

    /**
     * @notice Gets the current holder of the exclusive role, `roleId`.
     * @dev Reverts if `roleId` does not represent an initialized, exclusive role.
     * @param roleId the ExclusiveRole membership to check.
     * @return the address of the current ExclusiveRole member.
     */
    function getMember(uint256 roleId) public view onlyExclusive(roleId) returns (address) {
        return roles[roleId].exclusiveRoleMembership.getMember();
    }

    /**
     * @notice Adds `newMember` to the shared role, `roleId`.
     * @dev Reverts if `roleId` does not represent an initialized, SharedRole or if the caller is not a member of the
     * managing role for `roleId`.
     * @param roleId the SharedRole membership to modify.
     * @param newMember the new SharedRole member.
     */
    function addMember(uint256 roleId, address newMember) public onlyShared(roleId) onlyRoleManager(roleId) {
        roles[roleId].sharedRoleMembership.addMember(newMember);
        emit AddedSharedMember(roleId, newMember, msg.sender);
    }

    /**
     * @notice Removes `memberToRemove` from the shared role, `roleId`.
     * @dev Reverts if `roleId` does not represent an initialized, SharedRole or if the caller is not a member of the
     * managing role for `roleId`.
     * @param roleId the SharedRole membership to modify.
     * @param memberToRemove the current SharedRole member to remove.
     */
    function removeMember(uint256 roleId, address memberToRemove) public onlyShared(roleId) onlyRoleManager(roleId) {
        roles[roleId].sharedRoleMembership.removeMember(memberToRemove);
        emit RemovedSharedMember(roleId, memberToRemove, msg.sender);
    }

    /**
     * @notice Removes caller from the role, `roleId`.
     * @dev Reverts if the caller is not a member of the role for `roleId` or if `roleId` is not an
     * initialized, SharedRole.
     * @param roleId the SharedRole membership to modify.
     */
    function renounceMembership(uint256 roleId) public onlyShared(roleId) onlyRoleHolder(roleId) {
        roles[roleId].sharedRoleMembership.removeMember(msg.sender);
        emit RemovedSharedMember(roleId, msg.sender, msg.sender);
    }

    /**
     * @notice Reverts if `roleId` is not initialized.
     */
    modifier onlyValidRole(uint256 roleId) {
        require(roles[roleId].roleType != RoleType.Invalid, "Attempted to use an invalid roleId");
        _;
    }

    /**
     * @notice Reverts if `roleId` is initialized.
     */
    modifier onlyInvalidRole(uint256 roleId) {
        require(roles[roleId].roleType == RoleType.Invalid, "Cannot use a pre-existing role");
        _;
    }

    /**
     * @notice Internal method to initialize a shared role, `roleId`, which will be managed by `managingRoleId`.
     * `initialMembers` will be immediately added to the role.
     * @dev Should be called by derived contracts, usually at construction time. Will revert if the role is already
     * initialized.
     */
    function _createSharedRole(
        uint256 roleId,
        uint256 managingRoleId,
        address[] memory initialMembers
    ) internal onlyInvalidRole(roleId) {
        Role storage role = roles[roleId];
        role.roleType = RoleType.Shared;
        role.managingRole = managingRoleId;
        role.sharedRoleMembership.init(initialMembers);
        require(
            roles[managingRoleId].roleType != RoleType.Invalid,
            "Attempted to use an invalid role to manage a shared role"
        );
    }

    /**
     * @notice Internal method to initialize an exclusive role, `roleId`, which will be managed by `managingRoleId`.
     * `initialMember` will be immediately added to the role.
     * @dev Should be called by derived contracts, usually at construction time. Will revert if the role is already
     * initialized.
     */
    function _createExclusiveRole(
        uint256 roleId,
        uint256 managingRoleId,
        address initialMember
    ) internal onlyInvalidRole(roleId) {
        Role storage role = roles[roleId];
        role.roleType = RoleType.Exclusive;
        role.managingRole = managingRoleId;
        role.exclusiveRoleMembership.init(initialMember);
        require(
            roles[managingRoleId].roleType != RoleType.Invalid,
            "Attempted to use an invalid role to manage an exclusive role"
        );
    }
}

File 6 of 9 : ExpandedIERC20.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/**
 * @title ERC20 interface that includes burn and mint methods.
 */
abstract contract ExpandedIERC20 is IERC20 {
    /**
     * @notice Burns a specific amount of the caller's tokens.
     * @dev Only burns the caller's tokens, so it is safe to leave this method permissionless.
     */
    function burn(uint256 value) external virtual;

    /**
     * @dev Burns `value` tokens owned by `recipient`.
     * @param recipient address to burn tokens from.
     * @param value amount of tokens to burn.
     */
    function burnFrom(address recipient, uint256 value) external virtual returns (bool);

    /**
     * @notice Mints tokens and adds them to the balance of the `to` address.
     * @dev This method should be permissioned to only allow designated parties to mint tokens.
     */
    function mint(address to, uint256 value) external virtual returns (bool);

    function addMinter(address account) external virtual;

    function addBurner(address account) external virtual;

    function resetOwner(address account) external virtual;
}

File 7 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^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 8 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 9 of 9 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 199
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint8","name":"tokenDecimals","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"roleId","type":"uint256"},{"indexed":true,"internalType":"address","name":"newMember","type":"address"},{"indexed":true,"internalType":"address","name":"manager","type":"address"}],"name":"AddedSharedMember","type":"event"},{"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":"uint256","name":"roleId","type":"uint256"},{"indexed":true,"internalType":"address","name":"oldMember","type":"address"},{"indexed":true,"internalType":"address","name":"manager","type":"address"}],"name":"RemovedSharedMember","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"roleId","type":"uint256"},{"indexed":true,"internalType":"address","name":"newMember","type":"address"},{"indexed":true,"internalType":"address","name":"manager","type":"address"}],"name":"ResetExclusiveMember","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":[{"internalType":"address","name":"account","type":"address"}],"name":"addBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"roleId","type":"uint256"},{"internalType":"address","name":"newMember","type":"address"}],"name":"addMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"uint256","name":"roleId","type":"uint256"}],"name":"getMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"roleId","type":"uint256"},{"internalType":"address","name":"memberToCheck","type":"address"}],"name":"holdsRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"isBurner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","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":"account","type":"address"}],"name":"removeBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"roleId","type":"uint256"},{"internalType":"address","name":"memberToRemove","type":"address"}],"name":"removeMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"roleId","type":"uint256"}],"name":"renounceMembership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"roleId","type":"uint256"},{"internalType":"address","name":"newMember","type":"address"}],"name":"resetMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"resetOwner","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"}]

60806040523480156200001157600080fd5b5060405162001f2338038062001f238339810160408190526200003491620006e6565b82828282828160039080519060200190620000519291906200058d565b508051620000679060049060208401906200058d565b50506006805460ff191660ff8416179055506200008760008033620000fb565b620000a460015b6040805160008082526020820190925262000264565b620000b060026200008e565b50506006805461ff00191661010017905550620000cc620003c3565b620000dd6006805461ff0019169055565b620000f26006805461ff001916610100179055565b505050620007e2565b826000808281526005602052604090206001015460ff1660028111156200013257634e487b7160e01b600052602160045260246000fd5b14620001855760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f74207573652061207072652d6578697374696e6720726f6c65000060448201526064015b60405180910390fd5b60008481526005602052604090206001808201805460ff191682800217905550838155620001c360028201846200041e602090811b62000ccc17901c565b60008481526005602052604081206001015460ff166002811115620001f857634e487b7160e01b600052602160045260246000fd5b14156200025d5760405162461bcd60e51b815260206004820152603c602482015260008051602062001f0383398151915260448201527f20746f206d616e61676520616e206578636c757369766520726f6c650000000060648201526084016200017c565b5050505050565b826000808281526005602052604090206001015460ff1660028111156200029b57634e487b7160e01b600052602160045260246000fd5b14620002ea5760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f74207573652061207072652d6578697374696e6720726f6c65000060448201526064016200017c565b600084815260056020908152604090912060018101805460ff191660021790558481559062000329906003830190859062000cd66200042e821b17901c565b60008481526005602052604081206001015460ff1660028111156200035e57634e487b7160e01b600052602160045260246000fd5b14156200025d5760405162461bcd60e51b8152602060048201526038602482015260008051602062001f0383398151915260448201527f20746f206d616e61676520612073686172656420726f6c65000000000000000060648201526084016200017c565b600654610100900460ff166200041c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016200017c565b565b6200042a82826200048f565b5050565b60005b81518110156200048a5762000475838383815181106200046157634e487b7160e01b600052603260045260246000fd5b60200260200101516200051060201b60201c565b806200048181620007a4565b91505062000431565b505050565b6001600160a01b038116620004f35760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f742073657420616e206578636c757369766520726f6c6520746f2060448201526203078360ec1b60648201526084016200017c565b81546001600160a01b0319166001600160a01b0391909116179055565b6001600160a01b038116620005685760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74206164642030783020746f20612073686172656420726f6c650060448201526064016200017c565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b8280546200059b9062000767565b90600052602060002090601f016020900481019282620005bf57600085556200060a565b82601f10620005da57805160ff19168380011785556200060a565b828001600101855582156200060a579182015b828111156200060a578251825591602001919060010190620005ed565b50620006189291506200061c565b5090565b5b808211156200061857600081556001016200061d565b600082601f83011262000644578081fd5b81516001600160401b0380821115620006615762000661620007cc565b604051601f8301601f19908116603f011681019082821181831017156200068c576200068c620007cc565b81604052838152602092508683858801011115620006a8578485fd5b8491505b83821015620006cb5785820183015181830184015290820190620006ac565b83821115620006dc57848385830101525b9695505050505050565b600080600060608486031215620006fb578283fd5b83516001600160401b038082111562000712578485fd5b620007208783880162000633565b9450602086015191508082111562000736578384fd5b50620007458682870162000633565b925050604084015160ff811681146200075c578182fd5b809150509250925092565b600181811c908216806200077c57607f821691505b602082108114156200079e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620007c557634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b61171180620007f26000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806373cc802a116100f9578063a9059cbb11610097578063ab3545e511610071578063ab3545e51461038c578063d97c05be146103b7578063dd62ed3e146103ca578063f44637ba1461040357600080fd5b8063a9059cbb14610353578063aa271e1a14610366578063aaa14ca31461037957600080fd5b80637cdc1cb9116100d35780637cdc1cb91461031257806395d89b4114610325578063983b2d561461032d578063a457c2d71461034057600080fd5b806373cc802a146102d957806374d0a676146102ec57806379cc6790146102ff57600080fd5b8063313ce5671161016657806342966c681161014057806342966c68146102775780634334614a1461028a5780636be7658b1461029d57806370a08231146102b057600080fd5b8063313ce5671461023c578063395093511461025157806340c10f191461026457600080fd5b806302846858146101ae57806306fdde03146101c3578063095ea7b3146101e157806318160ddd1461020457806323b872dd146102165780633092afd514610229575b600080fd5b6101c16101bc3660046113e1565b610416565b005b6101cb610451565b6040516101d891906114d2565b60405180910390f35b6101f46101ef36600461146f565b6104e3565b60405190151581526020016101d8565b6002545b6040519081526020016101d8565b6101f4610224366004611434565b6104fa565b6101c16102373660046113e1565b6105b0565b60065460405160ff90911681526020016101d8565b6101f461025f36600461146f565b6105d2565b6101f461027236600461146f565b610609565b6101c1610285366004611498565b610647565b6101f46102983660046113e1565b61067d565b6101c16102ab3660046114b0565b61069b565b6102086102be3660046113e1565b6001600160a01b031660009081526020819052604090205490565b6101c16102e73660046113e1565b61077f565b6101c16102fa3660046114b0565b6107a2565b6101f461030d36600461146f565b610886565b6101f46103203660046114b0565b6108ba565b6101cb61099d565b6101c161033b3660046113e1565b6109ac565b6101f461034e36600461146f565b6109d0565b6101f461036136600461146f565b610a61565b6101f46103743660046113e1565b610a6e565b6101c1610387366004611498565b610a82565b61039f61039a366004611498565b610b4c565b6040516001600160a01b0390911681526020016101d8565b6101c16103c53660046114b0565b610bc6565b6102086103d8366004611402565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101c16104113660046113e1565b610caa565b61041e610d2a565b61042e6006805461ff0019169055565b61043a60025b8261069b565b61044e6006805461ff001916610100179055565b50565b60606003805461046090611675565b80601f016020809104026020016040519081016040528092919081815260200182805461048c90611675565b80156104d95780601f106104ae576101008083540402835291602001916104d9565b820191906000526020600020905b8154815290600101906020018083116104bc57829003601f168201915b5050505050905090565b60006104f0338484610d83565b5060015b92915050565b6000610507848484610ea8565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105915760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6105a585336105a0868561165e565b610d83565b506001949350505050565b6105b8610d2a565b6105c86006805461ff0019169055565b61043a6001610434565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104f09185906105a0908690611646565b6000600161061781336108ba565b6106335760405162461bcd60e51b8152600401610588906115c0565b61063d8484611080565b5060019392505050565b600261065381336108ba565b61066f5760405162461bcd60e51b8152600401610588906115c0565b610679338361115f565b5050565b6000610687610d2a565b61069360025b836108ba565b90505b919050565b81600260008281526005602052604090206001015460ff1660028111156106d257634e487b7160e01b600052602160045260246000fd5b146106ef5760405162461bcd60e51b815260040161058890611574565b600083815260056020526040902054839061070a90336108ba565b6107265760405162461bcd60e51b815260040161058890611602565b600084815260056020526040902061074190600301846112ae565b60405133906001600160a01b0385169086907feb3e33034c392e69263b04ec0fa376dc12784a41b6676c7f31b936cbc0fbb5af90600090a450505050565b610787610d2a565b6107976006805461ff0019169055565b61043a600082610bc6565b81600260008281526005602052604090206001015460ff1660028111156107d957634e487b7160e01b600052602160045260246000fd5b146107f65760405162461bcd60e51b815260040161058890611574565b600083815260056020526040902054839061081190336108ba565b61082d5760405162461bcd60e51b815260040161058890611602565b600084815260056020526040902061084890600301846112d0565b60405133906001600160a01b0385169086907f63502af7324ff6db91ab38f8236a648727d9385ea6c782073dd4882d8a61a48f90600090a450505050565b6000600261089481336108ba565b6108b05760405162461bcd60e51b8152600401610588906115c0565b61063d848461115f565b600082815260056020526040812060018082015460ff1660028111156108f057634e487b7160e01b600052602160045260246000fd5b14156109125760028101546001600160a01b038481169116145b9150506104f4565b6002600182015460ff16600281111561093b57634e487b7160e01b600052602160045260246000fd5b1415610964576001600160a01b038316600090815260038201602052604090205460ff1661090a565b60405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a59081c9bdb19525960921b6044820152606401610588565b60606004805461046090611675565b6109b4610d2a565b6109c46006805461ff0019169055565b61043a60015b826107a2565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610a525760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610588565b61063d33856105a0868561165e565b60006104f0338484610ea8565b6000610a78610d2a565b610693600161068d565b80600260008281526005602052604090206001015460ff166002811115610ab957634e487b7160e01b600052602160045260246000fd5b14610ad65760405162461bcd60e51b815260040161058890611574565b81610ae181336108ba565b610afd5760405162461bcd60e51b8152600401610588906115c0565b6000838152600560205260409020610b1890600301336112ae565b6040513390819085907feb3e33034c392e69263b04ec0fa376dc12784a41b6676c7f31b936cbc0fbb5af90600090a4505050565b600081600160008281526005602052604090206001015460ff166002811115610b8557634e487b7160e01b600052602160045260246000fd5b14610ba25760405162461bcd60e51b815260040161058890611525565b6000838152600560205260409020600201546001600160a01b031691505b50919050565b81600160008281526005602052604090206001015460ff166002811115610bfd57634e487b7160e01b600052602160045260246000fd5b14610c1a5760405162461bcd60e51b815260040161058890611525565b6000838152600560205260409020548390610c3590336108ba565b610c515760405162461bcd60e51b815260040161058890611602565b6000848152600560205260409020610c6c906002018461134b565b60405133906001600160a01b0385169086907f3b855c56b409b671c7112789d022675eb639d0bcb8896f1b6197c132f799e74690600090a450505050565b610cb2610d2a565b610cc26006805461ff0019169055565b61043a60026109ca565b610679828261134b565b60005b8151811015610d2557610d1383838381518110610d0657634e487b7160e01b600052603260045260246000fd5b60200260200101516112d0565b80610d1d816116aa565b915050610cd9565b505050565b600654610100900460ff16610d815760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610588565b565b6001600160a01b038316610de55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610588565b6001600160a01b038216610e465760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610588565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610f0c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610588565b6001600160a01b038216610f6e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610588565b6001600160a01b03831660009081526020819052604090205481811015610fe65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610588565b610ff0828261165e565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611026908490611646565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161107291815260200190565b60405180910390a350505050565b6001600160a01b0382166110d65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610588565b80600260008282546110e89190611646565b90915550506001600160a01b03821660009081526020819052604081208054839290611115908490611646565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166111bf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610588565b6001600160a01b038216600090815260208190526040902054818110156112335760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610588565b61123d828261165e565b6001600160a01b0384166000908152602081905260408120919091556002805484929061126b90849061165e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610e9b565b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6001600160a01b0381166113265760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74206164642030783020746f20612073686172656420726f6c65006044820152606401610588565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b0381166113ad5760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f742073657420616e206578636c757369766520726f6c6520746f2060448201526203078360ec1b6064820152608401610588565b81546001600160a01b0319166001600160a01b0391909116179055565b80356001600160a01b038116811461069657600080fd5b6000602082840312156113f2578081fd5b6113fb826113ca565b9392505050565b60008060408385031215611414578081fd5b61141d836113ca565b915061142b602084016113ca565b90509250929050565b600080600060608486031215611448578081fd5b611451846113ca565b925061145f602085016113ca565b9150604084013590509250925092565b60008060408385031215611481578182fd5b61148a836113ca565b946020939093013593505050565b6000602082840312156114a9578081fd5b5035919050565b600080604083850312156114c2578182fd5b8235915061142b602084016113ca565b6000602080835283518082850152825b818110156114fe578581018301518582016040015282016114e2565b8181111561150f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252602f908201527f4d7573742062652063616c6c6564206f6e20616e20696e697469616c697a656460408201526e204578636c757369766520726f6c6560881b606082015260800190565b6020808252602c908201527f4d7573742062652063616c6c6564206f6e20616e20696e697469616c697a656460408201526b2053686172656420726f6c6560a01b606082015260800190565b60208082526022908201527f53656e64657220646f6573206e6f7420686f6c6420726571756972656420726f6040820152616c6560f01b606082015260800190565b60208082526024908201527f43616e206f6e6c792062652063616c6c6564206279206120726f6c65206d616e60408201526330b3b2b960e11b606082015260800190565b60008219821115611659576116596116c5565b500190565b600082821015611670576116706116c5565b500390565b600181811c9082168061168957607f821691505b60208210811415610bc057634e487b7160e01b600052602260045260246000fd5b60006000198214156116be576116be6116c5565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220eae5f65732d1daf103cc92607a3bb9c8ee9d4b24a68420cff73a2a344041279864736f6c63430008040033417474656d7074656420746f2075736520616e20696e76616c696420726f6c65000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000147465737453796e7468204c6f6e6720546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000056c74657374000000000000000000000000000000000000000000000000000000

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.