Constructors

Properties

Methods

Constructors

Properties

abi: readonly [{
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        indexed: false;
        internalType: "int96";
        name: "exitRate";
        type: "int96";
    }];
    name: "ExitRateChanged";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        indexed: false;
        internalType: "address";
        name: "pic";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "bond";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "int96";
        name: "exitRate";
        type: "int96";
    }];
    name: "NewPIC";
    type: "event";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "int96";
        name: "newExitRate";
        type: "int96";
    }];
    name: "changeExitRate";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }];
    name: "getCurrentPIC";
    outputs: readonly [{
        internalType: "address";
        name: "pic";
        type: "address";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }];
    name: "getCurrentPICInfo";
    outputs: readonly [{
        internalType: "address";
        name: "pic";
        type: "address";
    }, {
        internalType: "uint256";
        name: "bond";
        type: "uint256";
    }, {
        internalType: "int96";
        name: "exitRate";
        type: "int96";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "uint256";
        name: "bondAmount";
        type: "uint256";
    }];
    name: "getDefaultExitRateFor";
    outputs: readonly [{
        internalType: "int96";
        name: "exitRate";
        type: "int96";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "contract ISuperToken";
        name: "token";
        type: "address";
    }, {
        internalType: "uint256";
        name: "bondAmount";
        type: "uint256";
    }];
    name: "getMaxExitRateFor";
    outputs: readonly [{
        internalType: "int96";
        name: "exitRate";
        type: "int96";
    }];
    stateMutability: "view";
    type: "function";
}]

Methods

  • Parameters

    • address: string
    • signerOrProvider: Signer | Provider

    Returns ITOGAv1

  • Returns ITOGAv1Interface

Generated using TypeDoc