{"repo":"p2p-org/eth-staking-fee-distributor-contracts","free":true,"listed":false,"github":"https://github.com/p2p-org/eth-staking-fee-distributor-contracts","clone":"git clone https://github.com/p2p-org/eth-staking-fee-distributor-contracts.git","description":"ETH staking depositor and EL (priority fees, MEV) fee distributor contracts.","language":"Solidity","stars":10,"topics":["beacon-chain","ethereum","mev","staking"],"license":null,"category":"blockchain-web3","readme_excerpt":"eth-staking-fee-distributor-contracts Running tests Basic use case The basic use case is reflected in ./test/foundry/Integration.t.sol 's test Main Use Case function. 1. Anyone (deployer, does not matter who) deploys FeeDistributorFactory providing defaultClientBasisPoints argument. This default value of client basis points will be used in case later on, during a client instance creation, in createFeeDistributor function, clientConfig.basisPoints == 0 . Initially, the plan is to use 9000 as the default value. 2. Anyone (deployer, does not matter who) deploys Oracle . 3. Anyone (deployer, does not matter who) deploys P2pOrgUnlimitedEthDepositor providing arguments: - mainnet : true (means \"mainnet\") - feeDistributorFactory : address of FeeDistributorFactory 4. The deployer calls setP2pEth2Depositor on FeeDistributorFactory with the address of the P2pOrgUnlimitedEthDepositor contract from Step 3. 5. Anyone (deployer, does not matter who) deploys reference implementations of FeeDistributor contracts. Currently, there are 3 of them: - ElOnlyFeeDistributor arguments: - address of FeeDistributorFactory from Step 1. - address of the service (P2P) fee recipient - OracleFeeDistributor arguments: - address of Oracle from Step 2. - address of FeeDistributorFactory from Step 1. - address of the service (P2P) fee recipient - ContractWcFeeDistributor arguments: - address of FeeDistributorFactory from Step 1. - address of the service (P2P) fee recipient 6. The deployer calls transferOwnersh","default_branch":null,"files":null,"tree":[],"storefront":"/r/p2p-org","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/p2p-org/eth-staking-fee-distributor-contracts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}