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
flowRateAllowance
string
Maximum amount of flow rate increase that the flowOperator is permitted - learn more Akin to allowance on ERC20
Example Usage
Last updated
Was this helpful?