POL Price: $0.305796 (+0.92%)
Gas: 30 GWei
 

Overview

Max Total Supply

262,424.125 MSGLD

Holders

163 (0.00%)

Total Transfers

-

Market

Price

$0.00 @ 0.000000 POL

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 6 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

MetalStream issues digital securities backed by precious metals. Each MSGLD is backed by and redeemable for 1g LBMA certified gold bullion (ISIN: MYA165612B00).

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x8Db0A6d1...7B9359c7f
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
TokenProxy

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at polygonscan.com on 2021-09-16
*/

// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.0;

interface IImplementationAuthority {
    function getImplementation() external view returns (address);
}

contract TokenProxy {
    address public implementationAuthority;

    constructor(
        address _implementationAuthority,
        address _identityRegistry,
        address _compliance,
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        address _onchainID
    ) {
        implementationAuthority = _implementationAuthority;

        address logic = IImplementationAuthority(implementationAuthority).getImplementation();

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, ) =
            logic.delegatecall(
                abi.encodeWithSignature(
                    'init(address,address,string,string,uint8,address)',
                    _identityRegistry,
                    _compliance,
                    _name,
                    _symbol,
                    _decimals,
                    _onchainID
                )
            );
        require(success, 'Initialization failed.');
    }

    fallback() external payable {
        address logic = IImplementationAuthority(implementationAuthority).getImplementation();

        assembly {
            // solium-disable-line
            calldatacopy(0x0, 0x0, calldatasize())
            let success := delegatecall(sub(gas(), 10000), logic, 0x0, calldatasize(), 0, 0)
            let retSz := returndatasize()
            returndatacopy(0, 0, retSz)
            switch success
                case 0 {
                    revert(0, retSz)
                }
                default {
                    return(0, retSz)
                }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_implementationAuthority","type":"address"},{"internalType":"address","name":"_identityRegistry","type":"address"},{"internalType":"address","name":"_compliance","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"},{"internalType":"address","name":"_onchainID","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementationAuthority","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506040516105a93803806105a983398101604081905261002f91610280565b600080546001600160a01b0319166001600160a01b03891690811782556040805163557887a160e11b8152905163aaf10f4291600480820192602092909190829003018186803b15801561008257600080fd5b505afa158015610096573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ba919061025e565b90506000816001600160a01b03168888888888886040516024016100e396959493929190610387565b60408051601f198184030181529181526020820180516001600160e01b0316633e46d86760e21b17905251610118919061036b565b600060405180830381855af49150503d8060008114610153576040519150601f19603f3d011682016040523d82523d6000602084013e610158565b606091505b50509050806101ad5760405162461bcd60e51b815260206004820152601660248201527f496e697469616c697a6174696f6e206661696c65642e00000000000000000000604482015260640160405180910390fd5b505050505050505050610428565b80516001600160a01b03811681146101d257600080fd5b919050565b600082601f8301126101e857600080fd5b81516001600160401b038082111561020257610202610412565b604051601f8301601f19908116603f0116810190828211818310171561022a5761022a610412565b8160405283815286602085880101111561024357600080fd5b6102548460208301602089016103e2565b9695505050505050565b60006020828403121561027057600080fd5b610279826101bb565b9392505050565b600080600080600080600060e0888a03121561029b57600080fd5b6102a4886101bb565b96506102b2602089016101bb565b95506102c0604089016101bb565b60608901519095506001600160401b03808211156102dd57600080fd5b6102e98b838c016101d7565b955060808a01519150808211156102ff57600080fd5b5061030c8a828b016101d7565b93505060a088015160ff8116811461032357600080fd5b915061033160c089016101bb565b905092959891949750929550565b600081518084526103578160208601602086016103e2565b601f01601f19169290920160200192915050565b6000825161037d8184602087016103e2565b9190910192915050565b600060018060a01b038089168352808816602084015260c060408401526103b160c084018861033f565b83810360608501526103c3818861033f565b60ff969096166080850152509290921660a09091015250949350505050565b60005b838110156103fd5781810151838201526020016103e5565b8381111561040c576000848401525b50505050565b634e487b7160e01b600052604160045260246000fd5b610172806104376000396000f3fe60806040526004361061001e5760003560e01c80632307f882146100d0575b60008060009054906101000a90046001600160a01b03166001600160a01b031663aaf10f426040518163ffffffff1660e01b815260040160206040518083038186803b15801561006d57600080fd5b505afa158015610081573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100a5919061010c565b90503660008037600080366000846127105a03f43d806000803e8180156100cb57816000f35b816000fd5b3480156100dc57600080fd5b506000546100f0906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b60006020828403121561011e57600080fd5b81516001600160a01b038116811461013557600080fd5b939250505056fea2646970667358221220368fa0b7b195beecf9ad278ea9630c30fc9e154851afd3564b4549da4d038fd064736f6c634300080600330000000000000000000000006e72090fd9a0ec389945955b26144924950ce407000000000000000000000000dab7938fafdce9a7050b4521f40d9713d7cd4d7b000000000000000000000000ecfc1a174aad1c859e737af0d6ba31d946da817b00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000006000000000000000000000000fe1bd11cd131c02f31a8b213651a8358fa1ab7a80000000000000000000000000000000000000000000000000000000000000006454e45475241000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034547580000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061001e5760003560e01c80632307f882146100d0575b60008060009054906101000a90046001600160a01b03166001600160a01b031663aaf10f426040518163ffffffff1660e01b815260040160206040518083038186803b15801561006d57600080fd5b505afa158015610081573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100a5919061010c565b90503660008037600080366000846127105a03f43d806000803e8180156100cb57816000f35b816000fd5b3480156100dc57600080fd5b506000546100f0906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b60006020828403121561011e57600080fd5b81516001600160a01b038116811461013557600080fd5b939250505056fea2646970667358221220368fa0b7b195beecf9ad278ea9630c30fc9e154851afd3564b4549da4d038fd064736f6c63430008060033

Deployed Bytecode Sourcemap

176:1646:0:-:0;;;;;;;;;;;;;;;;;;1232:13;1273:23;;;;;;;;;-1:-1:-1;;;;;1273:23:0;-1:-1:-1;;;;;1248:67:0;;:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1232:85;;1413:14;1408:3;1403;1390:38;1520:1;1517;1501:14;1496:3;1489:5;1481;1474;1470:17;1457:65;1549:16;1600:5;1597:1;1594;1579:27;1627:7;1652:65;;;;1776:5;1773:1;1766:16;1652:65;1692:5;1689:1;1682:16;203:38;;;;;;;;;;-1:-1:-1;203:38:0;;;;-1:-1:-1;;;;;203:38:0;;;;;;-1:-1:-1;;;;;473:32:1;;;455:51;;443:2;428:18;203:38:0;;;;;;;14:290:1;84:6;137:2;125:9;116:7;112:23;108:32;105:2;;;153:1;150;143:12;105:2;179:16;;-1:-1:-1;;;;;224:31:1;;214:42;;204:2;;270:1;267;260:12;204:2;293:5;95:209;-1:-1:-1;;;95:209:1:o

Swarm Source

ipfs://368fa0b7b195beecf9ad278ea9630c30fc9e154851afd3564b4549da4d038fd0
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.