Hierarchy

  • ContractFactory
    • SuperTokenLibraryGDAMock__factory

Constructors

  • Parameters

    • Rest ...args: SuperTokenLibraryGDAMockConstructorParams

    Returns SuperTokenLibraryGDAMock__factory

Properties

abi: readonly [{
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "contract ISuperfluidPool";
        name: "pool";
        type: "address";
    }];
    name: "connectPoolTest";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        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: "createPoolTest";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "contract ISuperfluidPool";
        name: "pool";
        type: "address";
    }];
    name: "disconnectPoolTest";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "address";
        name: "from";
        type: "address";
    }, {
        internalType: "contract ISuperfluidPool";
        name: "pool";
        type: "address";
    }, {
        internalType: "int96";
        name: "requestedFlowRate";
        type: "int96";
    }];
    name: "distributeFlowTest";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "address";
        name: "from";
        type: "address";
    }, {
        internalType: "contract ISuperfluidPool";
        name: "pool";
        type: "address";
    }, {
        internalType: "uint256";
        name: "requestedAmount";
        type: "uint256";
    }];
    name: "distributeToPoolTest";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "address";
        name: "from";
        type: "address";
    }, {
        internalType: "contract ISuperfluidPool";
        name: "to";
        type: "address";
    }, {
        internalType: "uint256";
        name: "requestedAmount";
        type: "uint256";
    }];
    name: "estimateDistributionActualAmountTest";
    outputs: readonly [{
        internalType: "uint256";
        name: "actualAmount";
        type: "uint256";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "address";
        name: "from";
        type: "address";
    }, {
        internalType: "contract ISuperfluidPool";
        name: "to";
        type: "address";
    }, {
        internalType: "int96";
        name: "requestedFlowRate";
        type: "int96";
    }];
    name: "estimateFlowDistributionActualFlowRateTest";
    outputs: readonly [{
        internalType: "int96";
        name: "actualFlowRate";
        type: "int96";
    }, {
        internalType: "int96";
        name: "totalDistributionFlowRate";
        type: "int96";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "address";
        name: "from";
        type: "address";
    }, {
        internalType: "contract ISuperfluidPool";
        name: "to";
        type: "address";
    }];
    name: "getFlowDistributionFlowRateTest";
    outputs: readonly [{
        internalType: "int96";
        name: "";
        type: "int96";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "address";
        name: "pool";
        type: "address";
    }, {
        internalType: "address";
        name: "member";
        type: "address";
    }];
    name: "isMemberConnectedTest";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}]
bytecode: "0x608060405234801561001057600080fd5b5061111c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638c744b17116100665780638c744b17146100fb578063a6db62d814610121578063af196af614610142578063c157ebbb14610155578063ffa85a6f1461018257600080fd5b80632496f4b4146100985780634aa23a64146100ad57806359088b76146100c057806364548ce3146100e8575b600080fd5b6100ab6100a6366004610c62565b610195565b005b6100ab6100bb366004610cb3565b6101b1565b6100d36100ce366004610cec565b6101c9565b60405190151581526020015b60405180910390f35b6100ab6100f6366004610cb3565b6101e7565b61010e610109366004610cec565b6101fa565b604051600b9190910b81526020016100df565b61013461012f366004610c62565b610210565b6040519081526020016100df565b6100ab610150366004610d46565b610230565b610168610163366004610d46565b610245565b60408051600b93840b81529190920b6020820152016100df565b6100ab610190366004610dc6565b61026a565b6101aa6001600160a01b038516848484610284565b5050505050565b6101c46001600160a01b038316826102a5565b505050565b60006101df6001600160a01b03851684846102c9565b949350505050565b6101c46001600160a01b0383168261034c565b60006101df6001600160a01b0385168484610369565b60006102276001600160a01b0386168585856103f3565b95945050505050565b6101aa6001600160a01b03851684848461048f565b60008061025d6001600160a01b0387168686866104b0565b9150915094509492505050565b61027e6001600160a01b0384168383610554565b50505050565b604080516000808252602082019092526102279086908690869086906105ee565b604080516000808252602082019092526102c2908490849061071d565b9392505050565b6000806102d585610844565b6040516331e0bae760e21b81526001600160a01b0387811660048301528681166024830152919350908316915063c782eb9c90604401602060405180830381865afa158015610328573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102279190610e61565b604080516000808252602082019092526102c290849084906109c5565b60008061037585610844565b60405162735d7560e41b81526001600160a01b038881166004830152878116602483015286811660448301529193509083169150630735d75090606401602060405180830381865afa1580156103cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102279190610e7e565b6000806103ff86610844565b60405163eccfc6a560e01b81526001600160a01b0389811660048301528881166024830152878116604483015260648201879052919350908316915063eccfc6a590608401602060405180830381865afa158015610461573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104859190610e9b565b9695505050505050565b60408051600080825260208201909252610227908690869086908690610a11565b60008060006104be87610844565b604051631357247b60e21b81526001600160a01b038a8116600483015289811660248301528881166044830152600b88900b60648301529193509083169150634d5c91ec906084016040805180830381865afa158015610522573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105469190610eb4565b925092505094509492505050565b60008061056085610a9f565b604051630779d36560e01b81526001600160a01b03888116600483015287811660248301528651151560448301526020870151151560648301529193509083169150630779d365906084016020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102279190610ee3565b60008060006105fc88610a9f565b91509150816001600160a01b03166339255d5b82836001600160a01b0316636d1007a68c8c8c8c600067ffffffffffffffff81111561063d5761063d610da2565b6040519080825280601f01601f191660200182016040528015610667576020820181803683370190505b5060405160240161067c959493929190610f50565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519185901b6001600160e01b03191682526106c7939250908990600401610f96565b6000604051808303816000875af11580156106e6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261070e9190810190610fcc565b50600198975050505050505050565b600080600061072b86610a9f565b91509150816001600160a01b03166339255d5b82836001600160a01b03166330925b7989600067ffffffffffffffff81111561076957610769610da2565b6040519080825280601f01601f191660200182016040528015610793576020820181803683370190505b506040516024016107a592919061106e565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519185901b6001600160e01b03191682526107f0939250908990600401610f96565b6000604051808303816000875af115801561080f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108379190810190610fcc565b5060019695505050505050565b7f65599bf746e17a00ea62e3610586992d88101b78eec3cf380706621fb97ea837547fc36f6c05164a669ecb6da53e218d77ae44d51cfc99f91e5a125a18de0949bee4546001600160a01b038116610994576001600160a01b03821661090957826001600160a01b03166320bc44256040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109069190610ee3565b91505b604051635b69006f60e11b81527fdfd8ece9bfbcb8c5c540edb935641f63d67686490a1ab97f000288759f30a94660048201526001600160a01b0383169063b6d200de90602401602060405180830381865afa15801561096d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109919190610ee3565b90505b6001600160a01b0382166109aa576109aa611092565b6001600160a01b0381166109c0576109c0611092565b915091565b60008060006109d386610a9f565b91509150816001600160a01b03166339255d5b82836001600160a01b031663f0b7b91589600067ffffffffffffffff81111561076957610769610da2565b6000806000610a1f88610a9f565b91509150816001600160a01b03166339255d5b82836001600160a01b0316635a6c6dbc8c8c8c8c600067ffffffffffffffff811115610a6057610a60610da2565b6040519080825280601f01601f191660200182016040528015610a8a576020820181803683370190505b5060405160240161067c9594939291906110a8565b7f65599bf746e17a00ea62e3610586992d88101b78eec3cf380706621fb97ea837547fc36f6c05164a669ecb6da53e218d77ae44d51cfc99f91e5a125a18de0949bee4546001600160a01b038116610994576001600160a01b038216610b6457826001600160a01b03166320bc44256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b619190610ee3565b91505b604051635b69006f60e11b81527fdfd8ece9bfbcb8c5c540edb935641f63d67686490a1ab97f000288759f30a94660048201526001600160a01b0383169063b6d200de90602401602060405180830381865afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec9190610ee3565b9050817f65599bf746e17a00ea62e3610586992d88101b78eec3cf380706621fb97ea83755807fc36f6c05164a669ecb6da53e218d77ae44d51cfc99f91e5a125a18de0949bee4556001600160a01b0382166109aa576109aa611092565b6001600160a01b0381168114610c5f57600080fd5b50565b60008060008060808587031215610c7857600080fd5b8435610c8381610c4a565b93506020850135610c9381610c4a565b92506040850135610ca381610c4a565b9396929550929360600135925050565b60008060408385031215610cc657600080fd5b8235610cd181610c4a565b91506020830135610ce181610c4a565b809150509250929050565b600080600060608486031215610d0157600080fd5b8335610d0c81610c4a565b92506020840135610d1c81610c4a565b91506040840135610d2c81610c4a565b809150509250925092565b80600b0b8114610c5f57600080fd5b60008060008060808587031215610d5c57600080fd5b8435610d6781610c4a565b93506020850135610d7781610c4a565b92506040850135610d8781610c4a565b91506060850135610d9781610d37565b939692955090935050565b634e487b7160e01b600052604160045260246000fd5b8015158114610c5f57600080fd5b60008060008385036080811215610ddc57600080fd5b8435610de781610c4a565b93506020850135610df781610c4a565b92506040603f1982011215610e0b57600080fd5b506040516040810181811067ffffffffffffffff82111715610e2f57610e2f610da2565b6040908152850135610e4081610db8565b81526060850135610e5081610db8565b602082015292959194509192509050565b600060208284031215610e7357600080fd5b81516102c281610db8565b600060208284031215610e9057600080fd5b81516102c281610d37565b600060208284031215610ead57600080fd5b5051919050565b60008060408385031215610ec757600080fd5b8251610ed281610d37565b6020840151909250610ce181610d37565b600060208284031215610ef557600080fd5b81516102c281610c4a565b60005b83811015610f1b578181015183820152602001610f03565b50506000910152565b60008151808452610f3c816020860160208601610f00565b601f01601f19169290920160200192915050565b6001600160a01b0386811682528581166020830152841660408201526060810183905260a060808201819052600090610f8b90830184610f24565b979650505050505050565b6001600160a01b0384168152606060208201819052600090610fba90830185610f24565b82810360408401526104858185610f24565b600060208284031215610fde57600080fd5b815167ffffffffffffffff80821115610ff657600080fd5b818401915084601f83011261100a57600080fd5b81518181111561101c5761101c610da2565b604051601f8201601f19908116603f0116810190838211818310171561104457611044610da2565b8160405282815287602084870101111561105d57600080fd5b610f8b836020830160208801610f00565b6001600160a01b03831681526040602082018190526000906101df90830184610f24565b634e487b7160e01b600052600160045260246000fd5b6001600160a01b038681168252858116602083015284166040820152600b83900b606082015260a060808201819052600090610f8b90830184610f2456fea2646970667358221220383a0d9f5b9976ddbe90cda1429ed659e00d081c9e359f3cc95082507eb480ac64736f6c63430008170033" = "0x608060405234801561001057600080fd5b5061111c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638c744b17116100665780638c744b17146100fb578063a6db62d814610121578063af196af614610142578063c157ebbb14610155578063ffa85a6f1461018257600080fd5b80632496f4b4146100985780634aa23a64146100ad57806359088b76146100c057806364548ce3146100e8575b600080fd5b6100ab6100a6366004610c62565b610195565b005b6100ab6100bb366004610cb3565b6101b1565b6100d36100ce366004610cec565b6101c9565b60405190151581526020015b60405180910390f35b6100ab6100f6366004610cb3565b6101e7565b61010e610109366004610cec565b6101fa565b604051600b9190910b81526020016100df565b61013461012f366004610c62565b610210565b6040519081526020016100df565b6100ab610150366004610d46565b610230565b610168610163366004610d46565b610245565b60408051600b93840b81529190920b6020820152016100df565b6100ab610190366004610dc6565b61026a565b6101aa6001600160a01b038516848484610284565b5050505050565b6101c46001600160a01b038316826102a5565b505050565b60006101df6001600160a01b03851684846102c9565b949350505050565b6101c46001600160a01b0383168261034c565b60006101df6001600160a01b0385168484610369565b60006102276001600160a01b0386168585856103f3565b95945050505050565b6101aa6001600160a01b03851684848461048f565b60008061025d6001600160a01b0387168686866104b0565b9150915094509492505050565b61027e6001600160a01b0384168383610554565b50505050565b604080516000808252602082019092526102279086908690869086906105ee565b604080516000808252602082019092526102c2908490849061071d565b9392505050565b6000806102d585610844565b6040516331e0bae760e21b81526001600160a01b0387811660048301528681166024830152919350908316915063c782eb9c90604401602060405180830381865afa158015610328573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102279190610e61565b604080516000808252602082019092526102c290849084906109c5565b60008061037585610844565b60405162735d7560e41b81526001600160a01b038881166004830152878116602483015286811660448301529193509083169150630735d75090606401602060405180830381865afa1580156103cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102279190610e7e565b6000806103ff86610844565b60405163eccfc6a560e01b81526001600160a01b0389811660048301528881166024830152878116604483015260648201879052919350908316915063eccfc6a590608401602060405180830381865afa158015610461573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104859190610e9b565b9695505050505050565b60408051600080825260208201909252610227908690869086908690610a11565b60008060006104be87610844565b604051631357247b60e21b81526001600160a01b038a8116600483015289811660248301528881166044830152600b88900b60648301529193509083169150634d5c91ec906084016040805180830381865afa158015610522573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105469190610eb4565b925092505094509492505050565b60008061056085610a9f565b604051630779d36560e01b81526001600160a01b03888116600483015287811660248301528651151560448301526020870151151560648301529193509083169150630779d365906084016020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102279190610ee3565b60008060006105fc88610a9f565b91509150816001600160a01b03166339255d5b82836001600160a01b0316636d1007a68c8c8c8c600067ffffffffffffffff81111561063d5761063d610da2565b6040519080825280601f01601f191660200182016040528015610667576020820181803683370190505b5060405160240161067c959493929190610f50565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519185901b6001600160e01b03191682526106c7939250908990600401610f96565b6000604051808303816000875af11580156106e6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261070e9190810190610fcc565b50600198975050505050505050565b600080600061072b86610a9f565b91509150816001600160a01b03166339255d5b82836001600160a01b03166330925b7989600067ffffffffffffffff81111561076957610769610da2565b6040519080825280601f01601f191660200182016040528015610793576020820181803683370190505b506040516024016107a592919061106e565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519185901b6001600160e01b03191682526107f0939250908990600401610f96565b6000604051808303816000875af115801561080f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108379190810190610fcc565b5060019695505050505050565b7f65599bf746e17a00ea62e3610586992d88101b78eec3cf380706621fb97ea837547fc36f6c05164a669ecb6da53e218d77ae44d51cfc99f91e5a125a18de0949bee4546001600160a01b038116610994576001600160a01b03821661090957826001600160a01b03166320bc44256040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109069190610ee3565b91505b604051635b69006f60e11b81527fdfd8ece9bfbcb8c5c540edb935641f63d67686490a1ab97f000288759f30a94660048201526001600160a01b0383169063b6d200de90602401602060405180830381865afa15801561096d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109919190610ee3565b90505b6001600160a01b0382166109aa576109aa611092565b6001600160a01b0381166109c0576109c0611092565b915091565b60008060006109d386610a9f565b91509150816001600160a01b03166339255d5b82836001600160a01b031663f0b7b91589600067ffffffffffffffff81111561076957610769610da2565b6000806000610a1f88610a9f565b91509150816001600160a01b03166339255d5b82836001600160a01b0316635a6c6dbc8c8c8c8c600067ffffffffffffffff811115610a6057610a60610da2565b6040519080825280601f01601f191660200182016040528015610a8a576020820181803683370190505b5060405160240161067c9594939291906110a8565b7f65599bf746e17a00ea62e3610586992d88101b78eec3cf380706621fb97ea837547fc36f6c05164a669ecb6da53e218d77ae44d51cfc99f91e5a125a18de0949bee4546001600160a01b038116610994576001600160a01b038216610b6457826001600160a01b03166320bc44256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b619190610ee3565b91505b604051635b69006f60e11b81527fdfd8ece9bfbcb8c5c540edb935641f63d67686490a1ab97f000288759f30a94660048201526001600160a01b0383169063b6d200de90602401602060405180830381865afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec9190610ee3565b9050817f65599bf746e17a00ea62e3610586992d88101b78eec3cf380706621fb97ea83755807fc36f6c05164a669ecb6da53e218d77ae44d51cfc99f91e5a125a18de0949bee4556001600160a01b0382166109aa576109aa611092565b6001600160a01b0381168114610c5f57600080fd5b50565b60008060008060808587031215610c7857600080fd5b8435610c8381610c4a565b93506020850135610c9381610c4a565b92506040850135610ca381610c4a565b9396929550929360600135925050565b60008060408385031215610cc657600080fd5b8235610cd181610c4a565b91506020830135610ce181610c4a565b809150509250929050565b600080600060608486031215610d0157600080fd5b8335610d0c81610c4a565b92506020840135610d1c81610c4a565b91506040840135610d2c81610c4a565b809150509250925092565b80600b0b8114610c5f57600080fd5b60008060008060808587031215610d5c57600080fd5b8435610d6781610c4a565b93506020850135610d7781610c4a565b92506040850135610d8781610c4a565b91506060850135610d9781610d37565b939692955090935050565b634e487b7160e01b600052604160045260246000fd5b8015158114610c5f57600080fd5b60008060008385036080811215610ddc57600080fd5b8435610de781610c4a565b93506020850135610df781610c4a565b92506040603f1982011215610e0b57600080fd5b506040516040810181811067ffffffffffffffff82111715610e2f57610e2f610da2565b6040908152850135610e4081610db8565b81526060850135610e5081610db8565b602082015292959194509192509050565b600060208284031215610e7357600080fd5b81516102c281610db8565b600060208284031215610e9057600080fd5b81516102c281610d37565b600060208284031215610ead57600080fd5b5051919050565b60008060408385031215610ec757600080fd5b8251610ed281610d37565b6020840151909250610ce181610d37565b600060208284031215610ef557600080fd5b81516102c281610c4a565b60005b83811015610f1b578181015183820152602001610f03565b50506000910152565b60008151808452610f3c816020860160208601610f00565b601f01601f19169290920160200192915050565b6001600160a01b0386811682528581166020830152841660408201526060810183905260a060808201819052600090610f8b90830184610f24565b979650505050505050565b6001600160a01b0384168152606060208201819052600090610fba90830185610f24565b82810360408401526104858185610f24565b600060208284031215610fde57600080fd5b815167ffffffffffffffff80821115610ff657600080fd5b818401915084601f83011261100a57600080fd5b81518181111561101c5761101c610da2565b604051601f8201601f19908116603f0116810190838211818310171561104457611044610da2565b8160405282815287602084870101111561105d57600080fd5b610f8b836020830160208801610f00565b6001600160a01b03831681526040602082018190526000906101df90830184610f24565b634e487b7160e01b600052600160045260246000fd5b6001600160a01b038681168252858116602083015284166040820152600b83900b606082015260a060808201819052600090610f8b90830184610f2456fea2646970667358221220383a0d9f5b9976ddbe90cda1429ed659e00d081c9e359f3cc95082507eb480ac64736f6c63430008170033"

Methods

  • Parameters

    • address: string

    Returns SuperTokenLibraryGDAMock

  • Parameters

    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<SuperTokenLibraryGDAMock>

  • Parameters

    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns TransactionRequest

  • Parameters

    • address: string
    • signerOrProvider: Signer | Provider

    Returns SuperTokenLibraryGDAMock

  • Returns SuperTokenLibraryGDAMockInterface

Generated using TypeDoc