Constructors

Properties

Methods

Constructors

Properties

abi: readonly [{
    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: 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: "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 [{
        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: "totalAmountReceived";
        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: "";
        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 [];
    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";
}]

Methods

  • Parameters

    • address: string
    • signerOrProvider: Signer | Provider

    Returns ISuperfluidPool

  • Returns ISuperfluidPoolInterface

Generated using TypeDoc