AggregateAccount

contracts/asset/AggregateAccount.sol

Title: AggregateAccount

Notice: AggregateAccount represents groups of assets

Details: Aggregate Account has to be set for Asset

event OwnershipTransferred

***AggregateAccount.OwnershipTransferred(previousOwner, newOwner) ***

Arguments

stateVariable isStable

AggregateAccount.isStable() view

Notice: true if the assets represented by the aggregate are stablecoins

Details: will be needed for interpool swapping

Outputs

function accountName

AggregateAccount.accountName() view

Notice: name of the account. E.g BTC for aggregate account containing zBTC, BTC.e, ETH etc.

Outputs

function initialize

***AggregateAccount.initialize(accountName_, isStable_) ***

Notice: Initializer.

Arguments

function owner

AggregateAccount.owner() view

Details: Returns the address of the current owner.

Outputs

function renounceOwnership

***AggregateAccount.renounceOwnership() ***

Details: 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.

function setAccountName

***AggregateAccount.setAccountName(accountName_) ***

Notice: Changes Account Name. Can only be set by the contract owner.

Arguments

function transferOwnership

***AggregateAccount.transferOwnership(newOwner) ***

Details: Transfers ownership of the contract to a new account (newOwner). Can only be called by the current owner.

Arguments

Last updated