relevant tag icon
Juicebox Governance
copy icon
Juicebox
• version 1.0.0
Governance
Finance
Funding
Audited

Juicebox Governance

Audited

Juicebox management contract used to govern the funding cycle.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

Juicebox

Last Publish

11/23/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
allowMigration() :
This function allows the owner of the contract to enable migration of funds from one ITerminal contract to another. It works by calling the allowMigration() function on the _from ITerminal contract, passing in the address of the _to ITerminal contract. This will enable the _from contract to send funds to the _to contract. (autogenerated documentation)
addPriceFeed(uint256) :
This function adds a price feed to the IPrices contract. It takes in three parameters: an IPrices contract, an AggregatorV3Interface contract, and a uint256 representing a currency. The function is only accessible to the owner of the contract, and it adds the feed to the IPrices contract, allowing it to access the price data from the AggregatorV3Interface contract for the specified currency. (autogenerated documentation)
setFee(uint256) :
This function allows the owner of the contract to set the fee for using the ITerminalV1 _terminalV1. The fee is set to the value of the uint256 _fee parameter. The function calls the setFee() function of the ITerminalV1 _terminalV1 contract, passing in the _fee parameter as the fee value. (autogenerated documentation)
appointGovernance(address) :
This function allows the owner of the contract to appoint a new governance address for the ITerminalV1 contract. It works by calling the appointGovernance() function on the ITerminalV1 contract, passing in the new governance address as an argument. This function will update the governance address of the ITerminalV1 contract to the new address. (autogenerated documentation)
acceptGovernance() :
This function allows the owner of the contract to accept the governance of the ITerminalV1 contract. It works by calling the acceptGovernance() function of the ITerminalV1 contract, which will then execute the necessary logic to accept the governance. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i juicebox-governance
copy icon

Last Publish

11/23/2022

Version

1.0.0

Creator

Juicebox

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.