Apps Contracts

For providers

Apps Contract is the main contract of subs apps that can be use for interaction with apps.

View Methods

getAppPayments

function getAppPayments(uint256 _appId)

Returns all app payments ids (bytes32).

getAppByOwner

function getAppByOwner(address _owner)

Returns all app ids by owner (uint256[]).

Write Methods

createApp

function createApp(
    bytes32 _name,
    Payment[] calldata _payments
)

Create new subs app

deleteApp

Delete subs app.

addPayment

Add new payment to an existed app.

deletePayment

Delete app Payment

changeTokenPayment

change payment Token properties.

modifyPayment

Change payment properties

addTokenPaymentToMyApp

Add new token to an existed payment

removeTokenPaymentFromMyApp

Remove existed token from a payment

transferAppOwnership

Transfer app ownership to new address

renounceAppOwnership

Renounce app ownership

Last updated