updateFlowOperatorPermissions

Lets the caller grant another account the desired ACL permissions for streams of a certain Super Token.

//load the token you'd like to use like this 
//note that tokens may be loaded by symbol or by address
const daix = await sf.loadSuperToken("DAIx");

let flowOp = daix.updateFlowOperatorPermissions({
  flowOperator: string,
  permissions: number,
  flowRateAllowance: string
});

await flowOp.exec( <<ethers signer>> );

Parameters

Parameter
Type
Description

flowOperator

string

Address of the account whose ACL permissions the caller is updating

permissions

number

flowRateAllowance

string

Maximum amount of flow rate increase that the flowOperator is permitted - learn morearrow-up-right Akin to allowancearrow-up-right on ERC20

Example Usage

https://codesandbox.io/s/updateflowpermissions-example-3k8hor?from-embed=&file=/src/UpdateFlowPermissions.js:810-891arrow-up-right

Last updated