Contract 0xb0b195aefa3650a6908f15cdac7d92f8a5791b0b 10

 

Contract Overview

BOB: BOB Token
Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x6330f1853fd4e13fd6b5863faaa3581c8b5794bd022b21a242c881b9fd4c158dApprove436105032023-06-06 21:04:411 hr 10 mins ago0x2df708e03fb491a0c4201a5832eef83d4a17b23c IN BOB: BOB Token0 MATIC0.00783380291 151.626883015
0xd47656a8d95e683ca3253a73feaeee47b986a95e4b1905188e300a7d77c5166cApprove436101312023-06-06 20:51:241 hr 23 mins ago0xc9e61985359f49bebe66c6de28b841d6b90badac IN BOB: BOB Token0 MATIC0.007598080693 147.923307582
0x9a0cc6dd75e42bede0c61d17fd14e615bba000abb5865c845027f8200a9c14ddApprove436098792023-06-06 20:42:021 hr 32 mins ago0xc9e61985359f49bebe66c6de28b841d6b90badac IN BOB: BOB Token0 MATIC0.007602695502 147.944025025
0xa63c63559bcf7d50ba11f6a08d65fa888035e2560ebae5eb7e01cd0a2cc05a40Approve436084942023-06-06 19:51:542 hrs 23 mins ago0x33a98b011ba7b659c4dd5a78e533740c2c0e134f IN BOB: BOB Token0 MATIC0.006018779943 204.852794095
0x86fb3422cecdf6405a15a6b87d17a4eb94b82c4d2314f95e76f8cf7bf59b5376Approve436084462023-06-06 19:50:122 hrs 24 mins ago0x33a98b011ba7b659c4dd5a78e533740c2c0e134f IN BOB: BOB Token0 MATIC0.004825646639 164.243784742
0x6e6867df186354f5062adf6edc7d570aad3dfd96291cd812e8653ca89d4e152bApprove436083372023-06-06 19:46:222 hrs 28 mins ago0x49bfdd992ba5e9ce622e297d8a5b780acd3dd52c IN BOB: BOB Token0 MATIC0.00805657522 155.938744224
0x5f1ff293a5e49cb86118bb9c0f3ceb0d0749d1c83599ce16cc8e74bcc9e2c20bApprove436078412023-06-06 19:28:202 hrs 46 mins ago0x1dfc4b48987db1b970fa96aa1ab07dc895d89a70 IN BOB: BOB Token0 MATIC0.00964947205 186.77
0xc3cf0c76f321d8531fe937914153fe546ca16f603859389831ecccaa4c925d62Approve436076402023-06-06 19:21:082 hrs 53 mins ago0x26ccd46176000a52aea292d9b46ecde16ccc6994 IN BOB: BOB Token0 MATIC0.008125718563 158.306582304
0xdbb00a291392ef3f1342734942605c06ed0f5328e02dee5d02aa7483e244b7e8Approve436065252023-06-06 18:41:293 hrs 33 mins ago0x3f22d1c90aed98a73bad71cc401d9ae210ec2f34 IN BOB: BOB Token0 MATIC0.008119020176 157.330107084
0xa241001c3a0e5a9c7db7f8985933d45463b26cc2d6ee5d9a310d46eb29407eb5Approve436050182023-06-06 17:46:494 hrs 28 mins ago0xc81d129752ee1a40327731650895e236c625012e IN BOB: BOB Token0 MATIC0.010781507564 209.899884453
0xe2810cd534732bcdfcf474eb299e20af3a9d6f2c285d50baf151f472ac5c4105Approve436049582023-06-06 17:44:414 hrs 30 mins ago0xc81d129752ee1a40327731650895e236c625012e IN BOB: BOB Token0 MATIC0.007864523129 153.146323086
0xeae57d3b9e4c34463f4d259dbdc1f9e35e3217ab30d7659b77a71d73cfdd611cApprove436042172023-06-06 17:18:224 hrs 56 mins ago0x2f7205f46840a18b98b7f5ec306daf5936434e62 IN BOB: BOB Token0 MATIC0.004742244736 151.407832964
0x19df3dbe65a8f9591c31bb18e112920450859f5d462fdaad9cede56bf761d693Approve436041922023-06-06 17:17:304 hrs 57 mins ago0x294b82034c03fe7bd065209c08b784f1da2658a2 IN BOB: BOB Token0 MATIC0.007985917102 155.65572757
0x49c6a971f2ffa727ed24efcc508ea5f4e9f42220d5e5002b7671b9d1bcddfa0eApprove436041872023-06-06 17:17:184 hrs 57 mins ago0x2f7205f46840a18b98b7f5ec306daf5936434e62 IN BOB: BOB Token0 MATIC0.007873332833 153.497218588
0x348b93b3432d0092c69d7fd934029399f19d33a74e2a0ca5197d816cf217986fApprove436035092023-06-06 16:52:475 hrs 22 mins ago0x5a114389f8927dfe31b7bf469feaf3e8e7e63cad IN BOB: BOB Token0 MATIC0.006485292467189.20245259
0x6d409442d7e59999559838104b47590b0168b9a688a9f44879f222ade8813337Approve436034602023-06-06 16:51:035 hrs 23 mins ago0x5a114389f8927dfe31b7bf469feaf3e8e7e63cad IN BOB: BOB Token0 MATIC0.007757735631150.996275207
0x9bb2a888314ea52680fe39b28980dcb24c66d3b0ffc85c9640b81b94865fbfb2Approve436029832023-06-06 16:33:495 hrs 41 mins ago0x86fe9bfc77aebb8fe136d27353d1c2fe6454a8e6 IN BOB: BOB Token0 MATIC0.009950155915 193.66946134
0xc57baa1c62ea0b6bc70357850ad640237eb65818247f8fb704c3b9a713d0d3b6Approve435991082023-06-06 14:10:458 hrs 4 mins ago0xc561ae4aa627e1ae52b6ecf7c1c13a9f4b14ed0e IN BOB: BOB Token0 MATIC0.016899085329
0x1875f82ab03302a3a7241ea55f6b5dda93eb32198d1f73fcec0431d3cf8b6663Approve435978982023-06-06 13:26:338 hrs 48 mins ago interstellarspace.blockchain  IN BOB: BOB Token0 MATIC0.009097852224 177.121624155
0x73e2bc8a1877831488fbbe12054fbb3ba7854cc428db91cc9dd9fd481f57fab5Approve435978212023-06-06 13:23:498 hrs 51 mins ago0xa75f4c95f2fb95c98880743c7d76087f4fb858dd IN BOB: BOB Token0 MATIC0.010401120292 202.447015052
0xafae47fa1943cfe856047d4cf4e1cd84b6ff75e25a1f3f5a576f1ba78c2c8e0cApprove435905592023-06-06 8:56:5813 hrs 17 mins ago0x011b6bb60a15dfb8cde52d9dc84a432b2b289037 IN BOB: BOB Token0 MATIC0.005570457358 162.569892255
0x2e075787581f13b2c505959ebbd5dfb03196aa189e304371b36a9d8d073baa3fApprove435877212023-06-06 7:12:1815 hrs 2 mins ago0x9abea4c3eceee33abcacf0a3f21838b3761940dd IN BOB: BOB Token0 MATIC0.006507431337 189.91482087
0x70b4c6e3fb92fec0d6b847ae67fe973615ca0e19381998d064a9c8a2e84f7bb9Approve435862962023-06-06 6:17:2815 hrs 57 mins ago0xf0cb900823b52eb98818940a5ee05728d5b152da IN BOB: BOB Token0 MATIC0.00479924464152.526446556
0x2ebc3417127aa1159da1af218436ff447c015bf71c81816e3dfd4397900a32b3Approve435862812023-06-06 6:16:5615 hrs 58 mins ago0xf0cb900823b52eb98818940a5ee05728d5b152da IN BOB: BOB Token0 MATIC0.007625818278148.463317021
0xfcde3ac4c80f04a5d133ce973f0bdb3525947278bf2f2825309e8f14c5e10f2cApprove435858752023-06-06 6:00:5016 hrs 14 mins ago0x9f18c8fa629eb08320388ba094736dade17d91ab IN BOB: BOB Token0 MATIC0.008516505647 164.840910634
[ Download CSV Export 

OVERVIEW

BOB is a stablecoin fully collateralized by USDC. BOB features novel DeFi use-cases intended to generate additional yield for active participants of the Bob Protocol. BOB token is an exclusive asset for zkBob, a privacy preserving protocol for stable transfers.

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x07add78256baa65b73c0ee79ca42d8e3175439690d05e259d299dced21285e2d328452372022-09-08 12:08:36271 days 10 hrs ago 0xce0042b868300000d44a59004da54a005ffdcf9f  Contract Creation0 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EIP1967Proxy

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 2 : EIP1967Proxy.sol
// SPDX-License-Identifier: CC0-1.0

pragma solidity 0.8.15;

import "./EIP1967Admin.sol";

/**
 * @title EIP1967Proxy
 * @dev Upgradeable proxy pattern implementation according to minimalistic EIP1967.
 */
contract EIP1967Proxy is EIP1967Admin {
    // EIP 1967
    // bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)
    uint256 internal constant EIP1967_IMPLEMENTATION_STORAGE =
        0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    event Upgraded(address indexed implementation);
    event AdminChanged(address previousAdmin, address newAdmin);

    constructor(address _admin, address _implementation, bytes memory _data) payable {
        _setAdmin(_admin);
        _setImplementation(_implementation);
        if (_data.length > 0) {
            bool status;
            assembly {
                status := callcode(gas(), _implementation, callvalue(), add(_data, 32), mload(_data), 0, 0)
            }
            require(status, "EIP1967Proxy: initialize call failed");
        }
    }

    /**
     * @dev Tells the proxy admin account address.
     * @return proxy admin address.
     */
    function admin() public view returns (address) {
        return _admin();
    }

    /**
     * @dev Tells the proxy implementation contract address.
     * @return res implementation address.
     */
    function implementation() public view returns (address res) {
        assembly {
            res := sload(EIP1967_IMPLEMENTATION_STORAGE)
        }
    }

    /**
     * @dev Updates address of the proxy owner.
     * Callable only by the proxy admin.
     * @param _admin address of the new proxy admin.
     */
    function setAdmin(address _admin) external onlyAdmin {
        _setAdmin(_admin);
    }

    /**
     * @dev Updates proxy implementation address.
     * Callable only by the proxy admin.
     * @param _implementation address of the new proxy implementation.
     */
    function upgradeTo(address _implementation) external onlyAdmin {
        _setImplementation(_implementation);
    }

    /**
     * @dev Updates proxy implementation address and makes an initialization call to new implementation.
     * Callable only by the proxy admin.
     * @param _implementation address of the new proxy implementation.
     * @param _data calldata to pass through the new implementation after the upgrade.
     */
    function upgradeToAndCall(address _implementation, bytes calldata _data) external payable onlyAdmin {
        _setImplementation(_implementation);
        (bool status,) = address(this).call{value: msg.value}(_data);
        require(status, "EIP1967Proxy: update call failed");
    }

    /**
     * @dev Fallback function allowing to perform a delegatecall to the given implementation.
     * This function will return whatever the implementation call returns
     */
    fallback() external payable {
        address impl = implementation();
        require(impl != address(0));
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), impl, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    /**
     * @dev Internal function for transfer current admin rights to a different account.
     * @param _admin address of the new administrator.
     */
    function _setAdmin(address _admin) internal {
        address previousAdmin = admin();
        require(_admin != address(0));
        require(previousAdmin != _admin);
        assembly {
            sstore(EIP1967_ADMIN_STORAGE, _admin)
        }
        emit AdminChanged(previousAdmin, _admin);
    }

    /**
     * @dev Internal function for setting a new implementation address.
     * @param _implementation address of the new implementation contract.
     */
    function _setImplementation(address _implementation) internal {
        require(_implementation != address(0));
        require(implementation() != _implementation);
        assembly {
            sstore(EIP1967_IMPLEMENTATION_STORAGE, _implementation)
        }
        emit Upgraded(_implementation);
    }
}

File 2 of 2 : EIP1967Admin.sol
// SPDX-License-Identifier: CC0-1.0

pragma solidity 0.8.15;

/**
 * @title EIP1967Admin
 * @dev Upgradeable proxy pattern implementation according to minimalistic EIP1967.
 */
contract EIP1967Admin {
    // EIP 1967
    // bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1)
    uint256 internal constant EIP1967_ADMIN_STORAGE = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    modifier onlyAdmin() {
        require(msg.sender == _admin(), "EIP1967Admin: not an admin");
        _;
    }

    function _admin() internal view returns (address res) {
        assembly {
            res := sload(EIP1967_ADMIN_STORAGE)
        }
    }
}

Settings
{
  "remappings": [
    "@gnosis/=lib/@gnosis/",
    "@gnosis/auction/=lib/@gnosis/auction/contracts/",
    "@openzeppelin/=lib/@openzeppelin/contracts/",
    "@openzeppelin/contracts/=lib/@openzeppelin/contracts/contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"res","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]

608060405260405161090538038061090583398101604081905261002291610227565b61002b836100b3565b61003482610149565b8051156100ab57600080600083516020850134875af29050806100a95760405162461bcd60e51b8152602060048201526024808201527f4549503139363750726f78793a20696e697469616c697a652063616c6c2066616044820152631a5b195960e21b606482015260840160405180910390fd5b505b50505061031a565b60006100bd6101d8565b90506001600160a01b0382166100d257600080fd5b816001600160a01b0316816001600160a01b0316036100f057600080fd5b6000805160206108c5833981519152829055604080516001600160a01b038084168252841660208201527f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a15050565b6001600160a01b03811661015c57600080fd5b6001600160a01b03811661017c6000805160206108e58339815191525490565b6001600160a01b03160361018f57600080fd5b6000805160206108e58339815191528190556040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60006101f06000805160206108c58339815191525490565b905090565b80516001600160a01b038116811461020c57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561023c57600080fd5b610245846101f5565b925060206102548186016101f5565b60408601519093506001600160401b038082111561027157600080fd5b818701915087601f83011261028557600080fd5b81518181111561029757610297610211565b604051601f8201601f19908116603f011681019083821181831017156102bf576102bf610211565b816040528281528a868487010111156102d757600080fd5b600093505b828410156102f957848401860151818501870152928501926102dc565b8284111561030a5760008684830101525b8096505050505050509250925092565b61059c806103296000396000f3fe60806040526004361061004a5760003560e01c80633659cfe61461009d5780634f1ef286146100bd5780635c60da1b146100d0578063704b6c021461010a578063f851a4401461012a575b60006100626000805160206105478339815191525490565b90506001600160a01b03811661007757600080fd5b3660008037600080366000845af43d6000803e808015610096573d6000f35b3d6000fd5b005b3480156100a957600080fd5b5061009b6100b836600461043a565b61013f565b61009b6100cb36600461045c565b610194565b3480156100dc57600080fd5b50600080516020610547833981519152545b6040516001600160a01b03909116815260200160405180910390f35b34801561011657600080fd5b5061009b61012536600461043a565b610293565b34801561013657600080fd5b506100ee6102dc565b600080516020610527833981519152546001600160a01b0316336001600160a01b0316146101885760405162461bcd60e51b815260040161017f906104df565b60405180910390fd5b610191816102f9565b50565b600080516020610527833981519152546001600160a01b0316336001600160a01b0316146101d45760405162461bcd60e51b815260040161017f906104df565b6101dd836102f9565b6000306001600160a01b03163484846040516101fa929190610516565b60006040518083038185875af1925050503d8060008114610237576040519150601f19603f3d011682016040523d82523d6000602084013e61023c565b606091505b505090508061028d5760405162461bcd60e51b815260206004820181905260248201527f4549503139363750726f78793a207570646174652063616c6c206661696c6564604482015260640161017f565b50505050565b600080516020610527833981519152546001600160a01b0316336001600160a01b0316146102d35760405162461bcd60e51b815260040161017f906104df565b61019181610388565b60006102f46000805160206105278339815191525490565b905090565b6001600160a01b03811661030c57600080fd5b806001600160a01b031661032c6000805160206105478339815191525490565b6001600160a01b03160361033f57600080fd5b6000805160206105478339815191528190556040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60006103926102dc565b90506001600160a01b0382166103a757600080fd5b816001600160a01b0316816001600160a01b0316036103c557600080fd5b600080516020610527833981519152829055604080516001600160a01b038084168252841660208201527f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a15050565b80356001600160a01b038116811461043557600080fd5b919050565b60006020828403121561044c57600080fd5b6104558261041e565b9392505050565b60008060006040848603121561047157600080fd5b61047a8461041e565b9250602084013567ffffffffffffffff8082111561049757600080fd5b818601915086601f8301126104ab57600080fd5b8135818111156104ba57600080fd5b8760208285010111156104cc57600080fd5b6020830194508093505050509250925092565b6020808252601a908201527f4549503139363741646d696e3a206e6f7420616e2061646d696e000000000000604082015260600190565b818382376000910190815291905056feb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca26469706673582212203a120e4dd5f0849a0b6e92c874b8ff4e42363c90d20d52f4cac638a68ae33dcb64736f6c634300080f0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc00000000000000000000000039f0bd56c1439a22ee90b4972c16b7868d161981000000000000000000000000000000000000000000000000000000000000dead00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

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

00000000000000000000000039f0bd56c1439a22ee90b4972c16b7868d161981000000000000000000000000000000000000000000000000000000000000dead00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _admin (address): 0x39f0bd56c1439a22ee90b4972c16b7868d161981
Arg [1] : _implementation (address): 0x000000000000000000000000000000000000dead
Arg [2] : _data (bytes): 0x

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000039f0bd56c1439a22ee90b4972c16b7868d161981
Arg [1] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


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.