Functions
The complete external surface. Reads are listed in reads; this page is the authoritative signature list.
PloutoRegistry
constructor(address owner_, address ponsFactory_, address ponsFeeEscrow_, address expectedLauncher_); function wireProtocol(address revenueRouter_, address gravityStaking_, address buybackExecutor_, address reserve_) external;function setPloutoTokenOnce(address token, address curve) external;function initialized() public view returns (bool);function protocolWired() external view returns (bool);Plus Ownable2Step: owner, pendingOwner, transferOwnership, acceptOwnership, renounceOwnership.
PloutoRevenueRouter
constructor( address admin, address registry_, address feeEscrow_, address gravityStaking_, address buybackExecutor_, address reserve_); function claimPonsFees() public returns (uint256 received);function routeUnallocatedRevenue() public returns (uint256 toBuybacks, uint256 toStakers, uint256 toReserve);function claimAndRoute() external returns (uint256 claimed, uint256 toBuybacks, uint256 toStakers, uint256 toReserve);function sweepDonationsToReserve() external returns (uint256 amount); function pause() external;function unpause() external; receive() external payable;GravityStaking
constructor(address admin, address registry_); function setRevenueRouter(address router) external;function notifyRewardETH() external payable; function stake(uint256 amount, uint64 lockDuration) external returns (uint256 positionId);function claim(uint256 positionId) external returns (uint256 amount);function claimMany(uint256[] calldata positionIds) external returns (uint256 amount);function withdraw(uint256 positionId) external returns (uint256 principal, uint256 rewards);function emergencyWithdraw(uint256 positionId) external returns (uint256 principal); function pause() external;function unpause() external;function setEmergencyMode(bool enabled) external;BuybackExecutor
constructor(address admin, address registry_, address ponsFactory_, address poolManager_, uint256 chainId_); function setRevenueRouter(address router) external;function setSafetyParams(uint256 maxEth, uint256 shareBps, uint256 impactBps, uint256 minEth) external; function fundBuyback() external payable;function executeBuyback(uint256 ethIn, uint256 minTokensOut, uint256 deadline) external returns (uint256 tokensRetired);function unlockCallback(bytes calldata data) external returns (bytes memory); function pause() external;function unpause() external; receive() external payable;PloutoReserve
constructor(address admin); function setRevenueRouter(address router) external;function depositRevenue() external payable; function proposeWithdrawal(address token, address recipient, uint256 amount, string calldata purpose) external returns (uint256 id);function executeWithdrawal(uint256 id) external;function cancelWithdrawal(uint256 id, string calldata reason) external; receive() external payable;Structs
struct Position { address owner; uint256 amount; uint256 weight; uint64 createdAt; uint64 unlockAt; uint256 rewardDebt; } struct RouteRecord { uint64 timestamp; uint256 amount; uint256 toBuybacks; uint256 toStakers; uint256 toReserve; } struct Execution { uint64 timestamp; uint256 ethSpent; uint256 tokensRetired; uint8 phase; bool realBurn; } struct Deposit { uint64 timestamp; uint256 amount; bool isProtocolRevenue; address from; } struct Withdrawal { address token; address recipient; uint256 amount; uint64 readyAt; ProposalState state; string purpose; } enum ProposalState { None, Pending, Executed, Cancelled }