ETH Price: $3,396.34 (-1.07%)

Contract

0x23696914Ca9737466D8553a2d619948f548Ee424
 
Transaction Hash
Method
Block
From
To
Cooldown212710312024-11-26 9:28:5919 hrs ago1732613339IN
TrueFi: stkTRU Token
0 ETH0.000440188.10510812
Cooldown212704522024-11-26 7:32:2321 hrs ago1732606343IN
TrueFi: stkTRU Token
0 ETH0.000320238.60622464
Unstake212699702024-11-26 5:55:2323 hrs ago1732600523IN
TrueFi: stkTRU Token
0 ETH0.001875086.05374547
Cooldown212681152024-11-25 23:42:2329 hrs ago1732578143IN
TrueFi: stkTRU Token
0 ETH0.000287467.72555025
Cooldown212671612024-11-25 20:29:4732 hrs ago1732566587IN
TrueFi: stkTRU Token
0 ETH0.0007312519.6522391
Claim212661842024-11-25 17:12:4735 hrs ago1732554767IN
TrueFi: stkTRU Token
0 ETH0.0041876618.06944552
Cooldown212661802024-11-25 17:11:5935 hrs ago1732554719IN
TrueFi: stkTRU Token
0 ETH0.0011072920.38846811
Cooldown212650682024-11-25 13:27:3539 hrs ago1732541255IN
TrueFi: stkTRU Token
0 ETH0.001065719.62270601
Claim Rewards212609622024-11-24 23:43:232 days ago1732491803IN
TrueFi: stkTRU Token
0 ETH0.0008905110.58641812
Unstake212609582024-11-24 23:42:352 days ago1732491755IN
TrueFi: stkTRU Token
0 ETH0.003077059.92715627
Claim Rewards212607672024-11-24 23:04:112 days ago1732489451IN
TrueFi: stkTRU Token
0 ETH0.001237117.5
Cooldown212559602024-11-24 6:57:232 days ago1732431443IN
TrueFi: stkTRU Token
0 ETH0.000298128.01189938
Cooldown212553412024-11-24 4:53:113 days ago1732423991IN
TrueFi: stkTRU Token
0 ETH0.0003902810.48876461
Cooldown212552612024-11-24 4:37:113 days ago1732423031IN
TrueFi: stkTRU Token
0 ETH0.000343899.24187608
Stake212540752024-11-24 0:39:353 days ago1732408775IN
TrueFi: stkTRU Token
0 ETH0.0038397710.59988413
Unstake212519002024-11-23 17:21:353 days ago1732382495IN
TrueFi: stkTRU Token
0 ETH0.0073180222.52815239
Cooldown212518712024-11-23 17:15:473 days ago1732382147IN
TrueFi: stkTRU Token
0 ETH0.0009082824.40972646
Cooldown212515642024-11-23 16:14:113 days ago1732378451IN
TrueFi: stkTRU Token
0 ETH0.0009604125.81077396
Approve212509942024-11-23 14:19:353 days ago1732371575IN
TrueFi: stkTRU Token
0 ETH0.0011187121.68010999
Cooldown212509192024-11-23 14:04:113 days ago1732370651IN
TrueFi: stkTRU Token
0 ETH0.0009567917.61736471
Stake212480802024-11-23 4:34:474 days ago1732336487IN
TrueFi: stkTRU Token
0 ETH0.003676310.14894397
Cooldown212441962024-11-22 15:33:594 days ago1732289639IN
TrueFi: stkTRU Token
0 ETH0.000608316.34782918
Claim Rewards212441442024-11-22 15:23:354 days ago1732289015IN
TrueFi: stkTRU Token
0 ETH0.0025704217.38557303
Cooldown212434832024-11-22 13:10:474 days ago1732281047IN
TrueFi: stkTRU Token
0 ETH0.0005181413.92494587
Claim212430472024-11-22 11:43:114 days ago1732275791IN
TrueFi: stkTRU Token
0 ETH0.002276449.22640691
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
119104752021-02-23 2:01:161373 days ago1614045676
TrueFi: stkTRU Token
0.1 ETH
Loading...
Loading

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

Contract Name:
OwnedUpgradeabilityProxy

Compiler Version
v0.6.10+commit.00c0fcaf

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-11-18
*/

/*                                                                           
    .'''''''''''..     ..''''''''''''''''..       ..'''''''''''''''..       
    .;;;;;;;;;;;'.   .';;;;;;;;;;;;;;;;;;,.     .,;;;;;;;;;;;;;;;;;,.       
    .;;;;;;;;;;,.   .,;;;;;;;;;;;;;;;;;;;,.    .,;;;;;;;;;;;;;;;;;;,.       
    .;;;;;;;;;,.   .,;;;;;;;;;;;;;;;;;;;;,.   .;;;;;;;;;;;;;;;;;;;;,.       
    ';;;;;;;;'.  .';;;;;;;;;;;;;;;;;;;;;;,. .';;;;;;;;;;;;;;;;;;;;;,.       
    ';;;;;,..   .';;;;;;;;;;;;;;;;;;;;;;;,..';;;;;;;;;;;;;;;;;;;;;;,.       
    ......     .';;;;;;;;;;;;;,'''''''''''.,;;;;;;;;;;;;;,'''''''''..       
              .,;;;;;;;;;;;;;.           .,;;;;;;;;;;;;;.                   
             .,;;;;;;;;;;;;,.           .,;;;;;;;;;;;;,.                    
            .,;;;;;;;;;;;;,.           .,;;;;;;;;;;;;,.                     
           .,;;;;;;;;;;;;,.           .;;;;;;;;;;;;;,.     .....            
          .;;;;;;;;;;;;;'.         ..';;;;;;;;;;;;;'.    .',;;;;,'.         
        .';;;;;;;;;;;;;'.         .';;;;;;;;;;;;;;'.   .';;;;;;;;;;.        
       .';;;;;;;;;;;;;'.         .';;;;;;;;;;;;;;'.    .;;;;;;;;;;;,.       
      .,;;;;;;;;;;;;;'...........,;;;;;;;;;;;;;;.      .;;;;;;;;;;;,.       
     .,;;;;;;;;;;;;,..,;;;;;;;;;;;;;;;;;;;;;;;,.       ..;;;;;;;;;,.        
    .,;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;;;;,.          .',;;;,,..         
   .,;;;;;;;;;;;;,.  .,;;;;;;;;;;;;;;;;;;;;;,.              ....            
    ..',;;;;;;;;,.   .,;;;;;;;;;;;;;;;;;;;;,.                               
       ..',;;;;'.    .,;;;;;;;;;;;;;;;;;;;'.                                
          ...'..     .';;;;;;;;;;;;;;,,,'.                                  
                       ...............                                      
*/

// https://github.com/trusttoken/smart-contracts
// SPDX-License-Identifier: MIT

// File: contracts/proxy/OwnedUpgradeabilityProxy.sol
pragma solidity 0.6.10;

/**
 * @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 owner 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 pendingOwner the address of the pending 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) public virtual 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 functions allowing to perform a delegatecall to the given implementation.
     * This function will return whatever the implementation call returns
     */
    fallback() external payable {
        proxyCall();
    }

    receive() external payable {
        proxyCall();
    }

    function proxyCall() internal {
        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

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

Deployed Bytecode

0x6080604052600436106100695760003560e01c80635c60da1b116100435780635c60da1b146101135780639965b3d614610128578063f1739cae1461013d57610078565b8063025313a2146100805780630add8140146100be5780633659cfe6146100d357610078565b366100785761007661017d565b005b61007661017d565b34801561008c57600080fd5b506100956101c2565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156100ca57600080fd5b506100956101e7565b3480156100df57600080fd5b50610076600480360360208110156100f657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661020c565b34801561011f57600080fd5b50610095610340565b34801561013457600080fd5b50610076610365565b34801561014957600080fd5b506100766004803603602081101561016057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661048a565b6040517f6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc790363d82373d3d368385545af43d6000833e8080156101be573d83f35b3d83fd5b7f6279e8199720cf3557ecd8b58d667c8edc486bd1cf3ad59ea9ebdfcae0d0dfac5490565b7f8ddbac328deee8d986ec3a7b933a196f96986cb4ee030d86cc56431c728b83f45490565b6102146101c2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102ad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6f6e6c792050726f7879204f776e657200000000000000000000000000000000604482015290519081900360640190fd5b7f6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc780549073ffffffffffffffffffffffffffffffffffffffff80831690841614156102f757600080fd5b82815560405173ffffffffffffffffffffffffffffffffffffffff8416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2505050565b7f6e41e0fbe643dfdb6043698bf865aada82dc46b953f754a3468eaa272a362dc75490565b61036d6101e7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461040657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f6f6e6c792070656e64696e672050726f7879204f776e65720000000000000000604482015290519081900360640190fd5b61040e6101e7565b73ffffffffffffffffffffffffffffffffffffffff1661042c6101c2565b73ffffffffffffffffffffffffffffffffffffffff167f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd960405160405180910390a361047e6104796101e7565b6105af565b61048860006105d3565b565b6104926101c2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461052b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6f6e6c792050726f7879204f776e657200000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661054b57600080fd5b610554816105d3565b7fb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b61057d6101c2565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301528051918290030190a150565b7f6279e8199720cf3557ecd8b58d667c8edc486bd1cf3ad59ea9ebdfcae0d0dfac55565b7f8ddbac328deee8d986ec3a7b933a196f96986cb4ee030d86cc56431c728b83f45556fea26469706673582212206acd099dfc34ccee396084df959d0fdd422a2c554ac50708d35a07f9a50e18bd64736f6c634300060a0033

Deployed Bytecode Sourcemap

2119:5976:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7444:11;:9;:11::i;:::-;2119:5976;;7379:11;:9;:11::i;3912:183::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4227:211;;;;;;;;;;;;;:::i;6029:434::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6029:434:0;;;;:::i;6954:189::-;;;;;;;;;;;;;:::i;5576:254::-;;;;;;;;;;;;;:::i;5251:230::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5251:230:0;;;;:::i;7471:621::-;7607:4;7601:11;6834:66;;7662:14;7644:16;7601:11;7626:51;7781:16;7763;7747:14;7742:3;7731:8;7725:15;7718:5;7705:93;7835:16;7832:1;7827:3;7812:40;7875:6;7899:78;;;;8038:16;8033:3;8026:29;7899:78;7941:16;7936:3;7929:29;3912:183;2889:66;4062:15;;4038:50::o;4227:211::-;3051:66;4405:15;;4374:57::o;6029:434::-;3507:12;:10;:12::i;:::-;3493:26;;:10;:26;;;3485:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6834:66:::1;6254:15:::0;;;6298:39:::1;::::0;;::::1;::::0;;::::1;;;6290:48;;;::::0;::::1;;6373:32:::0;;;6431:24:::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;3551:1;;6029:434:::0;:::o;6954:189::-;6834:66;7110:15;;7087:49::o;5576:254::-;3727:19;:17;:19::i;:::-;3713:33;;:10;:33;;;3705:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5694:19:::1;:17;:19::i;:::-;5654:60;;5680:12;:10;:12::i;:::-;5654:60;;;;;;;;;;;;5725:44;5749:19;:17;:19::i;:::-;5725:23;:44::i;:::-;5780:42;5819:1;5780:30;:42::i;:::-;5576:254::o:0;5251:230::-;3507:12;:10;:12::i;:::-;3493:26;;:10;:26;;;3485:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5344:22:::1;::::0;::::1;5336:31;;;::::0;::::1;;5378:40;5409:8;5378:30;:40::i;:::-;5434:39;5450:12;:10;:12::i;:::-;5434:39;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;5251:230:::0;:::o;4507:197::-;2889:66;4655:31;4640:57::o;4773:225::-;3051:66;4942:38;4927:64::o

Swarm Source

ipfs://6acd099dfc34ccee396084df959d0fdd422a2c554ac50708d35a07f9a50e18bd

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

stkTRU is the staked version of the TrueFi Tokens that users receive when they deposit TRU into the TrueFi staking contract.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.