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

ParameterTypeDescription

flowOperator

string

Address of the account whose ACL permissions the caller is updating

permissions

number

Number indicating level of permission to be granted to the account.

flowRateAllowance

string

Maximum amount of flow rate increase that the flowOperator is permitted - learn more Akin to allowance on ERC20

Example Usage

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

Last updated