Address Contract Partially Verified
Address
0x1a33B9be3Fe58C1Bde4325A68c09C1F7fA8aA1e5
Balance
0 ETH
Nonce
1
Code Size
108 bytes
Creator
0xFD513630...c20B at tx 0xba48f4b7...b6c171
Indexed Transactions
0
Contract Bytecode
108 bytes
0x608060408190526334b1f0a960e21b8152600360845260208160248173fd513630f697a9c1731f196185fb9eba6eaac20b5afa603a573d6000fd5b5060805160003681823780813683855af491503d81823e818015605b573d82f35b3d82fdfea164736f6c6343000815000a
Verified Source Code Partial Match
Compiler: v0.8.21+commit.d9974bed
EVM: paris
Optimization: Yes (200 runs)
MinimalBeaconProxy.sol 44 lines
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
contract MinimalBeaconProxy {
bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;
constructor() {
assembly {
sstore(BEACON_SLOT, 0x7A764C5Dff7E8296924fF47Da2C89383494DE1A5) // store beacon address
}
}
fallback() external payable virtual {
assembly {
let p := mload(0x40)
// Call GammaPoolFactory -> getProtocol(uint16)
mstore(p, 0xd2c7c2a400000000000000000000000000000000000000000000000000000000)
mstore(add(p, 4), 0x0003)
let result := staticcall(gas(), 0xFD513630F697A9C1731F196185fb9ebA6eAAc20B, p, 0x24, 0x80, 0x20)
if iszero(result) {
revert(0, returndatasize())
}
let impl := mload(0x80)
// 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.
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())
}
}
}
}
Token Balances (1)
View Transfers →Recent Transactions
No transactions found for this address