PaymentsOptions
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:28
Properties
Section titled “Properties”accounts?
Section titled “accounts?”
optionalaccounts?: (args) => readonly [bigint,bigint,bigint,bigint]
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:29
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, `0x${string}`] |
Returns
Section titled “Returns”readonly [bigint, bigint, bigint, bigint]
deposit?
Section titled “deposit?”
optionaldeposit?: (args) => readonly []
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:30
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, `0x${string}`, bigint] |
Returns
Section titled “Returns”readonly []
depositWithPermit?
Section titled “depositWithPermit?”
optionaldepositWithPermit?: (args) => readonly []
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:44
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`] |
Returns
Section titled “Returns”readonly []
depositWithPermitAndApproveOperator?
Section titled “depositWithPermitAndApproveOperator?”
optionaldepositWithPermitAndApproveOperator?: (args) => readonly []
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:45
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint, bigint] |
Returns
Section titled “Returns”readonly []
getRail?
Section titled “getRail?”
optionalgetRail?: (args) => readonly [{commissionRateBps:bigint;endEpoch:bigint;from:`0x${string}`;lockupFixed:bigint;lockupPeriod:bigint;operator:`0x${string}`;paymentRate:bigint;serviceFeeRecipient:`0x${string}`;settledUpTo:bigint;to:`0x${string}`;token:`0x${string}`;validator:`0x${string}`; }]
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:33
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint] |
Returns
Section titled “Returns”readonly [{ commissionRateBps: bigint; endEpoch: bigint; from: `0x${string}`; lockupFixed: bigint; lockupPeriod: bigint; operator: `0x${string}`; paymentRate: bigint; serviceFeeRecipient: `0x${string}`; settledUpTo: bigint; to: `0x${string}`; token: `0x${string}`; validator: `0x${string}`; }]
getRailsForPayeeAndToken?
Section titled “getRailsForPayeeAndToken?”
optionalgetRailsForPayeeAndToken?: (args) => readonly [readonlyobject[],bigint,bigint]
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:37
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, `0x${string}`, bigint, bigint] |
Returns
Section titled “Returns”readonly [readonly object[], bigint, bigint]
getRailsForPayerAndToken?
Section titled “getRailsForPayerAndToken?”
optionalgetRailsForPayerAndToken?: (args) => readonly [readonlyobject[],bigint,bigint]
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:34
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, `0x${string}`, bigint, bigint] |
Returns
Section titled “Returns”readonly [readonly object[], bigint, bigint]
operatorApprovals?
Section titled “operatorApprovals?”
optionaloperatorApprovals?: (args) => readonly [boolean,bigint,bigint,bigint,bigint,bigint]
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:31
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, `0x${string}`, `0x${string}`] |
Returns
Section titled “Returns”readonly [boolean, bigint, bigint, bigint, bigint, bigint]
setOperatorApproval?
Section titled “setOperatorApproval?”
optionalsetOperatorApproval?: (args) => readonly []
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:32
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, `0x${string}`, boolean, bigint, bigint, bigint] |
Returns
Section titled “Returns”readonly []
settleRail?
Section titled “settleRail?”
optionalsettleRail?: (args) => readonly [bigint,bigint,bigint,bigint,bigint,string]
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:40
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint, bigint] |
Returns
Section titled “Returns”readonly [bigint, bigint, bigint, bigint, bigint, string]
settleTerminatedRailWithoutValidation?
Section titled “settleTerminatedRailWithoutValidation?”
optionalsettleTerminatedRailWithoutValidation?: (args) => readonly [bigint,bigint,bigint,bigint,bigint,string]
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:41
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint] |
Returns
Section titled “Returns”readonly [bigint, bigint, bigint, bigint, bigint, string]
withdraw?
Section titled “withdraw?”
optionalwithdraw?: (args) => readonly []
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:48
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, bigint] |
Returns
Section titled “Returns”readonly []
withdrawTo?
Section titled “withdrawTo?”
optionalwithdrawTo?: (args) => readonly []
Defined in: packages/synapse-core/src/mocks/jsonrpc/payments.ts:49
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, `0x${string}`, bigint] |
Returns
Section titled “Returns”readonly []