Sepolia Testnet

Contract

0x49711056D1EaDcDD3F2eF676DC8EA3F924fB916c
 
Source Code Source Code

Overview

ETH Balance

0 ETH

More Info

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Amount

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method
Block
From
To
Amount
0x61014060103913872026-03-05 18:57:24193 days ago1772737044  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading

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
Source Code Verified Exact Match

Contract Name

RewardBooster

Compiler Version
v0.8.30+commit.73712a01
Optimization Enabled
Yes with 200 runs
Other Settings
prague EvmVersion
License
-NA-
Contract Source Code (Solidity Standard Json-Input format)
Contract ABI
API
[{"inputs":[{"internalType":"contract IValidatorSelection","name":"_rollup","type":"address"},{"components":[{"internalType":"uint32","name":"increment","type":"uint32"},{"internalType":"uint32","name":"maxScore","type":"uint32"},{"internalType":"uint32","name":"a","type":"uint32"},{"internalType":"uint32","name":"minimum","type":"uint32"},{"internalType":"uint32","name":"k","type":"uint32"}],"internalType":"struct RewardBoostConfig","name":"_config","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"RewardBooster__OnlyRollup","type":"error"},{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SafeCastOverflowedUintDowncast","type":"error"},{"inputs":[],"name":"ROLLUP","outputs":[{"internalType":"contract IValidatorSelection","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_prover","type":"address"}],"name":"getActivityScore","outputs":[{"components":[{"internalType":"Epoch","name":"time","type":"uint256"},{"internalType":"uint32","name":"value","type":"uint32"}],"internalType":"struct ActivityScore","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getConfig","outputs":[{"components":[{"internalType":"uint32","name":"increment","type":"uint32"},{"internalType":"uint32","name":"maxScore","type":"uint32"},{"internalType":"uint32","name":"a","type":"uint32"},{"internalType":"uint32","name":"minimum","type":"uint32"},{"internalType":"uint32","name":"k","type":"uint32"}],"internalType":"struct RewardBoostConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_prover","type":"address"}],"name":"getSharesFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_prover","type":"address"}],"name":"updateAndGetShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]
610140604052348015610010575f5ffd5b50604051610ad2380380610ad283398101604081905261002f91610090565b6001600160a01b039091166080908152815163ffffffff90811660a0526020830151811660c0526040830151811660e0526060830151811661010052910151166101205261015a565b805163ffffffff8116811461008b575f5ffd5b919050565b5f5f82840360c08112156100a2575f5ffd5b83516001600160a01b03811681146100b8575f5ffd5b925060a0601f19820112156100cb575f5ffd5b5060405160a081016001600160401b03811182821017156100fa57634e487b7160e01b5f52604160045260245ffd5b60405261010960208501610078565b815261011760408501610078565b602082015261012860608501610078565b604082015261013960808501610078565b606082015261014a60a08501610078565b6080820152809150509250929050565b60805160a05160c05160e05161010051610120516108d76101fb5f395f81816105220152818161068401528181610720015261077701525f81816104ee01528181610748015261079d01525f81816104ba01526106e301525f818161038a015281816104860152818161065c01526106af01525f8181610354015261045201525f818160b8015281816101a60152818161023b015261028f01526108d75ff3fe608060405234801561000f575f5ffd5b5060043610610055575f3560e01c80634fd90e56146100595780638e3356ce146100925780639611c5c2146100b3578063c3f909d4146100f2578063dfff3ebc14610159575b5f5ffd5b61006c6100673660046107d8565b61016c565b604080518251815260209283015163ffffffff1692810192909252015b60405180910390f35b6100a56100a03660046107d8565b61022f565b604051908152602001610089565b6100da7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610089565b6100fa610418565b60405161008991905f60a08201905063ffffffff835116825263ffffffff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015263ffffffff608084015116608083015292915050565b6100a56101673660046107d8565b610553565b604080518082019091525f80825260208201526102295f5f846001600160a01b03166001600160a01b031681526020019081526020015f207f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b97dd9e26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610200573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022491906107fe565b61056f565b92915050565b5f336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016811461028b5760405163fe671df560e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b97dd9e26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102e9573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061030d91906107fe565b6001600160a01b0384165f908152602081905260408120919250610331828461056f565b805183549192506103479163ffffffff16141590565b156103f6576103b36103ae7f0000000000000000000000000000000000000000000000000000000000000000836020015163ffffffff166103889190610829565b7f0000000000000000000000000000000000000000000000000000000000000000610609565b61061b565b825463ffffffff919091166401000000000267ffffffff000000001990911617825580516103e09061064f565b825463ffffffff191663ffffffff919091161782555b815461040f90640100000000900463ffffffff16610659565b95945050505050565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a001604052806104767f000000000000000000000000000000000000000000000000000000000000000061061b565b63ffffffff1681526020016104aa7f000000000000000000000000000000000000000000000000000000000000000061061b565b63ffffffff1681526020016104de7f000000000000000000000000000000000000000000000000000000000000000061061b565b63ffffffff1681526020016105127f000000000000000000000000000000000000000000000000000000000000000061061b565b63ffffffff1681526020016105467f000000000000000000000000000000000000000000000000000000000000000061061b565b63ffffffff169052919050565b5f6102296105608361016c565b6020015163ffffffff16610659565b604080518082019091525f808252602082015282545f9063ffffffff16610596908461083c565b6105a390620186a061084f565b604080518082019091528481528554919250906020820190640100000000900463ffffffff1683116105f7576105d88361061b565b86546105f29190640100000000900463ffffffff16610866565b6105f9565b5f5b63ffffffff169052949350505050565b5f8282188284100282185b9392505050565b5f63ffffffff82111561064b576040516306dfcc6560e41b81526020600482015260248101839052604401610282565b5090565b5f6102298261061b565b5f7f000000000000000000000000000000000000000000000000000000000000000082106106a857507f0000000000000000000000000000000000000000000000000000000000000000919050565b5f6106d3837f000000000000000000000000000000000000000000000000000000000000000061083c565b90505f6402540be40082610707817f000000000000000000000000000000000000000000000000000000000000000061084f565b610711919061084f565b61071b9190610882565b9050807f0000000000000000000000000000000000000000000000000000000000000000101561076e57507f00000000000000000000000000000000000000000000000000000000000000009392505050565b6107c161079b827f000000000000000000000000000000000000000000000000000000000000000061083c565b7f00000000000000000000000000000000000000000000000000000000000000006107c9565b949350505050565b5f828218828411028218610614565b5f602082840312156107e8575f5ffd5b81356001600160a01b0381168114610614575f5ffd5b5f6020828403121561080e575f5ffd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561022957610229610815565b8181038181111561022957610229610815565b808202811582820484141761022957610229610815565b63ffffffff828116828216039081111561022957610229610815565b5f8261089c57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220b756529faa5e0d38c3c8e50b8162fb3b6aaa8313591166ba77ade582393dc4ff64736f6c634300081e0033000000000000000000000000f6d0d42ace06829becb78c74f49879528fc632c1000000000000000000000000000000000000000000000000000000000001e8480000000000000000000000000000000000000000000000000000000000e4e1c000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000000000f4240
Deployed Bytecode
0x608060405234801561000f575f5ffd5b5060043610610055575f3560e01c80634fd90e56146100595780638e3356ce146100925780639611c5c2146100b3578063c3f909d4146100f2578063dfff3ebc14610159575b5f5ffd5b61006c6100673660046107d8565b61016c565b604080518251815260209283015163ffffffff1692810192909252015b60405180910390f35b6100a56100a03660046107d8565b61022f565b604051908152602001610089565b6100da7f000000000000000000000000f6d0d42ace06829becb78c74f49879528fc632c181565b6040516001600160a01b039091168152602001610089565b6100fa610418565b60405161008991905f60a08201905063ffffffff835116825263ffffffff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015263ffffffff608084015116608083015292915050565b6100a56101673660046107d8565b610553565b604080518082019091525f80825260208201526102295f5f846001600160a01b03166001600160a01b031681526020019081526020015f207f000000000000000000000000f6d0d42ace06829becb78c74f49879528fc632c16001600160a01b031663b97dd9e26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610200573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022491906107fe565b61056f565b92915050565b5f336001600160a01b037f000000000000000000000000f6d0d42ace06829becb78c74f49879528fc632c116811461028b5760405163fe671df560e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b505f7f000000000000000000000000f6d0d42ace06829becb78c74f49879528fc632c16001600160a01b031663b97dd9e26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102e9573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061030d91906107fe565b6001600160a01b0384165f908152602081905260408120919250610331828461056f565b805183549192506103479163ffffffff16141590565b156103f6576103b36103ae7f000000000000000000000000000000000000000000000000000000000001e848836020015163ffffffff166103889190610829565b7f0000000000000000000000000000000000000000000000000000000000e4e1c0610609565b61061b565b825463ffffffff919091166401000000000267ffffffff000000001990911617825580516103e09061064f565b825463ffffffff191663ffffffff919091161782555b815461040f90640100000000900463ffffffff16610659565b95945050505050565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a001604052806104767f000000000000000000000000000000000000000000000000000000000001e84861061b565b63ffffffff1681526020016104aa7f0000000000000000000000000000000000000000000000000000000000e4e1c061061b565b63ffffffff1681526020016104de7f00000000000000000000000000000000000000000000000000000000000003e861061b565b63ffffffff1681526020016105127f00000000000000000000000000000000000000000000000000000000000186a061061b565b63ffffffff1681526020016105467f00000000000000000000000000000000000000000000000000000000000f424061061b565b63ffffffff169052919050565b5f6102296105608361016c565b6020015163ffffffff16610659565b604080518082019091525f808252602082015282545f9063ffffffff16610596908461083c565b6105a390620186a061084f565b604080518082019091528481528554919250906020820190640100000000900463ffffffff1683116105f7576105d88361061b565b86546105f29190640100000000900463ffffffff16610866565b6105f9565b5f5b63ffffffff169052949350505050565b5f8282188284100282185b9392505050565b5f63ffffffff82111561064b576040516306dfcc6560e41b81526020600482015260248101839052604401610282565b5090565b5f6102298261061b565b5f7f0000000000000000000000000000000000000000000000000000000000e4e1c082106106a857507f00000000000000000000000000000000000000000000000000000000000f4240919050565b5f6106d3837f0000000000000000000000000000000000000000000000000000000000e4e1c061083c565b90505f6402540be40082610707817f00000000000000000000000000000000000000000000000000000000000003e861084f565b610711919061084f565b61071b9190610882565b9050807f00000000000000000000000000000000000000000000000000000000000f4240101561076e57507f00000000000000000000000000000000000000000000000000000000000186a09392505050565b6107c161079b827f00000000000000000000000000000000000000000000000000000000000f424061083c565b7f00000000000000000000000000000000000000000000000000000000000186a06107c9565b949350505050565b5f828218828411028218610614565b5f602082840312156107e8575f5ffd5b81356001600160a01b0381168114610614575f5ffd5b5f6020828403121561080e575f5ffd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561022957610229610815565b8181038181111561022957610229610815565b808202811582820484141761022957610229610815565b63ffffffff828116828216039081111561022957610229610815565b5f8261089c57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220b756529faa5e0d38c3c8e50b8162fb3b6aaa8313591166ba77ade582393dc4ff64736f6c634300081e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f6d0d42ace06829becb78c74f49879528fc632c1000000000000000000000000000000000000000000000000000000000001e8480000000000000000000000000000000000000000000000000000000000e4e1c000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000000000f4240

-----Decoded View---------------
Arg [0] : _rollup (address): 0xf6D0D42aCE06829bECB78C74F49879528fC632c1
Arg [1] : _config (tuple):
Arg [1] : increment (uint32): 125000
Arg [2] : maxScore (uint32): 15000000
Arg [3] : a (uint32): 1000
Arg [4] : minimum (uint32): 100000
Arg [5] : k (uint32): 1000000


-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000f6d0d42ace06829becb78c74f49879528fc632c1
Arg [1] : 000000000000000000000000000000000000000000000000000000000001e848
Arg [2] : 0000000000000000000000000000000000000000000000000000000000e4e1c0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 00000000000000000000000000000000000000000000000000000000000186a0
Arg [5] : 00000000000000000000000000000000000000000000000000000000000f4240

Custom Contract ABI

                            

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