Static
Readonly
abi
abi: readonly [{
inputs: readonly [{
internalType: "contract ISuperfluid";
name: "host";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidPool";
name: "pool";
type: "address";
}, {
internalType: "address";
name: "memberAddress";
type: "address";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "claimAll";
outputs: readonly [{
internalType: "bool";
name: "success";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidPool";
name: "pool";
type: "address";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "connectPool";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "admin";
type: "address";
}, {
components: readonly [{
internalType: "bool";
name: "transferabilityForUnitsOwner";
type: "bool";
}, {
internalType: "bool";
name: "distributionFromAnyAddress";
type: "bool";
}];
internalType: "struct PoolConfig";
name: "config";
type: "tuple";
}];
name: "createPool";
outputs: readonly [{
internalType: "bool";
name: "success";
type: "bool";
}, {
internalType: "contract ISuperfluidPool";
name: "pool";
type: "address";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidPool";
name: "pool";
type: "address";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "disconnectPool";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "contract ISuperfluidPool";
name: "pool";
type: "address";
}, {
internalType: "uint256";
name: "requestedAmount";
type: "uint256";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "distribute";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "contract ISuperfluidPool";
name: "pool";
type: "address";
}, {
internalType: "int96";
name: "requestedFlowRate";
type: "int96";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "distributeFlow";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "contract ISuperfluidPool";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "requestedAmount";
type: "uint256";
}];
name: "estimateDistributionActualAmount";
outputs: readonly [{
internalType: "uint256";
name: "actualAmount";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "contract ISuperfluidPool";
name: "to";
type: "address";
}, {
internalType: "int96";
name: "requestedFlowRate";
type: "int96";
}];
name: "estimateFlowDistributionActualFlowRate";
outputs: readonly [{
internalType: "int96";
name: "actualFlowRate";
type: "int96";
}, {
internalType: "int96";
name: "totalDistributionFlowRate";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "contract ISuperfluidPool";
name: "to";
type: "address";
}];
name: "getFlowDistributionFlowRate";
outputs: readonly [{
internalType: "int96";
name: "";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "account";
type: "address";
}];
name: "getNetFlow";
outputs: readonly [{
internalType: "int96";
name: "";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidPool";
name: "pool";
type: "address";
}];
name: "getPoolAdjustmentFlowInfo";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}, {
internalType: "bytes32";
name: "";
type: "bytes32";
}, {
internalType: "int96";
name: "";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "pool";
type: "address";
}];
name: "getPoolAdjustmentFlowRate";
outputs: readonly [{
internalType: "int96";
name: "";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidPool";
name: "pool";
type: "address";
}, {
internalType: "address";
name: "member";
type: "address";
}];
name: "isMemberConnected";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
internalType: "address";
name: "account";
type: "address";
}];
name: "isPool";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "contract ISuperfluidPool";
name: "pool";
type: "address";
}, {
internalType: "address";
name: "memberAddress";
type: "address";
}, {
internalType: "uint128";
name: "newUnits";
type: "uint128";
}, {
internalType: "bytes";
name: "userData";
type: "bytes";
}];
name: "updateMemberUnits";
outputs: readonly [{
internalType: "bool";
name: "success";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}]