Static
Readonly
abi
abi: readonly [{
inputs: readonly [{
internalType: "contract GeneralDistributionAgreementV1";
name: "gda_";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "OUT_OF_GAS";
type: "error";
}, {
inputs: readonly [{
internalType: "string";
name: "_name";
type: "string";
}];
name: "STORAGE_LOCATION_CHANGED";
type: "error";
}, {
inputs: readonly [];
name: "SUPERFLUID_POOL_INVALID_TIME";
type: "error";
}, {
inputs: readonly [];
name: "SUPERFLUID_POOL_NOT_GDA";
type: "error";
}, {
inputs: readonly [];
name: "SUPERFLUID_POOL_NOT_POOL_ADMIN_OR_GDA";
type: "error";
}, {
inputs: readonly [];
name: "SUPERFLUID_POOL_NO_POOL_MEMBERS";
type: "error";
}, {
inputs: readonly [];
name: "SUPERFLUID_POOL_NO_ZERO_ADDRESS";
type: "error";
}, {
inputs: readonly [];
name: "SUPERFLUID_POOL_TRANSFER_UNITS_NOT_ALLOWED";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "address";
name: "owner";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "spender";
type: "address";
}, {
indexed: false;
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "Approval";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "member";
type: "address";
}, {
indexed: false;
internalType: "int256";
name: "claimedAmount";
type: "int256";
}, {
indexed: false;
internalType: "int256";
name: "totalClaimed";
type: "int256";
}];
name: "DistributionClaimed";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint8";
name: "version";
type: "uint8";
}];
name: "Initialized";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "contract ISuperfluidToken";
name: "token";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "member";
type: "address";
}, {
indexed: false;
internalType: "uint128";
name: "oldUnits";
type: "uint128";
}, {
indexed: false;
internalType: "uint128";
name: "newUnits";
type: "uint128";
}];
name: "MemberUnitsUpdated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "address";
name: "from";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "to";
type: "address";
}, {
indexed: false;
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "Transfer";
type: "event";
}, {
inputs: readonly [];
name: "GDA";
outputs: readonly [{
internalType: "contract GeneralDistributionAgreementV1";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "admin";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "owner";
type: "address";
}, {
internalType: "address";
name: "spender";
type: "address";
}];
name: "allowance";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "spender";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "approve";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "balanceOf";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "castrate";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "memberAddr";
type: "address";
}];
name: "claimAll";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "claimAll";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "spender";
type: "address";
}, {
internalType: "uint256";
name: "subtractedValue";
type: "uint256";
}];
name: "decreaseAllowance";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "distributionFromAnyAddress";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "memberAddr";
type: "address";
}, {
internalType: "uint32";
name: "time";
type: "uint32";
}];
name: "getClaimable";
outputs: readonly [{
internalType: "int256";
name: "";
type: "int256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "memberAddr";
type: "address";
}];
name: "getClaimableNow";
outputs: readonly [{
internalType: "int256";
name: "claimableBalance";
type: "int256";
}, {
internalType: "uint256";
name: "timestamp";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint32";
name: "time";
type: "uint32";
}];
name: "getDisconnectedBalance";
outputs: readonly [{
internalType: "int256";
name: "balance";
type: "int256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "memberAddr";
type: "address";
}];
name: "getMemberFlowRate";
outputs: readonly [{
internalType: "int96";
name: "";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "memberAddr";
type: "address";
}];
name: "getTotalAmountReceivedByMember";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getTotalConnectedFlowRate";
outputs: readonly [{
internalType: "int96";
name: "";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getTotalConnectedUnits";
outputs: readonly [{
internalType: "uint128";
name: "";
type: "uint128";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getTotalDisconnectedFlowRate";
outputs: readonly [{
internalType: "int96";
name: "flowRate";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getTotalDisconnectedUnits";
outputs: readonly [{
internalType: "uint128";
name: "";
type: "uint128";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getTotalFlowRate";
outputs: readonly [{
internalType: "int96";
name: "";
type: "int96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getTotalUnits";
outputs: readonly [{
internalType: "uint128";
name: "";
type: "uint128";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "memberAddr";
type: "address";
}];
name: "getUnits";
outputs: readonly [{
internalType: "uint128";
name: "";
type: "uint128";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "spender";
type: "address";
}, {
internalType: "uint256";
name: "addedValue";
type: "uint256";
}];
name: "increaseAllowance";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "admin_";
type: "address";
}, {
internalType: "contract ISuperfluidToken";
name: "superToken_";
type: "address";
}, {
internalType: "bool";
name: "transferabilityForUnitsOwner_";
type: "bool";
}, {
internalType: "bool";
name: "distributionFromAnyAddress_";
type: "bool";
}];
name: "initialize";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "memberAddr";
type: "address";
}, {
internalType: "bool";
name: "doConnect";
type: "bool";
}, {
internalType: "uint32";
name: "time";
type: "uint32";
}];
name: "operatorConnectMember";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "Unit";
name: "total_units";
type: "int128";
}, {
components: readonly [{
internalType: "Time";
name: "_settled_at";
type: "uint32";
}, {
internalType: "FlowRate";
name: "_flow_rate";
type: "int128";
}, {
internalType: "Value";
name: "_settled_value";
type: "int256";
}];
internalType: "struct BasicParticle";
name: "_wrapped_particle";
type: "tuple";
}];
internalType: "struct PDPoolIndex";
name: "index";
type: "tuple";
}];
name: "operatorSetIndex";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "poolOperatorGetIndex";
outputs: readonly [{
components: readonly [{
internalType: "uint128";
name: "totalUnits";
type: "uint128";
}, {
internalType: "uint32";
name: "wrappedSettledAt";
type: "uint32";
}, {
internalType: "int96";
name: "wrappedFlowRate";
type: "int96";
}, {
internalType: "int256";
name: "wrappedSettledValue";
type: "int256";
}];
internalType: "struct SuperfluidPool.PoolIndexData";
name: "";
type: "tuple";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "proxiableUUID";
outputs: readonly [{
internalType: "bytes32";
name: "";
type: "bytes32";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [];
name: "superToken";
outputs: readonly [{
internalType: "contract ISuperfluidToken";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "totalSupply";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "transfer";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "transferFrom";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "transferabilityForUnitsOwner";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "memberAddr";
type: "address";
}, {
internalType: "uint128";
name: "newUnits";
type: "uint128";
}];
name: "updateMemberUnits";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "validateStorageLayout";
outputs: readonly [];
stateMutability: "pure";
type: "function";
}]