@huma-finance/shared 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis/SuperfluidPoolProcessor.json +692 -0
- package/dist/abis/types/BaseCreditPool.d.ts +152 -152
- package/dist/abis/types/BaseFeeManager.d.ts +65 -65
- package/dist/abis/types/BasePoolConfig.d.ts +227 -227
- package/dist/abis/types/Erc20.d.ts +38 -38
- package/dist/abis/types/Erc721.d.ts +123 -123
- package/dist/abis/types/HDT.d.ts +86 -86
- package/dist/abis/types/InvoiceNFT.d.ts +108 -108
- package/dist/abis/types/ReceivableFactoringPool.d.ts +198 -198
- package/dist/abis/types/StreamFeeManager.d.ts +71 -71
- package/dist/abis/types/SuperfluidPoolProcessor.d.ts +398 -0
- package/dist/abis/types/SuperfluidPoolProcessor.js +2 -0
- package/dist/abis/types/SuperfluidPoolProcessor.js.map +1 -0
- package/dist/abis/types/TestERC20.d.ts +59 -59
- package/dist/abis/types/Transfer.d.ts +7 -7
- package/dist/abis/types/common.d.ts +3 -3
- package/dist/abis/types/factories/BaseCreditPool__factory.d.ts +3 -3
- package/dist/abis/types/factories/BaseCreditPool__factory.js +549 -549
- package/dist/abis/types/factories/BaseCreditPool__factory.js.map +1 -1
- package/dist/abis/types/factories/BaseFeeManager__factory.d.ts +3 -3
- package/dist/abis/types/factories/BaseFeeManager__factory.js +239 -239
- package/dist/abis/types/factories/BaseFeeManager__factory.js.map +1 -1
- package/dist/abis/types/factories/BasePoolConfig__factory.d.ts +3 -3
- package/dist/abis/types/factories/BasePoolConfig__factory.js +629 -629
- package/dist/abis/types/factories/BasePoolConfig__factory.js.map +1 -1
- package/dist/abis/types/factories/Erc20__factory.d.ts +3 -3
- package/dist/abis/types/factories/Erc20__factory.js +84 -84
- package/dist/abis/types/factories/Erc20__factory.js.map +1 -1
- package/dist/abis/types/factories/Erc721__factory.d.ts +3 -3
- package/dist/abis/types/factories/Erc721__factory.js +287 -287
- package/dist/abis/types/factories/Erc721__factory.js.map +1 -1
- package/dist/abis/types/factories/HDT__factory.d.ts +3 -3
- package/dist/abis/types/factories/HDT__factory.js +241 -241
- package/dist/abis/types/factories/HDT__factory.js.map +1 -1
- package/dist/abis/types/factories/InvoiceNFT__factory.d.ts +3 -3
- package/dist/abis/types/factories/InvoiceNFT__factory.js +295 -295
- package/dist/abis/types/factories/InvoiceNFT__factory.js.map +1 -1
- package/dist/abis/types/factories/ReceivableFactoringPool__factory.d.ts +3 -3
- package/dist/abis/types/factories/ReceivableFactoringPool__factory.js +718 -718
- package/dist/abis/types/factories/ReceivableFactoringPool__factory.js.map +1 -1
- package/dist/abis/types/factories/StreamFeeManager__factory.d.ts +3 -3
- package/dist/abis/types/factories/StreamFeeManager__factory.js +260 -260
- package/dist/abis/types/factories/StreamFeeManager__factory.js.map +1 -1
- package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.d.ts +546 -0
- package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.js +706 -0
- package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.js.map +1 -0
- package/dist/abis/types/factories/TestERC20__factory.d.ts +3 -3
- package/dist/abis/types/factories/TestERC20__factory.js +172 -172
- package/dist/abis/types/factories/TestERC20__factory.js.map +1 -1
- package/dist/abis/types/factories/Transfer__factory.d.ts +3 -3
- package/dist/abis/types/factories/Transfer__factory.js +9 -9
- package/dist/abis/types/factories/Transfer__factory.js.map +1 -1
- package/dist/abis/types/factories/index.d.ts +1 -0
- package/dist/abis/types/factories/index.js +1 -0
- package/dist/abis/types/factories/index.js.map +1 -1
- package/dist/abis/types/index.d.ts +2 -0
- package/dist/abis/types/index.js +1 -0
- package/dist/abis/types/index.js.map +1 -1
- package/dist/cjs/abis/SuperfluidPoolProcessor.json +692 -0
- package/dist/cjs/abis/types/BaseCreditPool.d.ts +152 -152
- package/dist/cjs/abis/types/BaseFeeManager.d.ts +65 -65
- package/dist/cjs/abis/types/BasePoolConfig.d.ts +227 -227
- package/dist/cjs/abis/types/Erc20.d.ts +38 -38
- package/dist/cjs/abis/types/Erc721.d.ts +123 -123
- package/dist/cjs/abis/types/HDT.d.ts +86 -86
- package/dist/cjs/abis/types/InvoiceNFT.d.ts +108 -108
- package/dist/cjs/abis/types/ReceivableFactoringPool.d.ts +198 -198
- package/dist/cjs/abis/types/StreamFeeManager.d.ts +71 -71
- package/dist/cjs/abis/types/SuperfluidPoolProcessor.d.ts +398 -0
- package/dist/cjs/abis/types/SuperfluidPoolProcessor.js +3 -0
- package/dist/cjs/abis/types/SuperfluidPoolProcessor.js.map +1 -0
- package/dist/cjs/abis/types/TestERC20.d.ts +59 -59
- package/dist/cjs/abis/types/Transfer.d.ts +7 -7
- package/dist/cjs/abis/types/common.d.ts +3 -3
- package/dist/cjs/abis/types/factories/BaseCreditPool__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/BaseCreditPool__factory.js +548 -548
- package/dist/cjs/abis/types/factories/BaseCreditPool__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/BaseFeeManager__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/BaseFeeManager__factory.js +238 -238
- package/dist/cjs/abis/types/factories/BaseFeeManager__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/BasePoolConfig__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/BasePoolConfig__factory.js +628 -628
- package/dist/cjs/abis/types/factories/BasePoolConfig__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/Erc20__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/Erc20__factory.js +83 -83
- package/dist/cjs/abis/types/factories/Erc20__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/Erc721__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/Erc721__factory.js +286 -286
- package/dist/cjs/abis/types/factories/Erc721__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/HDT__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/HDT__factory.js +240 -240
- package/dist/cjs/abis/types/factories/HDT__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/InvoiceNFT__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/InvoiceNFT__factory.js +294 -294
- package/dist/cjs/abis/types/factories/InvoiceNFT__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.js +717 -717
- package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/StreamFeeManager__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/StreamFeeManager__factory.js +259 -259
- package/dist/cjs/abis/types/factories/StreamFeeManager__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.d.ts +546 -0
- package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.js +710 -0
- package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.js.map +1 -0
- package/dist/cjs/abis/types/factories/TestERC20__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/TestERC20__factory.js +171 -171
- package/dist/cjs/abis/types/factories/TestERC20__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/Transfer__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/Transfer__factory.js +8 -8
- package/dist/cjs/abis/types/factories/Transfer__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/index.d.ts +1 -0
- package/dist/cjs/abis/types/factories/index.js +3 -1
- package/dist/cjs/abis/types/factories/index.js.map +1 -1
- package/dist/cjs/abis/types/index.d.ts +2 -0
- package/dist/cjs/abis/types/index.js +3 -1
- package/dist/cjs/abis/types/index.js.map +1 -1
- package/dist/cjs/hooks/usePoolContract.d.ts +1 -0
- package/dist/cjs/hooks/usePoolContract.js +18 -1
- package/dist/cjs/hooks/usePoolContract.js.map +1 -1
- package/dist/cjs/services/EAService.d.ts +15 -49
- package/dist/cjs/services/EAService.js +18 -16
- package/dist/cjs/services/EAService.js.map +1 -1
- package/dist/cjs/utils/chain.js +7 -5
- package/dist/cjs/utils/chain.js.map +1 -1
- package/dist/cjs/utils/config.d.ts +0 -3
- package/dist/cjs/utils/config.js +0 -6
- package/dist/cjs/utils/config.js.map +1 -1
- package/dist/cjs/utils/const.d.ts +0 -1
- package/dist/cjs/utils/const.js +1 -2
- package/dist/cjs/utils/const.js.map +1 -1
- package/dist/cjs/utils/contractError.json +12 -4
- package/dist/cjs/utils/index.d.ts +1 -0
- package/dist/cjs/utils/index.js +1 -0
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/pool.d.ts +1 -0
- package/dist/cjs/utils/pool.js +8 -7
- package/dist/cjs/utils/pool.js.map +1 -1
- package/dist/cjs/utils/style.d.ts +1 -0
- package/dist/cjs/utils/style.js +17 -0
- package/dist/cjs/utils/style.js.map +1 -0
- package/dist/hooks/usePoolContract.d.ts +1 -0
- package/dist/hooks/usePoolContract.js +16 -0
- package/dist/hooks/usePoolContract.js.map +1 -1
- package/dist/services/EAService.d.ts +15 -49
- package/dist/services/EAService.js +18 -16
- package/dist/services/EAService.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/utils/chain.js +7 -5
- package/dist/utils/chain.js.map +1 -1
- package/dist/utils/config.d.ts +0 -3
- package/dist/utils/config.js +0 -6
- package/dist/utils/config.js.map +1 -1
- package/dist/utils/const.d.ts +0 -1
- package/dist/utils/const.js +0 -1
- package/dist/utils/const.js.map +1 -1
- package/dist/utils/contractError.json +12 -4
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/pool.d.ts +1 -0
- package/dist/utils/pool.js +8 -7
- package/dist/utils/pool.js.map +1 -1
- package/dist/utils/style.d.ts +1 -0
- package/dist/utils/style.js +13 -0
- package/dist/utils/style.js.map +1 -0
- package/package.json +14 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from
|
|
2
|
-
import type { FunctionFragment, Result, EventFragment } from
|
|
3
|
-
import type { Listener, Provider } from
|
|
4
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from
|
|
1
|
+
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from 'ethers';
|
|
2
|
+
import type { FunctionFragment, Result, EventFragment } from '@ethersproject/abi';
|
|
3
|
+
import type { Listener, Provider } from '@ethersproject/providers';
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common';
|
|
5
5
|
export declare namespace BaseStructs {
|
|
6
6
|
type CreditRecordStruct = {
|
|
7
7
|
unbilledPrincipal: PromiseOrValue<BigNumberish>;
|
|
@@ -62,55 +62,55 @@ export declare namespace BaseStructs {
|
|
|
62
62
|
}
|
|
63
63
|
export interface ReceivableFactoringPoolInterface extends utils.Interface {
|
|
64
64
|
functions: {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
65
|
+
'addApprovedLender(address)': FunctionFragment;
|
|
66
|
+
'approveCredit(address,uint256,uint256,uint256,uint256)': FunctionFragment;
|
|
67
|
+
'approveCredit(address,uint256,uint256,uint256,uint256,address,uint256,uint256)': FunctionFragment;
|
|
68
|
+
'changeCreditLine(address,uint256)': FunctionFragment;
|
|
69
|
+
'creditRecordMapping(address)': FunctionFragment;
|
|
70
|
+
'creditRecordStaticMapping(address)': FunctionFragment;
|
|
71
|
+
'deposit(uint256)': FunctionFragment;
|
|
72
|
+
'disablePool()': FunctionFragment;
|
|
73
|
+
'drawdown(uint256)': FunctionFragment;
|
|
74
|
+
'drawdownWithReceivable(uint256,address,uint256)': FunctionFragment;
|
|
75
|
+
'enablePool()': FunctionFragment;
|
|
76
|
+
'extendCreditLineDuration(address,uint256)': FunctionFragment;
|
|
77
|
+
'getCoreData()': FunctionFragment;
|
|
78
|
+
'initialize(address)': FunctionFragment;
|
|
79
|
+
'isApproved(address)': FunctionFragment;
|
|
80
|
+
'isApprovedLender(address)': FunctionFragment;
|
|
81
|
+
'isDefaultReady(address)': FunctionFragment;
|
|
82
|
+
'isLate(address)': FunctionFragment;
|
|
83
|
+
'isPaymentProcessed(bytes32)': FunctionFragment;
|
|
84
|
+
'isPoolOn()': FunctionFragment;
|
|
85
|
+
'lastDepositTime(address)': FunctionFragment;
|
|
86
|
+
'makeInitialDeposit(uint256)': FunctionFragment;
|
|
87
|
+
'makePayment(address,uint256)': FunctionFragment;
|
|
88
|
+
'markPaymentInvalid(bytes32)': FunctionFragment;
|
|
89
|
+
'onERC721Received(address,address,uint256,bytes)': FunctionFragment;
|
|
90
|
+
'onReceivedPayment(address,uint256,bytes32)': FunctionFragment;
|
|
91
|
+
'poolConfig()': FunctionFragment;
|
|
92
|
+
'receivableInfoMapping(address)': FunctionFragment;
|
|
93
|
+
'receivableOwnershipMapping(bytes32)': FunctionFragment;
|
|
94
|
+
'refreshAccount(address)': FunctionFragment;
|
|
95
|
+
'removeApprovedLender(address)': FunctionFragment;
|
|
96
|
+
'requestCredit(uint256,uint256,uint256)': FunctionFragment;
|
|
97
|
+
'setPoolConfig(address)': FunctionFragment;
|
|
98
|
+
'totalPoolValue()': FunctionFragment;
|
|
99
|
+
'triggerDefault(address)': FunctionFragment;
|
|
100
|
+
'updateCoreData()': FunctionFragment;
|
|
101
|
+
'withdraw(uint256)': FunctionFragment;
|
|
102
|
+
'withdrawAll()': FunctionFragment;
|
|
103
103
|
};
|
|
104
|
-
getFunction(nameOrSignatureOrTopic:
|
|
105
|
-
encodeFunctionData(functionFragment:
|
|
106
|
-
encodeFunctionData(functionFragment:
|
|
104
|
+
getFunction(nameOrSignatureOrTopic: 'addApprovedLender' | 'approveCredit(address,uint256,uint256,uint256,uint256)' | 'approveCredit(address,uint256,uint256,uint256,uint256,address,uint256,uint256)' | 'changeCreditLine' | 'creditRecordMapping' | 'creditRecordStaticMapping' | 'deposit' | 'disablePool' | 'drawdown' | 'drawdownWithReceivable' | 'enablePool' | 'extendCreditLineDuration' | 'getCoreData' | 'initialize' | 'isApproved' | 'isApprovedLender' | 'isDefaultReady' | 'isLate' | 'isPaymentProcessed' | 'isPoolOn' | 'lastDepositTime' | 'makeInitialDeposit' | 'makePayment' | 'markPaymentInvalid' | 'onERC721Received' | 'onReceivedPayment' | 'poolConfig' | 'receivableInfoMapping' | 'receivableOwnershipMapping' | 'refreshAccount' | 'removeApprovedLender' | 'requestCredit' | 'setPoolConfig' | 'totalPoolValue' | 'triggerDefault' | 'updateCoreData' | 'withdraw' | 'withdrawAll'): FunctionFragment;
|
|
105
|
+
encodeFunctionData(functionFragment: 'addApprovedLender', values: [PromiseOrValue<string>]): string;
|
|
106
|
+
encodeFunctionData(functionFragment: 'approveCredit(address,uint256,uint256,uint256,uint256)', values: [
|
|
107
107
|
PromiseOrValue<string>,
|
|
108
108
|
PromiseOrValue<BigNumberish>,
|
|
109
109
|
PromiseOrValue<BigNumberish>,
|
|
110
110
|
PromiseOrValue<BigNumberish>,
|
|
111
111
|
PromiseOrValue<BigNumberish>
|
|
112
112
|
]): string;
|
|
113
|
-
encodeFunctionData(functionFragment:
|
|
113
|
+
encodeFunctionData(functionFragment: 'approveCredit(address,uint256,uint256,uint256,uint256,address,uint256,uint256)', values: [
|
|
114
114
|
PromiseOrValue<string>,
|
|
115
115
|
PromiseOrValue<BigNumberish>,
|
|
116
116
|
PromiseOrValue<BigNumberish>,
|
|
@@ -120,144 +120,144 @@ export interface ReceivableFactoringPoolInterface extends utils.Interface {
|
|
|
120
120
|
PromiseOrValue<BigNumberish>,
|
|
121
121
|
PromiseOrValue<BigNumberish>
|
|
122
122
|
]): string;
|
|
123
|
-
encodeFunctionData(functionFragment:
|
|
124
|
-
encodeFunctionData(functionFragment:
|
|
125
|
-
encodeFunctionData(functionFragment:
|
|
126
|
-
encodeFunctionData(functionFragment:
|
|
127
|
-
encodeFunctionData(functionFragment:
|
|
128
|
-
encodeFunctionData(functionFragment:
|
|
129
|
-
encodeFunctionData(functionFragment:
|
|
123
|
+
encodeFunctionData(functionFragment: 'changeCreditLine', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
124
|
+
encodeFunctionData(functionFragment: 'creditRecordMapping', values: [PromiseOrValue<string>]): string;
|
|
125
|
+
encodeFunctionData(functionFragment: 'creditRecordStaticMapping', values: [PromiseOrValue<string>]): string;
|
|
126
|
+
encodeFunctionData(functionFragment: 'deposit', values: [PromiseOrValue<BigNumberish>]): string;
|
|
127
|
+
encodeFunctionData(functionFragment: 'disablePool', values?: undefined): string;
|
|
128
|
+
encodeFunctionData(functionFragment: 'drawdown', values: [PromiseOrValue<BigNumberish>]): string;
|
|
129
|
+
encodeFunctionData(functionFragment: 'drawdownWithReceivable', values: [
|
|
130
130
|
PromiseOrValue<BigNumberish>,
|
|
131
131
|
PromiseOrValue<string>,
|
|
132
132
|
PromiseOrValue<BigNumberish>
|
|
133
133
|
]): string;
|
|
134
|
-
encodeFunctionData(functionFragment:
|
|
135
|
-
encodeFunctionData(functionFragment:
|
|
136
|
-
encodeFunctionData(functionFragment:
|
|
137
|
-
encodeFunctionData(functionFragment:
|
|
138
|
-
encodeFunctionData(functionFragment:
|
|
139
|
-
encodeFunctionData(functionFragment:
|
|
140
|
-
encodeFunctionData(functionFragment:
|
|
141
|
-
encodeFunctionData(functionFragment:
|
|
142
|
-
encodeFunctionData(functionFragment:
|
|
143
|
-
encodeFunctionData(functionFragment:
|
|
144
|
-
encodeFunctionData(functionFragment:
|
|
145
|
-
encodeFunctionData(functionFragment:
|
|
146
|
-
encodeFunctionData(functionFragment:
|
|
147
|
-
encodeFunctionData(functionFragment:
|
|
148
|
-
encodeFunctionData(functionFragment:
|
|
134
|
+
encodeFunctionData(functionFragment: 'enablePool', values?: undefined): string;
|
|
135
|
+
encodeFunctionData(functionFragment: 'extendCreditLineDuration', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
136
|
+
encodeFunctionData(functionFragment: 'getCoreData', values?: undefined): string;
|
|
137
|
+
encodeFunctionData(functionFragment: 'initialize', values: [PromiseOrValue<string>]): string;
|
|
138
|
+
encodeFunctionData(functionFragment: 'isApproved', values: [PromiseOrValue<string>]): string;
|
|
139
|
+
encodeFunctionData(functionFragment: 'isApprovedLender', values: [PromiseOrValue<string>]): string;
|
|
140
|
+
encodeFunctionData(functionFragment: 'isDefaultReady', values: [PromiseOrValue<string>]): string;
|
|
141
|
+
encodeFunctionData(functionFragment: 'isLate', values: [PromiseOrValue<string>]): string;
|
|
142
|
+
encodeFunctionData(functionFragment: 'isPaymentProcessed', values: [PromiseOrValue<BytesLike>]): string;
|
|
143
|
+
encodeFunctionData(functionFragment: 'isPoolOn', values?: undefined): string;
|
|
144
|
+
encodeFunctionData(functionFragment: 'lastDepositTime', values: [PromiseOrValue<string>]): string;
|
|
145
|
+
encodeFunctionData(functionFragment: 'makeInitialDeposit', values: [PromiseOrValue<BigNumberish>]): string;
|
|
146
|
+
encodeFunctionData(functionFragment: 'makePayment', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
147
|
+
encodeFunctionData(functionFragment: 'markPaymentInvalid', values: [PromiseOrValue<BytesLike>]): string;
|
|
148
|
+
encodeFunctionData(functionFragment: 'onERC721Received', values: [
|
|
149
149
|
PromiseOrValue<string>,
|
|
150
150
|
PromiseOrValue<string>,
|
|
151
151
|
PromiseOrValue<BigNumberish>,
|
|
152
152
|
PromiseOrValue<BytesLike>
|
|
153
153
|
]): string;
|
|
154
|
-
encodeFunctionData(functionFragment:
|
|
154
|
+
encodeFunctionData(functionFragment: 'onReceivedPayment', values: [
|
|
155
155
|
PromiseOrValue<string>,
|
|
156
156
|
PromiseOrValue<BigNumberish>,
|
|
157
157
|
PromiseOrValue<BytesLike>
|
|
158
158
|
]): string;
|
|
159
|
-
encodeFunctionData(functionFragment:
|
|
160
|
-
encodeFunctionData(functionFragment:
|
|
161
|
-
encodeFunctionData(functionFragment:
|
|
162
|
-
encodeFunctionData(functionFragment:
|
|
163
|
-
encodeFunctionData(functionFragment:
|
|
164
|
-
encodeFunctionData(functionFragment:
|
|
159
|
+
encodeFunctionData(functionFragment: 'poolConfig', values?: undefined): string;
|
|
160
|
+
encodeFunctionData(functionFragment: 'receivableInfoMapping', values: [PromiseOrValue<string>]): string;
|
|
161
|
+
encodeFunctionData(functionFragment: 'receivableOwnershipMapping', values: [PromiseOrValue<BytesLike>]): string;
|
|
162
|
+
encodeFunctionData(functionFragment: 'refreshAccount', values: [PromiseOrValue<string>]): string;
|
|
163
|
+
encodeFunctionData(functionFragment: 'removeApprovedLender', values: [PromiseOrValue<string>]): string;
|
|
164
|
+
encodeFunctionData(functionFragment: 'requestCredit', values: [
|
|
165
165
|
PromiseOrValue<BigNumberish>,
|
|
166
166
|
PromiseOrValue<BigNumberish>,
|
|
167
167
|
PromiseOrValue<BigNumberish>
|
|
168
168
|
]): string;
|
|
169
|
-
encodeFunctionData(functionFragment:
|
|
170
|
-
encodeFunctionData(functionFragment:
|
|
171
|
-
encodeFunctionData(functionFragment:
|
|
172
|
-
encodeFunctionData(functionFragment:
|
|
173
|
-
encodeFunctionData(functionFragment:
|
|
174
|
-
encodeFunctionData(functionFragment:
|
|
175
|
-
decodeFunctionResult(functionFragment:
|
|
176
|
-
decodeFunctionResult(functionFragment:
|
|
177
|
-
decodeFunctionResult(functionFragment:
|
|
178
|
-
decodeFunctionResult(functionFragment:
|
|
179
|
-
decodeFunctionResult(functionFragment:
|
|
180
|
-
decodeFunctionResult(functionFragment:
|
|
181
|
-
decodeFunctionResult(functionFragment:
|
|
182
|
-
decodeFunctionResult(functionFragment:
|
|
183
|
-
decodeFunctionResult(functionFragment:
|
|
184
|
-
decodeFunctionResult(functionFragment:
|
|
185
|
-
decodeFunctionResult(functionFragment:
|
|
186
|
-
decodeFunctionResult(functionFragment:
|
|
187
|
-
decodeFunctionResult(functionFragment:
|
|
188
|
-
decodeFunctionResult(functionFragment:
|
|
189
|
-
decodeFunctionResult(functionFragment:
|
|
190
|
-
decodeFunctionResult(functionFragment:
|
|
191
|
-
decodeFunctionResult(functionFragment:
|
|
192
|
-
decodeFunctionResult(functionFragment:
|
|
193
|
-
decodeFunctionResult(functionFragment:
|
|
194
|
-
decodeFunctionResult(functionFragment:
|
|
195
|
-
decodeFunctionResult(functionFragment:
|
|
196
|
-
decodeFunctionResult(functionFragment:
|
|
197
|
-
decodeFunctionResult(functionFragment:
|
|
198
|
-
decodeFunctionResult(functionFragment:
|
|
199
|
-
decodeFunctionResult(functionFragment:
|
|
200
|
-
decodeFunctionResult(functionFragment:
|
|
201
|
-
decodeFunctionResult(functionFragment:
|
|
202
|
-
decodeFunctionResult(functionFragment:
|
|
203
|
-
decodeFunctionResult(functionFragment:
|
|
204
|
-
decodeFunctionResult(functionFragment:
|
|
205
|
-
decodeFunctionResult(functionFragment:
|
|
206
|
-
decodeFunctionResult(functionFragment:
|
|
207
|
-
decodeFunctionResult(functionFragment:
|
|
208
|
-
decodeFunctionResult(functionFragment:
|
|
209
|
-
decodeFunctionResult(functionFragment:
|
|
210
|
-
decodeFunctionResult(functionFragment:
|
|
211
|
-
decodeFunctionResult(functionFragment:
|
|
212
|
-
decodeFunctionResult(functionFragment:
|
|
169
|
+
encodeFunctionData(functionFragment: 'setPoolConfig', values: [PromiseOrValue<string>]): string;
|
|
170
|
+
encodeFunctionData(functionFragment: 'totalPoolValue', values?: undefined): string;
|
|
171
|
+
encodeFunctionData(functionFragment: 'triggerDefault', values: [PromiseOrValue<string>]): string;
|
|
172
|
+
encodeFunctionData(functionFragment: 'updateCoreData', values?: undefined): string;
|
|
173
|
+
encodeFunctionData(functionFragment: 'withdraw', values: [PromiseOrValue<BigNumberish>]): string;
|
|
174
|
+
encodeFunctionData(functionFragment: 'withdrawAll', values?: undefined): string;
|
|
175
|
+
decodeFunctionResult(functionFragment: 'addApprovedLender', data: BytesLike): Result;
|
|
176
|
+
decodeFunctionResult(functionFragment: 'approveCredit(address,uint256,uint256,uint256,uint256)', data: BytesLike): Result;
|
|
177
|
+
decodeFunctionResult(functionFragment: 'approveCredit(address,uint256,uint256,uint256,uint256,address,uint256,uint256)', data: BytesLike): Result;
|
|
178
|
+
decodeFunctionResult(functionFragment: 'changeCreditLine', data: BytesLike): Result;
|
|
179
|
+
decodeFunctionResult(functionFragment: 'creditRecordMapping', data: BytesLike): Result;
|
|
180
|
+
decodeFunctionResult(functionFragment: 'creditRecordStaticMapping', data: BytesLike): Result;
|
|
181
|
+
decodeFunctionResult(functionFragment: 'deposit', data: BytesLike): Result;
|
|
182
|
+
decodeFunctionResult(functionFragment: 'disablePool', data: BytesLike): Result;
|
|
183
|
+
decodeFunctionResult(functionFragment: 'drawdown', data: BytesLike): Result;
|
|
184
|
+
decodeFunctionResult(functionFragment: 'drawdownWithReceivable', data: BytesLike): Result;
|
|
185
|
+
decodeFunctionResult(functionFragment: 'enablePool', data: BytesLike): Result;
|
|
186
|
+
decodeFunctionResult(functionFragment: 'extendCreditLineDuration', data: BytesLike): Result;
|
|
187
|
+
decodeFunctionResult(functionFragment: 'getCoreData', data: BytesLike): Result;
|
|
188
|
+
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
|
|
189
|
+
decodeFunctionResult(functionFragment: 'isApproved', data: BytesLike): Result;
|
|
190
|
+
decodeFunctionResult(functionFragment: 'isApprovedLender', data: BytesLike): Result;
|
|
191
|
+
decodeFunctionResult(functionFragment: 'isDefaultReady', data: BytesLike): Result;
|
|
192
|
+
decodeFunctionResult(functionFragment: 'isLate', data: BytesLike): Result;
|
|
193
|
+
decodeFunctionResult(functionFragment: 'isPaymentProcessed', data: BytesLike): Result;
|
|
194
|
+
decodeFunctionResult(functionFragment: 'isPoolOn', data: BytesLike): Result;
|
|
195
|
+
decodeFunctionResult(functionFragment: 'lastDepositTime', data: BytesLike): Result;
|
|
196
|
+
decodeFunctionResult(functionFragment: 'makeInitialDeposit', data: BytesLike): Result;
|
|
197
|
+
decodeFunctionResult(functionFragment: 'makePayment', data: BytesLike): Result;
|
|
198
|
+
decodeFunctionResult(functionFragment: 'markPaymentInvalid', data: BytesLike): Result;
|
|
199
|
+
decodeFunctionResult(functionFragment: 'onERC721Received', data: BytesLike): Result;
|
|
200
|
+
decodeFunctionResult(functionFragment: 'onReceivedPayment', data: BytesLike): Result;
|
|
201
|
+
decodeFunctionResult(functionFragment: 'poolConfig', data: BytesLike): Result;
|
|
202
|
+
decodeFunctionResult(functionFragment: 'receivableInfoMapping', data: BytesLike): Result;
|
|
203
|
+
decodeFunctionResult(functionFragment: 'receivableOwnershipMapping', data: BytesLike): Result;
|
|
204
|
+
decodeFunctionResult(functionFragment: 'refreshAccount', data: BytesLike): Result;
|
|
205
|
+
decodeFunctionResult(functionFragment: 'removeApprovedLender', data: BytesLike): Result;
|
|
206
|
+
decodeFunctionResult(functionFragment: 'requestCredit', data: BytesLike): Result;
|
|
207
|
+
decodeFunctionResult(functionFragment: 'setPoolConfig', data: BytesLike): Result;
|
|
208
|
+
decodeFunctionResult(functionFragment: 'totalPoolValue', data: BytesLike): Result;
|
|
209
|
+
decodeFunctionResult(functionFragment: 'triggerDefault', data: BytesLike): Result;
|
|
210
|
+
decodeFunctionResult(functionFragment: 'updateCoreData', data: BytesLike): Result;
|
|
211
|
+
decodeFunctionResult(functionFragment: 'withdraw', data: BytesLike): Result;
|
|
212
|
+
decodeFunctionResult(functionFragment: 'withdrawAll', data: BytesLike): Result;
|
|
213
213
|
events: {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
214
|
+
'AddApprovedLender(address,address)': EventFragment;
|
|
215
|
+
'BillRefreshed(address,uint256,address)': EventFragment;
|
|
216
|
+
'CreditApproved(address,uint256,uint256,uint256,uint256)': EventFragment;
|
|
217
|
+
'CreditInitiated(address,uint256,uint256,uint256,uint256,bool)': EventFragment;
|
|
218
|
+
'CreditLineChanged(address,uint256,uint256)': EventFragment;
|
|
219
|
+
'CreditLineClosed(address,address,uint8)': EventFragment;
|
|
220
|
+
'CreditLineExtended(address,uint256,uint256,address)': EventFragment;
|
|
221
|
+
'DefaultTriggered(address,uint256,address)': EventFragment;
|
|
222
|
+
'DrawdownMade(address,uint256,uint256)': EventFragment;
|
|
223
|
+
'DrawdownMadeWithReceivable(address,uint256,uint256,address,uint256)': EventFragment;
|
|
224
|
+
'ExtraFundsDispersed(address,uint256)': EventFragment;
|
|
225
|
+
'Initialized(uint8)': EventFragment;
|
|
226
|
+
'LiquidityDeposited(address,uint256,uint256)': EventFragment;
|
|
227
|
+
'LiquidityWithdrawn(address,uint256,uint256)': EventFragment;
|
|
228
|
+
'LossesDistributed(uint256,uint256)': EventFragment;
|
|
229
|
+
'PaymentInvalidated(bytes32)': EventFragment;
|
|
230
|
+
'PaymentMade(address,uint256,uint256,uint256,address)': EventFragment;
|
|
231
|
+
'PoolConfigChanged(address,address)': EventFragment;
|
|
232
|
+
'PoolCoreDataChanged(address,address,address,address,address)': EventFragment;
|
|
233
|
+
'PoolDisabled(address)': EventFragment;
|
|
234
|
+
'PoolEnabled(address)': EventFragment;
|
|
235
|
+
'ReceivedPaymentProcessed(address,address,uint256,bytes32)': EventFragment;
|
|
236
|
+
'RemoveApprovedLender(address,address)': EventFragment;
|
|
237
237
|
};
|
|
238
|
-
getEvent(nameOrSignatureOrTopic:
|
|
239
|
-
getEvent(nameOrSignatureOrTopic:
|
|
240
|
-
getEvent(nameOrSignatureOrTopic:
|
|
241
|
-
getEvent(nameOrSignatureOrTopic:
|
|
242
|
-
getEvent(nameOrSignatureOrTopic:
|
|
243
|
-
getEvent(nameOrSignatureOrTopic:
|
|
244
|
-
getEvent(nameOrSignatureOrTopic:
|
|
245
|
-
getEvent(nameOrSignatureOrTopic:
|
|
246
|
-
getEvent(nameOrSignatureOrTopic:
|
|
247
|
-
getEvent(nameOrSignatureOrTopic:
|
|
248
|
-
getEvent(nameOrSignatureOrTopic:
|
|
249
|
-
getEvent(nameOrSignatureOrTopic:
|
|
250
|
-
getEvent(nameOrSignatureOrTopic:
|
|
251
|
-
getEvent(nameOrSignatureOrTopic:
|
|
252
|
-
getEvent(nameOrSignatureOrTopic:
|
|
253
|
-
getEvent(nameOrSignatureOrTopic:
|
|
254
|
-
getEvent(nameOrSignatureOrTopic:
|
|
255
|
-
getEvent(nameOrSignatureOrTopic:
|
|
256
|
-
getEvent(nameOrSignatureOrTopic:
|
|
257
|
-
getEvent(nameOrSignatureOrTopic:
|
|
258
|
-
getEvent(nameOrSignatureOrTopic:
|
|
259
|
-
getEvent(nameOrSignatureOrTopic:
|
|
260
|
-
getEvent(nameOrSignatureOrTopic:
|
|
238
|
+
getEvent(nameOrSignatureOrTopic: 'AddApprovedLender'): EventFragment;
|
|
239
|
+
getEvent(nameOrSignatureOrTopic: 'BillRefreshed'): EventFragment;
|
|
240
|
+
getEvent(nameOrSignatureOrTopic: 'CreditApproved'): EventFragment;
|
|
241
|
+
getEvent(nameOrSignatureOrTopic: 'CreditInitiated'): EventFragment;
|
|
242
|
+
getEvent(nameOrSignatureOrTopic: 'CreditLineChanged'): EventFragment;
|
|
243
|
+
getEvent(nameOrSignatureOrTopic: 'CreditLineClosed'): EventFragment;
|
|
244
|
+
getEvent(nameOrSignatureOrTopic: 'CreditLineExtended'): EventFragment;
|
|
245
|
+
getEvent(nameOrSignatureOrTopic: 'DefaultTriggered'): EventFragment;
|
|
246
|
+
getEvent(nameOrSignatureOrTopic: 'DrawdownMade'): EventFragment;
|
|
247
|
+
getEvent(nameOrSignatureOrTopic: 'DrawdownMadeWithReceivable'): EventFragment;
|
|
248
|
+
getEvent(nameOrSignatureOrTopic: 'ExtraFundsDispersed'): EventFragment;
|
|
249
|
+
getEvent(nameOrSignatureOrTopic: 'Initialized'): EventFragment;
|
|
250
|
+
getEvent(nameOrSignatureOrTopic: 'LiquidityDeposited'): EventFragment;
|
|
251
|
+
getEvent(nameOrSignatureOrTopic: 'LiquidityWithdrawn'): EventFragment;
|
|
252
|
+
getEvent(nameOrSignatureOrTopic: 'LossesDistributed'): EventFragment;
|
|
253
|
+
getEvent(nameOrSignatureOrTopic: 'PaymentInvalidated'): EventFragment;
|
|
254
|
+
getEvent(nameOrSignatureOrTopic: 'PaymentMade'): EventFragment;
|
|
255
|
+
getEvent(nameOrSignatureOrTopic: 'PoolConfigChanged'): EventFragment;
|
|
256
|
+
getEvent(nameOrSignatureOrTopic: 'PoolCoreDataChanged'): EventFragment;
|
|
257
|
+
getEvent(nameOrSignatureOrTopic: 'PoolDisabled'): EventFragment;
|
|
258
|
+
getEvent(nameOrSignatureOrTopic: 'PoolEnabled'): EventFragment;
|
|
259
|
+
getEvent(nameOrSignatureOrTopic: 'ReceivedPaymentProcessed'): EventFragment;
|
|
260
|
+
getEvent(nameOrSignatureOrTopic: 'RemoveApprovedLender'): EventFragment;
|
|
261
261
|
}
|
|
262
262
|
export interface AddApprovedLenderEventObject {
|
|
263
263
|
lender: string;
|
|
@@ -524,10 +524,10 @@ export interface ReceivableFactoringPool extends BaseContract {
|
|
|
524
524
|
addApprovedLender(lender: PromiseOrValue<string>, overrides?: Overrides & {
|
|
525
525
|
from?: PromiseOrValue<string>;
|
|
526
526
|
}): Promise<ContractTransaction>;
|
|
527
|
-
|
|
527
|
+
'approveCredit(address,uint256,uint256,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
528
528
|
from?: PromiseOrValue<string>;
|
|
529
529
|
}): Promise<ContractTransaction>;
|
|
530
|
-
|
|
530
|
+
'approveCredit(address,uint256,uint256,uint256,uint256,address,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, receivableAsset: PromiseOrValue<string>, receivableParam: PromiseOrValue<BigNumberish>, receivableAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
531
531
|
from?: PromiseOrValue<string>;
|
|
532
532
|
}): Promise<ContractTransaction>;
|
|
533
533
|
changeCreditLine(borrower: PromiseOrValue<string>, newCreditLimit: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
@@ -623,10 +623,10 @@ export interface ReceivableFactoringPool extends BaseContract {
|
|
|
623
623
|
addApprovedLender(lender: PromiseOrValue<string>, overrides?: Overrides & {
|
|
624
624
|
from?: PromiseOrValue<string>;
|
|
625
625
|
}): Promise<ContractTransaction>;
|
|
626
|
-
|
|
626
|
+
'approveCredit(address,uint256,uint256,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
627
627
|
from?: PromiseOrValue<string>;
|
|
628
628
|
}): Promise<ContractTransaction>;
|
|
629
|
-
|
|
629
|
+
'approveCredit(address,uint256,uint256,uint256,uint256,address,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, receivableAsset: PromiseOrValue<string>, receivableParam: PromiseOrValue<BigNumberish>, receivableAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
630
630
|
from?: PromiseOrValue<string>;
|
|
631
631
|
}): Promise<ContractTransaction>;
|
|
632
632
|
changeCreditLine(borrower: PromiseOrValue<string>, newCreditLimit: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
@@ -718,8 +718,8 @@ export interface ReceivableFactoringPool extends BaseContract {
|
|
|
718
718
|
}): Promise<ContractTransaction>;
|
|
719
719
|
callStatic: {
|
|
720
720
|
addApprovedLender(lender: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
721
|
-
|
|
722
|
-
|
|
721
|
+
'approveCredit(address,uint256,uint256,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
722
|
+
'approveCredit(address,uint256,uint256,uint256,uint256,address,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, receivableAsset: PromiseOrValue<string>, receivableParam: PromiseOrValue<BigNumberish>, receivableAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
723
723
|
changeCreditLine(borrower: PromiseOrValue<string>, newCreditLimit: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
724
724
|
creditRecordMapping(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BaseStructs.CreditRecordStructOutput>;
|
|
725
725
|
creditRecordStaticMapping(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BaseStructs.CreditRecordStaticStructOutput>;
|
|
@@ -773,61 +773,61 @@ export interface ReceivableFactoringPool extends BaseContract {
|
|
|
773
773
|
withdrawAll(overrides?: CallOverrides): Promise<void>;
|
|
774
774
|
};
|
|
775
775
|
filters: {
|
|
776
|
-
|
|
776
|
+
'AddApprovedLender(address,address)'(lender?: PromiseOrValue<string> | null, by?: null): AddApprovedLenderEventFilter;
|
|
777
777
|
AddApprovedLender(lender?: PromiseOrValue<string> | null, by?: null): AddApprovedLenderEventFilter;
|
|
778
|
-
|
|
778
|
+
'BillRefreshed(address,uint256,address)'(borrower?: PromiseOrValue<string> | null, newDueDate?: null, by?: null): BillRefreshedEventFilter;
|
|
779
779
|
BillRefreshed(borrower?: PromiseOrValue<string> | null, newDueDate?: null, by?: null): BillRefreshedEventFilter;
|
|
780
|
-
|
|
780
|
+
'CreditApproved(address,uint256,uint256,uint256,uint256)'(borrower?: PromiseOrValue<string> | null, creditLimit?: null, intervalInDays?: null, remainingPeriods?: null, aprInBps?: null): CreditApprovedEventFilter;
|
|
781
781
|
CreditApproved(borrower?: PromiseOrValue<string> | null, creditLimit?: null, intervalInDays?: null, remainingPeriods?: null, aprInBps?: null): CreditApprovedEventFilter;
|
|
782
|
-
|
|
782
|
+
'CreditInitiated(address,uint256,uint256,uint256,uint256,bool)'(borrower?: PromiseOrValue<string> | null, creditLimit?: null, aprInBps?: null, payPeriodInDays?: null, remainingPeriods?: null, approved?: null): CreditInitiatedEventFilter;
|
|
783
783
|
CreditInitiated(borrower?: PromiseOrValue<string> | null, creditLimit?: null, aprInBps?: null, payPeriodInDays?: null, remainingPeriods?: null, approved?: null): CreditInitiatedEventFilter;
|
|
784
|
-
|
|
784
|
+
'CreditLineChanged(address,uint256,uint256)'(borrower?: PromiseOrValue<string> | null, oldCreditLimit?: null, newCreditLimit?: null): CreditLineChangedEventFilter;
|
|
785
785
|
CreditLineChanged(borrower?: PromiseOrValue<string> | null, oldCreditLimit?: null, newCreditLimit?: null): CreditLineChangedEventFilter;
|
|
786
|
-
|
|
786
|
+
'CreditLineClosed(address,address,uint8)'(borrower?: PromiseOrValue<string> | null, by?: null, reasonCode?: null): CreditLineClosedEventFilter;
|
|
787
787
|
CreditLineClosed(borrower?: PromiseOrValue<string> | null, by?: null, reasonCode?: null): CreditLineClosedEventFilter;
|
|
788
|
-
|
|
788
|
+
'CreditLineExtended(address,uint256,uint256,address)'(borrower?: PromiseOrValue<string> | null, numOfPeriods?: null, remainingPeriods?: null, by?: null): CreditLineExtendedEventFilter;
|
|
789
789
|
CreditLineExtended(borrower?: PromiseOrValue<string> | null, numOfPeriods?: null, remainingPeriods?: null, by?: null): CreditLineExtendedEventFilter;
|
|
790
|
-
|
|
790
|
+
'DefaultTriggered(address,uint256,address)'(borrower?: PromiseOrValue<string> | null, losses?: null, by?: null): DefaultTriggeredEventFilter;
|
|
791
791
|
DefaultTriggered(borrower?: PromiseOrValue<string> | null, losses?: null, by?: null): DefaultTriggeredEventFilter;
|
|
792
|
-
|
|
792
|
+
'DrawdownMade(address,uint256,uint256)'(borrower?: PromiseOrValue<string> | null, borrowAmount?: null, netAmountToBorrower?: null): DrawdownMadeEventFilter;
|
|
793
793
|
DrawdownMade(borrower?: PromiseOrValue<string> | null, borrowAmount?: null, netAmountToBorrower?: null): DrawdownMadeEventFilter;
|
|
794
|
-
|
|
794
|
+
'DrawdownMadeWithReceivable(address,uint256,uint256,address,uint256)'(borrower?: PromiseOrValue<string> | null, borrowAmount?: null, netAmountToBorrower?: null, receivableAsset?: null, receivableParam?: null): DrawdownMadeWithReceivableEventFilter;
|
|
795
795
|
DrawdownMadeWithReceivable(borrower?: PromiseOrValue<string> | null, borrowAmount?: null, netAmountToBorrower?: null, receivableAsset?: null, receivableParam?: null): DrawdownMadeWithReceivableEventFilter;
|
|
796
|
-
|
|
796
|
+
'ExtraFundsDispersed(address,uint256)'(receiver?: PromiseOrValue<string> | null, amount?: null): ExtraFundsDispersedEventFilter;
|
|
797
797
|
ExtraFundsDispersed(receiver?: PromiseOrValue<string> | null, amount?: null): ExtraFundsDispersedEventFilter;
|
|
798
|
-
|
|
798
|
+
'Initialized(uint8)'(version?: null): InitializedEventFilter;
|
|
799
799
|
Initialized(version?: null): InitializedEventFilter;
|
|
800
|
-
|
|
800
|
+
'LiquidityDeposited(address,uint256,uint256)'(account?: PromiseOrValue<string> | null, assetAmount?: null, shareAmount?: null): LiquidityDepositedEventFilter;
|
|
801
801
|
LiquidityDeposited(account?: PromiseOrValue<string> | null, assetAmount?: null, shareAmount?: null): LiquidityDepositedEventFilter;
|
|
802
|
-
|
|
802
|
+
'LiquidityWithdrawn(address,uint256,uint256)'(account?: PromiseOrValue<string> | null, assetAmount?: null, shareAmount?: null): LiquidityWithdrawnEventFilter;
|
|
803
803
|
LiquidityWithdrawn(account?: PromiseOrValue<string> | null, assetAmount?: null, shareAmount?: null): LiquidityWithdrawnEventFilter;
|
|
804
|
-
|
|
804
|
+
'LossesDistributed(uint256,uint256)'(lossesDistributed?: null, updatedPoolValue?: null): LossesDistributedEventFilter;
|
|
805
805
|
LossesDistributed(lossesDistributed?: null, updatedPoolValue?: null): LossesDistributedEventFilter;
|
|
806
|
-
|
|
806
|
+
'PaymentInvalidated(bytes32)'(paymentIdHash?: null): PaymentInvalidatedEventFilter;
|
|
807
807
|
PaymentInvalidated(paymentIdHash?: null): PaymentInvalidatedEventFilter;
|
|
808
|
-
|
|
808
|
+
'PaymentMade(address,uint256,uint256,uint256,address)'(borrower?: PromiseOrValue<string> | null, amount?: null, totalDue?: null, unbilledPrincipal?: null, by?: null): PaymentMadeEventFilter;
|
|
809
809
|
PaymentMade(borrower?: PromiseOrValue<string> | null, amount?: null, totalDue?: null, unbilledPrincipal?: null, by?: null): PaymentMadeEventFilter;
|
|
810
|
-
|
|
810
|
+
'PoolConfigChanged(address,address)'(sender?: PromiseOrValue<string> | null, newPoolConfig?: null): PoolConfigChangedEventFilter;
|
|
811
811
|
PoolConfigChanged(sender?: PromiseOrValue<string> | null, newPoolConfig?: null): PoolConfigChangedEventFilter;
|
|
812
|
-
|
|
812
|
+
'PoolCoreDataChanged(address,address,address,address,address)'(sender?: PromiseOrValue<string> | null, underlyingToken?: null, poolToken?: null, humaConfig?: null, feeManager?: null): PoolCoreDataChangedEventFilter;
|
|
813
813
|
PoolCoreDataChanged(sender?: PromiseOrValue<string> | null, underlyingToken?: null, poolToken?: null, humaConfig?: null, feeManager?: null): PoolCoreDataChangedEventFilter;
|
|
814
|
-
|
|
814
|
+
'PoolDisabled(address)'(by?: PromiseOrValue<string> | null): PoolDisabledEventFilter;
|
|
815
815
|
PoolDisabled(by?: PromiseOrValue<string> | null): PoolDisabledEventFilter;
|
|
816
|
-
|
|
816
|
+
'PoolEnabled(address)'(by?: PromiseOrValue<string> | null): PoolEnabledEventFilter;
|
|
817
817
|
PoolEnabled(by?: PromiseOrValue<string> | null): PoolEnabledEventFilter;
|
|
818
|
-
|
|
818
|
+
'ReceivedPaymentProcessed(address,address,uint256,bytes32)'(sender?: PromiseOrValue<string> | null, borrower?: PromiseOrValue<string> | null, amount?: null, paymentIdHash?: null): ReceivedPaymentProcessedEventFilter;
|
|
819
819
|
ReceivedPaymentProcessed(sender?: PromiseOrValue<string> | null, borrower?: PromiseOrValue<string> | null, amount?: null, paymentIdHash?: null): ReceivedPaymentProcessedEventFilter;
|
|
820
|
-
|
|
820
|
+
'RemoveApprovedLender(address,address)'(lender?: PromiseOrValue<string> | null, by?: null): RemoveApprovedLenderEventFilter;
|
|
821
821
|
RemoveApprovedLender(lender?: PromiseOrValue<string> | null, by?: null): RemoveApprovedLenderEventFilter;
|
|
822
822
|
};
|
|
823
823
|
estimateGas: {
|
|
824
824
|
addApprovedLender(lender: PromiseOrValue<string>, overrides?: Overrides & {
|
|
825
825
|
from?: PromiseOrValue<string>;
|
|
826
826
|
}): Promise<BigNumber>;
|
|
827
|
-
|
|
827
|
+
'approveCredit(address,uint256,uint256,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
828
828
|
from?: PromiseOrValue<string>;
|
|
829
829
|
}): Promise<BigNumber>;
|
|
830
|
-
|
|
830
|
+
'approveCredit(address,uint256,uint256,uint256,uint256,address,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, receivableAsset: PromiseOrValue<string>, receivableParam: PromiseOrValue<BigNumberish>, receivableAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
831
831
|
from?: PromiseOrValue<string>;
|
|
832
832
|
}): Promise<BigNumber>;
|
|
833
833
|
changeCreditLine(borrower: PromiseOrValue<string>, newCreditLimit: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
@@ -912,10 +912,10 @@ export interface ReceivableFactoringPool extends BaseContract {
|
|
|
912
912
|
addApprovedLender(lender: PromiseOrValue<string>, overrides?: Overrides & {
|
|
913
913
|
from?: PromiseOrValue<string>;
|
|
914
914
|
}): Promise<PopulatedTransaction>;
|
|
915
|
-
|
|
915
|
+
'approveCredit(address,uint256,uint256,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
916
916
|
from?: PromiseOrValue<string>;
|
|
917
917
|
}): Promise<PopulatedTransaction>;
|
|
918
|
-
|
|
918
|
+
'approveCredit(address,uint256,uint256,uint256,uint256,address,uint256,uint256)'(borrower: PromiseOrValue<string>, creditLimit: PromiseOrValue<BigNumberish>, intervalInDays: PromiseOrValue<BigNumberish>, remainingPeriods: PromiseOrValue<BigNumberish>, aprInBps: PromiseOrValue<BigNumberish>, receivableAsset: PromiseOrValue<string>, receivableParam: PromiseOrValue<BigNumberish>, receivableAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
919
919
|
from?: PromiseOrValue<string>;
|
|
920
920
|
}): Promise<PopulatedTransaction>;
|
|
921
921
|
changeCreditLine(borrower: PromiseOrValue<string>, newCreditLimit: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|