ETH Price: $3,630.91 (+0.12%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer211107822024-11-04 0:44:5962 days ago1730681099IN
0xc8A5274C...E63DC9261
0 ETH0.000239832.4923544
Approve209403862024-10-11 5:47:1186 days ago1728625631IN
0xc8A5274C...E63DC9261
0 ETH0.0003307513.7
Approve209403852024-10-11 5:46:5986 days ago1728625619IN
0xc8A5274C...E63DC9261
0 ETH0.0003315813.7
Approve209403842024-10-11 5:46:4786 days ago1728625607IN
0xc8A5274C...E63DC9261
0 ETH0.0003315813.7
Transfer199393542024-05-24 11:10:23226 days ago1716549023IN
0xc8A5274C...E63DC9261
0 ETH0.000509656.67696882
Transfer191435722024-02-02 22:05:23337 days ago1706911523IN
0xc8A5274C...E63DC9261
0 ETH0.001918819.93979006
Transfer190344172024-01-18 14:43:35353 days ago1705589015IN
0xc8A5274C...E63DC9261
0 ETH0.0015125631.96454857
Transfer189983392024-01-13 13:42:11358 days ago1705153331IN
0xc8A5274C...E63DC9261
0 ETH0.0014017721.90069442
Transfer189935742024-01-12 21:43:23358 days ago1705095803IN
0xc8A5274C...E63DC9261
0 ETH0.0017802330.05631236
Transfer189911802024-01-12 13:41:11359 days ago1705066871IN
0xc8A5274C...E63DC9261
0 ETH0.0027084626.81809638
Transfer189910922024-01-12 13:23:35359 days ago1705065815IN
0xc8A5274C...E63DC9261
0 ETH0.0023516123.28189259
Approve189795732024-01-10 22:37:59360 days ago1704926279IN
0xc8A5274C...E63DC9261
0 ETH0.0023093649.74186527
Approve189656852024-01-08 23:54:59362 days ago1704758099IN
0xc8A5274C...E63DC9261
0 ETH0.0008213317.79212306
Approve189457682024-01-06 4:20:35365 days ago1704514835IN
0xc8A5274C...E63DC9261
0 ETH0.0006645414.31373992
Approve189350642024-01-04 16:10:47367 days ago1704384647IN
0xc8A5274C...E63DC9261
0 ETH0.0008106533.57708484
Approve189350522024-01-04 16:08:23367 days ago1704384503IN
0xc8A5274C...E63DC9261
0 ETH0.001603234.72930008
Approve189155562024-01-01 22:29:23369 days ago1704148163IN
0xc8A5274C...E63DC9261
0 ETH0.0004735410.1997227
Approve189155282024-01-01 22:23:47369 days ago1704147827IN
0xc8A5274C...E63DC9261
0 ETH0.0004918710.5946066
Transfer189144212024-01-01 18:40:11370 days ago1704134411IN
0xc8A5274C...E63DC9261
0 ETH0.0016212816.84804388
Approve189129492024-01-01 13:43:11370 days ago1704116591IN
0xc8A5274C...E63DC9261
0 ETH0.0005119711.01334665
Transfer189125102024-01-01 12:13:47370 days ago1704111227IN
0xc8A5274C...E63DC9261
0 ETH0.000878269.12669339
Approve189124852024-01-01 12:08:47370 days ago1704110927IN
0xc8A5274C...E63DC9261
0 ETH0.0019295241.56030989
Approve189124722024-01-01 12:05:59370 days ago1704110759IN
0xc8A5274C...E63DC9261
0 ETH0.0004993610.7420072
Approve189029822023-12-31 4:07:47371 days ago1703995667IN
0xc8A5274C...E63DC9261
0 ETH0.0006586814.16918725
Approve188972172023-12-30 8:41:23372 days ago1703925683IN
0xc8A5274C...E63DC9261
0 ETH0.0004245217.54021212
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BRC20

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 2 : BRC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./interfaces/IBRC20Factory.sol";


contract BRC20 {
    string public name;
    string public symbol;
    uint8 public immutable decimals;
    address public immutable factory;
    uint256  public totalSupply;
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping(address => uint256)) public allowance;
    bytes32 public DOMAIN_SEPARATOR;
    address bridge; uint256 global;
    mapping (address => uint256) public nonces;
    bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 value);

    constructor(string memory _name,string memory _symbol,uint8 _deciamls,address _factory,address _bridge) {
        (name, symbol,decimals) = (_name, _symbol,_deciamls) ;
        
        factory = _factory;

        uint256 chainId;
        assembly {
            chainId := chainid()}
        bridge = _bridge;
        DOMAIN_SEPARATOR = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes('1')), chainId, address(this))); 
    }

    function mint(address to, uint256 amount) external {
        require(msg.sender == factory||msg.sender == bridge, "unauthorized");
        _mint(to, amount);
    }

    function burn(uint256 amount) external {
        require(msg.sender == factory, "unauthorized");
        _burn(msg.sender, amount);
    }

    function approve(address spender, uint256 amount) external returns (bool) {
        allowance[msg.sender][spender] = amount;
        emit Approval(msg.sender, spender, amount);
        return true;
    }

    function transfer(address to, uint256 amount) external returns (bool) {
        balanceOf[msg.sender] -= amount;
        unchecked {
            balanceOf[to] += amount;
        }
        (, bytes memory returnData)=bridge.call(abi.encodeWithSignature("count(address,address,uint256)",msg.sender, to, amount));
        global += amount/abi.decode(returnData, (uint256));
        emit Transfer(msg.sender, to, amount);
        return true;
    }

    function transferFrom(address from, address to, uint256 amount) external returns (bool) {
        uint256 allowed = allowance[from][msg.sender];

        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;

        balanceOf[from] -= amount;
        unchecked {
            balanceOf[to] += amount;
        }
        (, bytes memory returnData)=bridge.call(abi.encodeWithSignature("count(address,address,uint256)",from, to, amount));
        global += amount/abi.decode(returnData, (uint256));
        emit Transfer(from, to, amount);
        return true;
    }

    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external {
        require(deadline >= block.timestamp, 'EXPIRED');
        unchecked {
            bytes32 digest = keccak256(
                abi.encodePacked(
                    '\x19\x01',
                    DOMAIN_SEPARATOR,
                    keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
                )
            );
            address recoveredAddress = ecrecover(digest, v, r, s);
            require(recoveredAddress != address(0) && recoveredAddress == owner, 'INVALID_SIGNATURE');
            allowance[recoveredAddress][spender] = value;
        }
        emit Approval(owner, spender, value);
    }

    function _mint(address to, uint256 amount) internal {
        totalSupply += amount;

        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(address(0), to, amount);
    }

    function _burn(address from, uint256 amount) internal {
        balanceOf[from] -= amount;

        unchecked {
            totalSupply -= amount;
        }

        emit Transfer(from, address(0), amount);
    }
}

File 2 of 2 : IBRC20Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;


interface IBRC20Factory {
    function parameters() external view returns (string memory name, string memory symbol, uint8 decimals);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_deciamls","type":"uint8"},{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_bridge","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60c060405234801562000010575f80fd5b506040516200127138038062001271833981016040819052620000339162000221565b60ff83166080528484845f8060016200004d85826200034d565b506200005c905084826200034d565b505050506001600160a01b0382811660a052600680546001600160a01b03191691831691909117905560405146907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90620000b9905f9062000419565b60408051918290038220828201825260018352603160f81b6020938401528151928301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018290523060a082015260c0016040516020818303038152906040528051906020012060058190555050505050505062000493565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000168575f80fd5b81516001600160401b038082111562000185576200018562000144565b604051601f8301601f19908116603f01168101908282118183101715620001b057620001b062000144565b8160405283815260209250866020858801011115620001cd575f80fd5b5f91505b83821015620001f05785820183015181830184015290820190620001d1565b5f602085830101528094505050505092915050565b80516001600160a01b03811681146200021c575f80fd5b919050565b5f805f805f60a0868803121562000236575f80fd5b85516001600160401b03808211156200024d575f80fd5b6200025b89838a0162000158565b9650602088015191508082111562000271575f80fd5b50620002808882890162000158565b945050604086015160ff8116811462000297575f80fd5b9250620002a76060870162000205565b9150620002b76080870162000205565b90509295509295909350565b600181811c90821680620002d857607f821691505b602082108103620002f757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200034857805f5260205f20601f840160051c81016020851015620003245750805b601f840160051c820191505b8181101562000345575f815560010162000330565b50505b505050565b81516001600160401b0381111562000369576200036962000144565b62000381816200037a8454620002c3565b84620002fd565b602080601f831160018114620003b7575f84156200039f5750858301515b5f19600386901b1c1916600185901b17855562000411565b5f85815260208120601f198616915b82811015620003e757888601518255948401946001909101908401620003c6565b50858210156200040557878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f8083546200042881620002c3565b60018281168015620004435760018114620004595762000487565b60ff198416875282151583028701945062000487565b875f526020805f205f5b858110156200047e5781548a82015290840190820162000463565b50505082870194505b50929695505050505050565b60805160a051610dae620004c35f395f818161028b015281816105bd015261064c01525f6101c80152610dae5ff3fe608060405234801561000f575f80fd5b5060043610610106575f3560e01c806340c10f191161009e57806395d89b411161006e57806395d89b411461026b578063a9059cbb14610273578063c45a015514610286578063d505accf146102c5578063dd62ed3e146102d8575f80fd5b806340c10f191461020557806342966c681461021a57806370a082311461022d5780637ecebe001461024c575f80fd5b806323b872dd116100d957806323b872dd1461018957806330adf81f1461019c578063313ce567146101c35780633644e515146101fc575f80fd5b806306fdde031461010a578063095ea7b31461012857806318160ddd1461014b57806320606b7014610162575b5f80fd5b610112610302565b60405161011f9190610b12565b60405180910390f35b61013b610136366004610b5f565b61038d565b604051901515815260200161011f565b61015460025481565b60405190815260200161011f565b6101547f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b61013b610197366004610b87565b6103f9565b6101547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6101ea7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161011f565b61015460055481565b610218610213366004610b5f565b6105b2565b005b610218610228366004610bc0565b610641565b61015461023b366004610bd7565b60036020525f908152604090205481565b61015461025a366004610bd7565b60086020525f908152604090205481565b6101126106b5565b61013b610281366004610b5f565b6106c2565b6102ad7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161011f565b6102186102d3366004610bf7565b610808565b6101546102e6366004610c64565b600460209081525f928352604080842090915290825290205481565b5f805461030e90610c95565b80601f016020809104026020016040519081016040528092919081815260200182805461033a90610c95565b80156103855780601f1061035c57610100808354040283529160200191610385565b820191905f5260205f20905b81548152906001019060200180831161036857829003601f168201915b505050505081565b335f8181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103e79086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383165f9081526004602090815260408083203384529091528120545f1981146104525761042e8382610ce1565b6001600160a01b0386165f9081526004602090815260408083203384529091529020555b6001600160a01b0385165f9081526003602052604081208054859290610479908490610ce1565b90915550506001600160a01b038481165f81815260036020526040808220805488019055600654905189851660248201526044810193909352606483018790529092169060840160408051601f198184030181529181526020820180516001600160e01b0316630a2c8e8b60e31b179052516104f59190610cf4565b5f604051808303815f865af19150503d805f811461052e576040519150601f19603f3d011682016040523d82523d5f602084013e610533565b606091505b509150508080602001905181019061054b9190610d0f565b6105559085610d26565b60075f8282546105659190610d45565b92505081905550846001600160a01b0316866001600160a01b03165f80516020610d598339815191528660405161059e91815260200190565b60405180910390a350600195945050505050565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614806105f357506006546001600160a01b031633145b6106335760405162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b60448201526064015b60405180910390fd5b61063d8282610a3a565b5050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106a85760405162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b604482015260640161062a565b6106b23382610a91565b50565b6001805461030e90610c95565b335f908152600360205260408120805483919083906106e2908490610ce1565b90915550506001600160a01b038381165f8181526003602052604080822080548701905560065490513360248201526044810193909352606483018690529092169060840160408051601f198184030181529181526020820180516001600160e01b0316630a2c8e8b60e31b1790525161075c9190610cf4565b5f604051808303815f865af19150503d805f8114610795576040519150601f19603f3d011682016040523d82523d5f602084013e61079a565b606091505b50915050808060200190518101906107b29190610d0f565b6107bc9084610d26565b60075f8282546107cc9190610d45565b90915550506040518381526001600160a01b0385169033905f80516020610d598339815191529060200160405180910390a35060019392505050565b428410156108425760405162461bcd60e51b81526020600482015260076024820152661156141254915160ca1b604482015260640161062a565b6005546001600160a01b038881165f8181526008602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e280820193601f1981019281900390910190855afa15801561095a573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116158015906109905750886001600160a01b0316816001600160a01b0316145b6109d05760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b604482015260640161062a565b6001600160a01b039081165f9081526004602090815260408083208b8516808552908352928190208a905551898152919350918a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b8060025f828254610a4b9190610d45565b90915550506001600160a01b0382165f818152600360209081526040808320805486019055518481525f80516020610d5983398151915291015b60405180910390a35050565b6001600160a01b0382165f9081526003602052604081208054839290610ab8908490610ce1565b90915550506002805482900390556040518181525f906001600160a01b038416905f80516020610d5983398151915290602001610a85565b5f5b83811015610b0a578181015183820152602001610af2565b50505f910152565b602081525f8251806020840152610b30816040850160208701610af0565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610b5a575f80fd5b919050565b5f8060408385031215610b70575f80fd5b610b7983610b44565b946020939093013593505050565b5f805f60608486031215610b99575f80fd5b610ba284610b44565b9250610bb060208501610b44565b9150604084013590509250925092565b5f60208284031215610bd0575f80fd5b5035919050565b5f60208284031215610be7575f80fd5b610bf082610b44565b9392505050565b5f805f805f805f60e0888a031215610c0d575f80fd5b610c1688610b44565b9650610c2460208901610b44565b95506040880135945060608801359350608088013560ff81168114610c47575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215610c75575f80fd5b610c7e83610b44565b9150610c8c60208401610b44565b90509250929050565b600181811c90821680610ca957607f821691505b602082108103610cc757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103f3576103f3610ccd565b5f8251610d05818460208701610af0565b9190910192915050565b5f60208284031215610d1f575f80fd5b5051919050565b5f82610d4057634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156103f3576103f3610ccd56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122009b888709443f806fa962ac049a6ded4740f72d73fd7307562d22af3e608e40b64736f6c6343000816003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000861e3c82bc2753ea64ae5f962d993df6853a67000000000000000000000000000e9c64506469bd06c33f5c1549bf3eadddab5e200000000000000000000000000000000000000000000000000000000000000004414d4d58000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004414d4d5800000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610106575f3560e01c806340c10f191161009e57806395d89b411161006e57806395d89b411461026b578063a9059cbb14610273578063c45a015514610286578063d505accf146102c5578063dd62ed3e146102d8575f80fd5b806340c10f191461020557806342966c681461021a57806370a082311461022d5780637ecebe001461024c575f80fd5b806323b872dd116100d957806323b872dd1461018957806330adf81f1461019c578063313ce567146101c35780633644e515146101fc575f80fd5b806306fdde031461010a578063095ea7b31461012857806318160ddd1461014b57806320606b7014610162575b5f80fd5b610112610302565b60405161011f9190610b12565b60405180910390f35b61013b610136366004610b5f565b61038d565b604051901515815260200161011f565b61015460025481565b60405190815260200161011f565b6101547f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b61013b610197366004610b87565b6103f9565b6101547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6101ea7f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff909116815260200161011f565b61015460055481565b610218610213366004610b5f565b6105b2565b005b610218610228366004610bc0565b610641565b61015461023b366004610bd7565b60036020525f908152604090205481565b61015461025a366004610bd7565b60086020525f908152604090205481565b6101126106b5565b61013b610281366004610b5f565b6106c2565b6102ad7f000000000000000000000000861e3c82bc2753ea64ae5f962d993df6853a670081565b6040516001600160a01b03909116815260200161011f565b6102186102d3366004610bf7565b610808565b6101546102e6366004610c64565b600460209081525f928352604080842090915290825290205481565b5f805461030e90610c95565b80601f016020809104026020016040519081016040528092919081815260200182805461033a90610c95565b80156103855780601f1061035c57610100808354040283529160200191610385565b820191905f5260205f20905b81548152906001019060200180831161036857829003601f168201915b505050505081565b335f8181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103e79086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383165f9081526004602090815260408083203384529091528120545f1981146104525761042e8382610ce1565b6001600160a01b0386165f9081526004602090815260408083203384529091529020555b6001600160a01b0385165f9081526003602052604081208054859290610479908490610ce1565b90915550506001600160a01b038481165f81815260036020526040808220805488019055600654905189851660248201526044810193909352606483018790529092169060840160408051601f198184030181529181526020820180516001600160e01b0316630a2c8e8b60e31b179052516104f59190610cf4565b5f604051808303815f865af19150503d805f811461052e576040519150601f19603f3d011682016040523d82523d5f602084013e610533565b606091505b509150508080602001905181019061054b9190610d0f565b6105559085610d26565b60075f8282546105659190610d45565b92505081905550846001600160a01b0316866001600160a01b03165f80516020610d598339815191528660405161059e91815260200190565b60405180910390a350600195945050505050565b336001600160a01b037f000000000000000000000000861e3c82bc2753ea64ae5f962d993df6853a67001614806105f357506006546001600160a01b031633145b6106335760405162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b60448201526064015b60405180910390fd5b61063d8282610a3a565b5050565b336001600160a01b037f000000000000000000000000861e3c82bc2753ea64ae5f962d993df6853a670016146106a85760405162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b604482015260640161062a565b6106b23382610a91565b50565b6001805461030e90610c95565b335f908152600360205260408120805483919083906106e2908490610ce1565b90915550506001600160a01b038381165f8181526003602052604080822080548701905560065490513360248201526044810193909352606483018690529092169060840160408051601f198184030181529181526020820180516001600160e01b0316630a2c8e8b60e31b1790525161075c9190610cf4565b5f604051808303815f865af19150503d805f8114610795576040519150601f19603f3d011682016040523d82523d5f602084013e61079a565b606091505b50915050808060200190518101906107b29190610d0f565b6107bc9084610d26565b60075f8282546107cc9190610d45565b90915550506040518381526001600160a01b0385169033905f80516020610d598339815191529060200160405180910390a35060019392505050565b428410156108425760405162461bcd60e51b81526020600482015260076024820152661156141254915160ca1b604482015260640161062a565b6005546001600160a01b038881165f8181526008602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e280820193601f1981019281900390910190855afa15801561095a573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116158015906109905750886001600160a01b0316816001600160a01b0316145b6109d05760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b604482015260640161062a565b6001600160a01b039081165f9081526004602090815260408083208b8516808552908352928190208a905551898152919350918a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b8060025f828254610a4b9190610d45565b90915550506001600160a01b0382165f818152600360209081526040808320805486019055518481525f80516020610d5983398151915291015b60405180910390a35050565b6001600160a01b0382165f9081526003602052604081208054839290610ab8908490610ce1565b90915550506002805482900390556040518181525f906001600160a01b038416905f80516020610d5983398151915290602001610a85565b5f5b83811015610b0a578181015183820152602001610af2565b50505f910152565b602081525f8251806020840152610b30816040850160208701610af0565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610b5a575f80fd5b919050565b5f8060408385031215610b70575f80fd5b610b7983610b44565b946020939093013593505050565b5f805f60608486031215610b99575f80fd5b610ba284610b44565b9250610bb060208501610b44565b9150604084013590509250925092565b5f60208284031215610bd0575f80fd5b5035919050565b5f60208284031215610be7575f80fd5b610bf082610b44565b9392505050565b5f805f805f805f60e0888a031215610c0d575f80fd5b610c1688610b44565b9650610c2460208901610b44565b95506040880135945060608801359350608088013560ff81168114610c47575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215610c75575f80fd5b610c7e83610b44565b9150610c8c60208401610b44565b90509250929050565b600181811c90821680610ca957607f821691505b602082108103610cc757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103f3576103f3610ccd565b5f8251610d05818460208701610af0565b9190910192915050565b5f60208284031215610d1f575f80fd5b5051919050565b5f82610d4057634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156103f3576103f3610ccd56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122009b888709443f806fa962ac049a6ded4740f72d73fd7307562d22af3e608e40b64736f6c63430008160033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000861e3c82bc2753ea64ae5f962d993df6853a67000000000000000000000000000e9c64506469bd06c33f5c1549bf3eadddab5e200000000000000000000000000000000000000000000000000000000000000004414d4d58000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004414d4d5800000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): AMMX
Arg [1] : _symbol (string): AMMX
Arg [2] : _deciamls (uint8): 18
Arg [3] : _factory (address): 0x861E3c82Bc2753ea64aE5f962d993DF6853a6700
Arg [4] : _bridge (address): 0x0E9C64506469BD06C33F5C1549bf3eaDDdaB5E20

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000861e3c82bc2753ea64ae5f962d993df6853a6700
Arg [4] : 0000000000000000000000000e9c64506469bd06c33f5c1549bf3eadddab5e20
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 414d4d5800000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 414d4d5800000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.