Comment on page
ReveelMain
contracts/core/ReveelMain.sol
Parameters
- address previousOwner
- address newOwner
- Parameters
- address account
Emits when a new revenue path is created
- Parameters
- address path: The address of the new revenue path
what's the intended use of `unpaused` event & what is the address parameter representing?
- Parameters
- address account
Updates the libaray contract address
- Parameters
- address newLibrary: The address of the library contract
Updates the platform fee percentage
- Parameters
- uint88 newFeePercentage: The new fee percentage
Updates the platform fee collecting wallet
- Parameters
- address newWallet: The new fee collecting wallet
Create a new revenue path
explain the required structure of the parameters below so that an external user could call it properly
- Parameters
- address[][] _walletList: A nested array of member wallet list
- uint256[][] _distribution: A nested array of distribution percentages
- uint256[] tierLimit: A sequential list of tier limit
- string _name
- bool isImmutable: Set this flag to true if immutable
Gets the libaray contract address
- Return Values
- address _0
Get the list of revenue paths deployed and count
- Return Values
- address[] _0
- uint256 totalPaths
Gets the platform fee percentage
- Return Values
- uint256 _0
Gets the platform fee percentage
- Return Values
- address _0
Returns the address of the current owner.
- Return Values
- address _0
Returns true if the contract is paused, and false otherwise.
- Return Values
- bool _0
Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
Sets the libaray contract address
- Parameters
- address _libraryAddress: The address of the library contract
Set the platform fee percentage
- Parameters
- uint88 newFeePercentage: The new fee percentage
Set the platform fee collecting wallet
- Parameters
- address newWallet: The new fee collecting wallet
Owner can toggle & pause contract
emits relevant Pausable events
Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.
- Parameters
- address newOwner
Last modified 1yr ago