ETH Price: $2,268.23 (+7.58%)

Contract

0x285D362E41CcC116192A17D21a87f41Fc26d32F9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Ms Transfer Cont...107513912020-08-28 20:41:412025 days ago1598647301IN
0x285D362E...Fc26d32F9
0 ETH0.00642939110
Ms Transfer Cont...107513852020-08-28 20:38:362025 days ago1598647116IN
0x285D362E...Fc26d32F9
0 ETH0.01496374110
Ms Veto107513752020-08-28 20:36:572025 days ago1598647017IN
0x285D362E...Fc26d32F9
0 ETH0.00432993110
Ms Veto107513642020-08-28 20:34:592025 days ago1598646899IN
0x285D362E...Fc26d32F9
0 ETH0.00589116110
Set Mint Limits105122562020-07-22 23:44:472062 days ago1595461487IN
0x285D362E...Fc26d32F9
0 ETH0.0064014100
Set Mint Limits105122372020-07-22 23:41:222062 days ago1595461282IN
0x285D362E...Fc26d32F9
0 ETH0.00279072120
Set Mint Limits105121942020-07-22 23:32:232062 days ago1595460743IN
0x285D362E...Fc26d32F9
0 ETH0.02127768120
Ms Update Owner104101932020-07-07 4:40:062078 days ago1594096806IN
0x285D362E...Fc26d32F9
0 ETH0.0050155575
Ms Update Owner104101842020-07-07 4:38:222078 days ago1594096702IN
0x285D362E...Fc26d32F9
0 ETH0.0119028775
Ms Update Owner104101162020-07-07 4:17:322078 days ago1594095452IN
0x285D362E...Fc26d32F9
0 ETH0.0048580575
Ms Update Owner104100912020-07-07 4:13:002078 days ago1594095180IN
0x285D362E...Fc26d32F9
0 ETH0.0119028775
Ms Update Owner104100782020-07-07 4:09:592078 days ago1594094999IN
0x285D362E...Fc26d32F9
0 ETH0.004857675
Ms Update Owner104100762020-07-07 4:09:012078 days ago1594094941IN
0x285D362E...Fc26d32F9
0 ETH0.0119019775
Ms Veto104100622020-07-07 4:06:022078 days ago1594094762IN
0x285D362E...Fc26d32F9
0 ETH0.0022304165
Ms Veto104100582020-07-07 4:05:262078 days ago1594094726IN
0x285D362E...Fc26d32F9
0 ETH0.0034811465
Transfer Ownersh...104098582020-07-07 3:15:412078 days ago1594091741IN
0x285D362E...Fc26d32F9
0 ETH0.0076150456.00000291
Transfer Ownersh...102017272020-06-04 21:28:472110 days ago1591306127IN
0x285D362E...Fc26d32F9
0 ETH0.0013504126
Transfer Ownersh...102017182020-06-04 21:27:332110 days ago1591306053IN
0x285D362E...Fc26d32F9
0 ETH0.0035355526
Upgrade Tusd Pro...102016802020-06-04 21:20:242110 days ago1591305624IN
0x285D362E...Fc26d32F9
0 ETH0.0013789126
Upgrade Tusd Pro...102016762020-06-04 21:18:372110 days ago1591305517IN
0x285D362E...Fc26d32F9
0 ETH0.0035166826
Upgrade Tusd Pro...102010722020-06-04 19:05:272110 days ago1591297527IN
0x285D362E...Fc26d32F9
0 ETH0.0016971232
Upgrade Tusd Pro...102010692020-06-04 19:04:542110 days ago1591297494IN
0x285D362E...Fc26d32F9
0 ETH0.0043282232
Upgrade Tusd Pro...102010292020-06-04 18:56:372110 days ago1591296997IN
0x285D362E...Fc26d32F9
0 ETH0.0016971232
Upgrade Tusd Pro...102010142020-06-04 18:52:482110 days ago1591296768IN
0x285D362E...Fc26d32F9
0 ETH0.0045987334
Ms Upgrade Contr...102009942020-06-04 18:48:202110 days ago1591296500IN
0x285D362E...Fc26d32F9
0 ETH0.0017149234
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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

Contract Name:
OwnedUpgradeabilityProxy

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-06-08
*/

pragma solidity ^0.4.23;

// File: contracts/Proxy/OwnedUpgradeabilityProxy.sol

/**
 * @title OwnedUpgradeabilityProxy
 * @dev This contract combines an upgradeability proxy with basic authorization control functionalities
 */
contract OwnedUpgradeabilityProxy {
    /**
    * @dev Event to show ownership has been transferred
    * @param previousOwner representing the address of the previous owner
    * @param newOwner representing the address of the new owner
    */
    event ProxyOwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
    * @dev Event to show ownership transfer is pending
    * @param currentOwner representing the address of the current owner
    * @param pendingOwner representing the address of the pending owner
    */
    event NewPendingOwner(address currentOwner, address pendingOwner);
    
    // Storage position of the owner and pendingOwner of the contract
    bytes32 private constant proxyOwnerPosition = 0x6279e8199720cf3557ecd8b58d667c8edc486bd1cf3ad59ea9ebdfcae0d0dfac;//keccak256("trueUSD.proxy.owner");
    bytes32 private constant pendingProxyOwnerPosition = 0x8ddbac328deee8d986ec3a7b933a196f96986cb4ee030d86cc56431c728b83f4;//keccak256("trueUSD.pending.proxy.owner");

    /**
    * @dev the constructor sets the original owner of the contract to the sender account.
    */
    constructor() public {
        _setUpgradeabilityOwner(msg.sender);
    }

    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyProxyOwner() {
        require(msg.sender == proxyOwner(), "only Proxy Owner");
        _;
    }

    /**
    * @dev Throws if called by any account other than the pending owner.
    */
    modifier onlyPendingProxyOwner() {
        require(msg.sender == pendingProxyOwner(), "only pending Proxy Owner");
        _;
    }

    /**
    * @dev Tells the address of the owner
    * @return the address of the owner
    */
    function proxyOwner() public view returns (address owner) {
        bytes32 position = proxyOwnerPosition;
        assembly {
            owner := sload(position)
        }
    }

    /**
    * @dev Tells the address of the owner
    * @return the address of the owner
    */
    function pendingProxyOwner() public view returns (address pendingOwner) {
        bytes32 position = pendingProxyOwnerPosition;
        assembly {
            pendingOwner := sload(position)
        }
    }

    /**
    * @dev Sets the address of the owner
    */
    function _setUpgradeabilityOwner(address newProxyOwner) internal {
        bytes32 position = proxyOwnerPosition;
        assembly {
            sstore(position, newProxyOwner)
        }
    }

    /**
    * @dev Sets the address of the owner
    */
    function _setPendingUpgradeabilityOwner(address newPendingProxyOwner) internal {
        bytes32 position = pendingProxyOwnerPosition;
        assembly {
            sstore(position, newPendingProxyOwner)
        }
    }

    /**
    * @dev Allows the current owner to transfer control of the contract to a newOwner.
    *changes the pending owner to newOwner. But doesn't actually transfer
    * @param newOwner The address to transfer ownership to.
    */
    function transferProxyOwnership(address newOwner) external onlyProxyOwner {
        require(newOwner != address(0));
        _setPendingUpgradeabilityOwner(newOwner);
        emit NewPendingOwner(proxyOwner(), newOwner);
    }

    /**
    * @dev Allows the pendingOwner to claim ownership of the proxy
    */
    function claimProxyOwnership() external onlyPendingProxyOwner {
        emit ProxyOwnershipTransferred(proxyOwner(), pendingProxyOwner());
        _setUpgradeabilityOwner(pendingProxyOwner());
        _setPendingUpgradeabilityOwner(address(0));
    }

    /**
    * @dev Allows the proxy owner to upgrade the current version of the proxy.
    * @param implementation representing the address of the new implementation to be set.
    */
    function upgradeTo(address implementation) external onlyProxyOwner {
        address currentImplementation;
        bytes32 position = implementationPosition;
        assembly {
            currentImplementation := sload(position)
        }
        require(currentImplementation != implementation);
        assembly {
          sstore(position, implementation)
        }
        emit Upgraded(implementation);
    }
    /**
    * @dev This event will be emitted every time the implementation gets upgraded
    * @param implementation representing the address of the upgraded implementation
    */
    event Upgraded(address indexed implementation);

    // Storage position of the address of the current implementation
    bytes32 private constant implementationPosition = 0x6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc7; //keccak256("trueUSD.proxy.implementation");

    function implementation() public view returns (address impl) {
        bytes32 position = implementationPosition;
        assembly {
            impl := sload(position)
        }
    }

    /**
    * @dev Fallback function allowing to perform a delegatecall to the given implementation.
    * This function will return whatever the implementation call returns
    */
    function() external payable {
        bytes32 position = implementationPosition;
        
        assembly {
            let ptr := mload(0x40)
            calldatacopy(ptr, returndatasize, calldatasize)
            let result := delegatecall(gas, sload(position), ptr, calldatasize, returndatasize, returndatasize)
            returndatacopy(ptr, 0, returndatasize)

            switch result
            case 0 { revert(ptr, returndatasize) }
            default { return(ptr, returndatasize) }
        }
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"proxyOwner","outputs":[{"name":"owner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingProxyOwner","outputs":[{"name":"pendingOwner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"implementation","type":"address"}],"name":"upgradeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"impl","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimProxyOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferProxyOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"ProxyOwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"currentOwner","type":"address"},{"indexed":false,"name":"pendingOwner","type":"address"}],"name":"NewPendingOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"implementation","type":"address"}],"name":"Upgraded","type":"event"}]

0x608060405234801561001057600080fd5b5061002333640100000000610028810204565b61004c565b7f6279e8199720cf3557ecd8b58d667c8edc486bd1cf3ad59ea9ebdfcae0d0dfac55565b6106058061005b6000396000f3006080604052600436106100775763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663025313a281146100bc5780630add8140146100fa5780633659cfe61461010f5780635c60da1b1461013f5780639965b3d614610154578063f1739cae14610169575b6040517f6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc790363d82373d3d368385545af43d6000833e8080156100b8573d83f35b3d83fd5b3480156100c857600080fd5b506100d1610197565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010657600080fd5b506100d16101bc565b34801561011b57600080fd5b5061013d73ffffffffffffffffffffffffffffffffffffffff600435166101e1565b005b34801561014b57600080fd5b506100d161031c565b34801561016057600080fd5b5061013d610341565b34801561017557600080fd5b5061013d73ffffffffffffffffffffffffffffffffffffffff60043516610468565b7f6279e8199720cf3557ecd8b58d667c8edc486bd1cf3ad59ea9ebdfcae0d0dfac5490565b7f8ddbac328deee8d986ec3a7b933a196f96986cb4ee030d86cc56431c728b83f45490565b6000806101ec610197565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561028757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6f6e6c792050726f7879204f776e657200000000000000000000000000000000604482015290519081900360640190fd5b50507f6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc780549073ffffffffffffffffffffffffffffffffffffffff80831690841614156102d357600080fd5b82815560405173ffffffffffffffffffffffffffffffffffffffff8416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2505050565b7f6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc75490565b6103496101bc565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f6f6e6c792070656e64696e672050726f7879204f776e65720000000000000000604482015290519081900360640190fd5b6103ec6101bc565b73ffffffffffffffffffffffffffffffffffffffff1661040a610197565b73ffffffffffffffffffffffffffffffffffffffff167f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd960405160405180910390a361045c6104576101bc565b610591565b61046660006105b5565b565b610470610197565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561050b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6f6e6c792050726f7879204f776e657200000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116151561052d57600080fd5b610536816105b5565b7fb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b61055f610197565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301528051918290030190a150565b7f6279e8199720cf3557ecd8b58d667c8edc486bd1cf3ad59ea9ebdfcae0d0dfac55565b7f8ddbac328deee8d986ec3a7b933a196f96986cb4ee030d86cc56431c728b83f4555600a165627a7a723058208484b03ee3ba3bde76221bc8d5df592df8b8806f8f68b26405f0ecbc29a1a6590029

Deployed Bytecode

0x6080604052600436106100775763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663025313a281146100bc5780630add8140146100fa5780633659cfe61461010f5780635c60da1b1461013f5780639965b3d614610154578063f1739cae14610169575b6040517f6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc790363d82373d3d368385545af43d6000833e8080156100b8573d83f35b3d83fd5b3480156100c857600080fd5b506100d1610197565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010657600080fd5b506100d16101bc565b34801561011b57600080fd5b5061013d73ffffffffffffffffffffffffffffffffffffffff600435166101e1565b005b34801561014b57600080fd5b506100d161031c565b34801561016057600080fd5b5061013d610341565b34801561017557600080fd5b5061013d73ffffffffffffffffffffffffffffffffffffffff60043516610468565b7f6279e8199720cf3557ecd8b58d667c8edc486bd1cf3ad59ea9ebdfcae0d0dfac5490565b7f8ddbac328deee8d986ec3a7b933a196f96986cb4ee030d86cc56431c728b83f45490565b6000806101ec610197565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561028757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6f6e6c792050726f7879204f776e657200000000000000000000000000000000604482015290519081900360640190fd5b50507f6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc780549073ffffffffffffffffffffffffffffffffffffffff80831690841614156102d357600080fd5b82815560405173ffffffffffffffffffffffffffffffffffffffff8416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2505050565b7f6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc75490565b6103496101bc565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f6f6e6c792070656e64696e672050726f7879204f776e65720000000000000000604482015290519081900360640190fd5b6103ec6101bc565b73ffffffffffffffffffffffffffffffffffffffff1661040a610197565b73ffffffffffffffffffffffffffffffffffffffff167f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd960405160405180910390a361045c6104576101bc565b610591565b61046660006105b5565b565b610470610197565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561050b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6f6e6c792050726f7879204f776e657200000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116151561052d57600080fd5b610536816105b5565b7fb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b61055f610197565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301528051918290030190a150565b7f6279e8199720cf3557ecd8b58d667c8edc486bd1cf3ad59ea9ebdfcae0d0dfac55565b7f8ddbac328deee8d986ec3a7b933a196f96986cb4ee030d86cc56431c728b83f4555600a165627a7a723058208484b03ee3ba3bde76221bc8d5df592df8b8806f8f68b26405f0ecbc29a1a6590029

Deployed Bytecode Sourcemap

236:5674:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5524:4;5518:11;4880:66;;5577:12;5561:14;5518:11;5543:47;5688:14;5672;5658:12;5653:3;5642:8;5636:15;5631:3;5618:85;5740:14;5737:1;5732:3;5717:38;5778:6;5798:38;;;;5872:14;5867:3;5860:27;5798:38;5819:14;5814:3;5807:27;2008:183;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2008:183:0;;;;;;;;;;;;;;;;;;;;;;;2299:211;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2299:211:0;;;;4088:426;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4088:426:0;;;;;;;;;5000:189;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5000:189:0;;;;3638:254;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3638:254:0;;;;3315:230;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3315:230:0;;;;;;;2008:183;1002:66;2158:15;;2134:50::o;2299:211::-;1163:66;2477:15;;2446:57::o;4088:426::-;4166:29;4206:16;1614:12;:10;:12::i;:::-;1600:26;;:10;:26;;;1592:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4880:66:0;4307:15;;;4351:39;;;;;;;;;4343:48;;;;;;4424:32;;;4482:24;;;;;;;;;;;4088:426;;;:::o;5000:189::-;4880:66;5156:15;;5133:49::o;3638:254::-;1832:19;:17;:19::i;:::-;1818:33;;:10;:33;;;1810:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3756:19;:17;:19::i;:::-;3716:60;;3742:12;:10;:12::i;:::-;3716:60;;;;;;;;;;;;3787:44;3811:19;:17;:19::i;:::-;3787:23;:44::i;:::-;3842:42;3881:1;3842:30;:42::i;:::-;3638:254::o;3315:230::-;1614:12;:10;:12::i;:::-;1600:26;;:10;:26;;;1592:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3408:22;;;;;3400:31;;;;;;3442:40;3473:8;3442:30;:40::i;:::-;3498:39;3514:12;:10;:12::i;:::-;3498:39;;;;;;;;;;;;;;;;;;;;;;;;;3315:230;:::o;2577:197::-;1002:66;2725:31;2710:57::o;2841:225::-;1163:66;3010:38;2995:64::o

Swarm Source

bzzr://8484b03ee3ba3bde76221bc8d5df592df8b8806f8f68b26405f0ecbc29a1a659

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.