Properties
Readonly [internal]
[internal]: any
claimRebate
claimRebate: TypedContractMethod<[tokens: AddressLike[]], [void], "nonpayable">
Readonly fallback
fallback: null | WrappedFallback
filters
filters: {
ClaimRebate: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
ClaimRebate(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Refer: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Refer(address,address,address,address,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetPrimaryRebatePercent: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetPrimaryRebatePercent(uint8,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetRebateTier: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetRebateTier(address,uint8,uint8): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetSecondaryRebatePercent: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetSecondaryRebatePercent(uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}
Type declaration
-
ClaimRebate: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
ClaimRebate(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Refer: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Refer(address,address,address,address,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetPrimaryRebatePercent: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetPrimaryRebatePercent(uint8,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetRebateTier: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetRebateTier(address,uint8,uint8): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetSecondaryRebatePercent: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetSecondaryRebatePercent(uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
getRebateAmounts
getRebateAmounts: TypedContractMethod<[user: AddressLike, referrer: AddressLike, tradingFee: BigNumberish], [[bigint, bigint] & {
primaryRebate: bigint;
secondaryRebate: bigint;
}], "view">
getRebatePercents()
getRebatePercents(): TypedContractMethod<[], [[bigint[], bigint] & {
primaryRebatePercents: bigint[];
secondaryRebatePercent: bigint;
}], "view">
getRebatePercents(address)
getRebatePercents(address): TypedContractMethod<[referrer: AddressLike], [[bigint, bigint] & {
primaryRebatePercent: bigint;
secondaryRebatePercent: bigint;
}], "view">
getRebateTier
getRebateTier: TypedContractMethod<[referrer: AddressLike], [bigint], "view">
getRebates
getRebates: TypedContractMethod<[referrer: AddressLike], [[string[], bigint[]] & {
rebates: bigint[];
tokens: string[];
}], "view">
getReferrer
getReferrer: TypedContractMethod<[user: AddressLike], [string], "view">
interface
interface: IReferralInterface
Readonly runner
runner: null | ContractRunner
setPrimaryRebatePercent
setPrimaryRebatePercent: TypedContractMethod<[percent: BigNumberish, tier: BigNumberish], [void], "nonpayable">
setRebateTier
setRebateTier: TypedContractMethod<[referrer: AddressLike, tier: BigNumberish], [void], "nonpayable">
setSecondaryRebatePercent
setSecondaryRebatePercent: TypedContractMethod<[percent: BigNumberish], [void], "nonpayable">
Readonly target
target: string | Addressable
useReferral
useReferral: TypedContractMethod<[user: AddressLike, referrer: AddressLike, token: AddressLike, primaryRebate: BigNumberish, secondaryRebate: BigNumberish], [void], "nonpayable">
@_ignore: