LubanCore.sol
Manages preconfirmation requests, settles transactions, and handles the escrow system for the Taiyi protocol
Functions
batchSettleRequests
| Name | Type | Description |
|---|---|---|
preconfReqs | PreconfRequest[] | An array of preconfirmation requests to be settled |
settleRequest
| Name | Type | Description |
|---|---|---|
preconfReq | PreconfRequest | The PreconfRequest struct to be settled |
exhaust
| Name | Type | Description |
|---|---|---|
preconfReq | PreconfRequest | The PreconfRequest struct to be exhausted |
challengeRequests
| Name | Type | Description |
|---|---|---|
preconfReqs | PreconfRequest[] | An array of PreconfRequest structs to be challenged |
checkInclusion
| Type | Description | |
|---|---|---|
| bool | True if the PreconfRequest has been included, false otherwise | |
| Parameters: | ||
| Name | Type | Description |
| ------ | ------ | ------------- |
| preconfRequestHash | bytes32 | The hash of the PreconfRequest to check |
getPreconfRequestStatus
| Type | Description | |
|---|---|---|
PreconfRequestStatus | The current status of the PreconfRequest | |
| Parameters: | ||
| Name | Type | Description |
| ------ | ------ | ------------- |
preconferSignature | bytes32 | The signature of the PreconfRequest |
collectTip
| Name | Type | Description |
|---|---|---|
preconferSignature | bytes32 | The signature of the PreconfRequest for which to collect the tip |
