ReveelMainV2
contracts/core/ReveelMainV2.sol
- Parameters
- address _libraryAddress
- uint32 _platformFee
- address _platformWallet
- address _forwarder
- 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
- string name: The name of the revenue path
- Parameters
- address account
Updates the libaray contract address
- Parameters
- address newLibrary: The address of the library contract
Updates the platform fee percentage
- Parameters
- uint32 newFeePercentage: The new fee percentage
Updates the platform fee collecting wallet
- Parameters
- address newWallet: The new fee collecting wallet
- Return Values
- uint32 _0
Creating new revenue path
- Parameters
- address[][] _walletList
- uint256[][] _distribution
- address[] _tokenList
- uint256[][] _limitSequence
- string _name
- bool isImmutable
Gets the libaray contract address
- Return Values
- address _0
Gets the platform fee percentage
- Return Values
- uint32 _0
Gets the platform fee percentage
- Return Values
- address _0
:warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder.Method is not a required method to allow Recipients to trust multiple Forwarders. Not recommended yet.
- Return Values
- address forwarder: The address of the Forwarder contract that is being used.
:warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder.
- Parameters
- address forwarder: The address of the Forwarder contract that is being used.
- Return Values
- bool _0: isTrustedForwarder `true` if the Forwarder is trusted to forward relayed transactions by this Recipient.
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
Owner can not renounce ownership of this contract
Sets the libaray contract address
- Parameters
- address _libraryAddress: The address of the library contract
Set the platform fee percentage
- Parameters
- uint32 newFeePercentage: The new fee percentage
Set the platform fee collecting wallet
- Parameters
- address newWallet: The new fee collecting wallet
- Parameters
- address forwarder
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 9mo ago