Static
Readonly
abi
abi: readonly [{
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}];
name: "createFlowFromTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "createFlowFromWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}];
name: "createFlowTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "createFlowWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "int96";
name: "subtractedFlowRateAllowance";
type: "int96";
}];
name: "decreaseFlowRateAllowanceTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "uint8";
name: "permissionsToRemove";
type: "uint8";
}, {
internalType: "int96";
name: "subtractedFlowRateAllowance";
type: "int96";
}];
name: "decreaseFlowRateAllowanceWithPermissionsTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "uint8";
name: "permissionsToRemove";
type: "uint8";
}, {
internalType: "int96";
name: "subtractedFlowRateAllowance";
type: "int96";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "decreaseFlowRateAllowanceWithPermissionsWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "int96";
name: "subtractedFlowRateAllowance";
type: "int96";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "decreaseFlowRateAllowanceWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}];
name: "deleteFlowFromTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "deleteFlowFromWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}];
name: "deleteFlowTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "deleteFlowWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}];
name: "getBufferAmountByFlowRateTest";
outputs: readonly [{
internalType: "uint256";
name: "bufferAmount";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}];
name: "getFlowInfoTest";
outputs: readonly [{
internalType: "uint256";
name: "lastUpdated";
type: "uint256";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}, {
internalType: "uint256";
name: "deposit";
type: "uint256";
}, {
internalType: "uint256";
name: "owedDeposit";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}];
name: "getFlowPermissionsTest";
outputs: readonly [{
internalType: "bool";
name: "allowCreate";
type: "bool";
}, {
internalType: "bool";
name: "allowUpdate";
type: "bool";
}, {
internalType: "bool";
name: "allowDelete";
type: "bool";
}, {
internalType: "int96";
name: "flowRateAllowance";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}];
name: "getFlowRateTest";
outputs: readonly [{
internalType: "int96";
name: "rate";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "account";
type: "address";
}];
name: "getNetFlowInfoTest";
outputs: readonly [{
internalType: "uint256";
name: "lastUpdated";
type: "uint256";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}, {
internalType: "uint256";
name: "deposit";
type: "uint256";
}, {
internalType: "uint256";
name: "owedDeposit";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "account";
type: "address";
}];
name: "getNetFlowRateTest";
outputs: readonly [{
internalType: "int96";
name: "netFlowRate";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "int96";
name: "addedFlowRateAllowance";
type: "int96";
}];
name: "increaseFlowRateAllowanceTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "uint8";
name: "permissionsToAdd";
type: "uint8";
}, {
internalType: "int96";
name: "addedFlowRateAllowance";
type: "int96";
}];
name: "increaseFlowRateAllowanceWithPermissionsTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "uint8";
name: "permissionsToAdd";
type: "uint8";
}, {
internalType: "int96";
name: "addedFlowRateAllowance";
type: "int96";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "increaseFlowRateAllowanceWithPermissionsWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "int96";
name: "addedFlowRateAllowance";
type: "int96";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "increaseFlowRateAllowanceWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "contract ISuperToken";
name: "token";
type: "address";
}];
name: "revokeFlowPermissionsTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "bool";
name: "allowCreate";
type: "bool";
}, {
internalType: "bool";
name: "allowUpdate";
type: "bool";
}, {
internalType: "bool";
name: "allowDelete";
type: "bool";
}, {
internalType: "int96";
name: "flowRateAllowance";
type: "int96";
}];
name: "setFlowPermissionsTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "flowOperator";
type: "address";
}, {
internalType: "contract ISuperToken";
name: "token";
type: "address";
}];
name: "setMaxFlowPermissionsTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}];
name: "updateFlowFromTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "updateFlowFromWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}];
name: "updateFlowTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}, {
internalType: "int96";
name: "flowRate";
type: "int96";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "updateFlowWithUserDataTest";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}]