@wireio/opp-solidity-models 1.0.6 → 1.0.8
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/README.md +8 -2
- package/contracts/sysio/opp/attestations/Attestations.sol +19 -65
- package/index.d.ts +4 -0
- package/index.d.ts.map +1 -0
- package/index.js +4 -0
- package/index.ts +5 -0
- package/package.json +12 -4
- package/sysio/opp/attestations/attestations.d.ts +311 -0
- package/sysio/opp/attestations/attestations.d.ts.map +1 -0
- package/sysio/opp/attestations/attestations.js +616 -0
- package/sysio/opp/attestations/attestations.ts +826 -0
- package/sysio/opp/opp.d.ts +218 -0
- package/sysio/opp/opp.d.ts.map +1 -0
- package/sysio/opp/opp.js +451 -0
- package/sysio/opp/opp.ts +625 -0
- package/sysio/opp/types/types.d.ts +483 -0
- package/sysio/opp/types/types.d.ts.map +1 -0
- package/sysio/opp/types/types.js +666 -0
- package/sysio/opp/types/types.ts +747 -0
- package/index.mjs +0 -2
package/README.md
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
# @wireio/opp-solidity-models
|
|
2
2
|
|
|
3
|
-
Auto-generated protobuf Solidity contracts.
|
|
3
|
+
Auto-generated protobuf Solidity contracts and TypeScript types.
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
Import contracts from `@wireio/opp-solidity-models/contracts/`.
|
|
8
8
|
|
|
9
|
+
Import TypeScript types:
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { ... } from "@wireio/opp-solidity-models";
|
|
13
|
+
```
|
|
14
|
+
|
|
9
15
|
## Generated from
|
|
10
16
|
|
|
11
|
-
Proto source: `
|
|
17
|
+
Proto source: `file://../wire-sysio/libraries/opp/proto`
|
|
@@ -58,17 +58,12 @@ struct ReserveDisbursement {
|
|
|
58
58
|
ChainSignature[] signature;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
struct TimestampedMessage {
|
|
62
|
-
uint64 timestamp;
|
|
63
|
-
Message message;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
61
|
struct ProtocolState {
|
|
67
62
|
ChainId chainId;
|
|
68
63
|
bytes currentMessageId;
|
|
69
64
|
bytes processedMessageId;
|
|
70
|
-
|
|
71
|
-
Message[]
|
|
65
|
+
Message[] incomingMessages;
|
|
66
|
+
Message[] outgoingMessages;
|
|
72
67
|
}
|
|
73
68
|
|
|
74
69
|
library ChainReserveBalanceSheetCodec {
|
|
@@ -562,47 +557,6 @@ library ReserveDisbursementCodec {
|
|
|
562
557
|
}
|
|
563
558
|
}
|
|
564
559
|
|
|
565
|
-
library TimestampedMessageCodec {
|
|
566
|
-
|
|
567
|
-
function encode(TimestampedMessage memory timestampedMessage) internal pure returns (bytes memory) {
|
|
568
|
-
bytes memory buf = "";
|
|
569
|
-
|
|
570
|
-
// field 1: timestamp
|
|
571
|
-
buf = abi.encodePacked(buf, ProtobufRuntime._encode_key(0x8));
|
|
572
|
-
buf = abi.encodePacked(buf, ProtobufRuntime._encode_varint(timestampedMessage.timestamp));
|
|
573
|
-
|
|
574
|
-
// field 2: message
|
|
575
|
-
buf = abi.encodePacked(buf, ProtobufRuntime._encode_key(0x12));
|
|
576
|
-
bytes memory message_encoded = MessageCodec.encode(timestampedMessage.message);
|
|
577
|
-
buf = abi.encodePacked(buf, ProtobufRuntime._encode_varint(uint64(message_encoded.length)));
|
|
578
|
-
buf = abi.encodePacked(buf, message_encoded);
|
|
579
|
-
|
|
580
|
-
return buf;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
function decode(bytes memory data) internal pure returns (TimestampedMessage memory timestampedMessage) {
|
|
584
|
-
uint256 pos = 0;
|
|
585
|
-
uint256 end = data.length;
|
|
586
|
-
|
|
587
|
-
while (pos < end) {
|
|
588
|
-
uint64 tag;
|
|
589
|
-
(tag, pos) = ProtobufRuntime._decode_key(data, pos);
|
|
590
|
-
|
|
591
|
-
if (tag == 8) {
|
|
592
|
-
(timestampedMessage.timestamp, pos) = ProtobufRuntime._decode_varint(data, pos);
|
|
593
|
-
} else if (tag == 18) {
|
|
594
|
-
uint64 _len;
|
|
595
|
-
(_len, pos) = ProtobufRuntime._decode_varint(data, pos);
|
|
596
|
-
bytes memory _sub = ProtobufRuntime._slice(data, pos, pos + uint256(_len));
|
|
597
|
-
timestampedMessage.message = MessageCodec.decode(_sub);
|
|
598
|
-
pos += uint256(_len);
|
|
599
|
-
} else {
|
|
600
|
-
pos = ProtobufRuntime._skip_field(data, pos, tag & 0x07);
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
|
|
606
560
|
library ProtocolStateCodec {
|
|
607
561
|
|
|
608
562
|
function encode(ProtocolState memory protocolState) internal pure returns (bytes memory) {
|
|
@@ -622,18 +576,18 @@ library ProtocolStateCodec {
|
|
|
622
576
|
buf = abi.encodePacked(buf, ProtobufRuntime._encode_key(0x1a));
|
|
623
577
|
buf = abi.encodePacked(buf, ProtobufRuntime._encode_bytes(protocolState.processedMessageId));
|
|
624
578
|
|
|
625
|
-
// field
|
|
579
|
+
// field 10: incoming_messages
|
|
626
580
|
for (uint256 _i_incomingMessages = 0; _i_incomingMessages < protocolState.incomingMessages.length; _i_incomingMessages++) {
|
|
627
|
-
buf = abi.encodePacked(buf, ProtobufRuntime._encode_key(
|
|
628
|
-
bytes memory _elem =
|
|
581
|
+
buf = abi.encodePacked(buf, ProtobufRuntime._encode_key(0x52));
|
|
582
|
+
bytes memory _elem = MessageCodec.encode(protocolState.incomingMessages[_i_incomingMessages]);
|
|
629
583
|
buf = abi.encodePacked(buf, ProtobufRuntime._encode_varint(uint64(_elem.length)));
|
|
630
584
|
buf = abi.encodePacked(buf, _elem);
|
|
631
585
|
}
|
|
632
586
|
|
|
633
|
-
// field
|
|
634
|
-
for (uint256
|
|
635
|
-
buf = abi.encodePacked(buf, ProtobufRuntime._encode_key(
|
|
636
|
-
bytes memory _elem = MessageCodec.encode(protocolState.
|
|
587
|
+
// field 11: outgoing_messages
|
|
588
|
+
for (uint256 _i_outgoingMessages = 0; _i_outgoingMessages < protocolState.outgoingMessages.length; _i_outgoingMessages++) {
|
|
589
|
+
buf = abi.encodePacked(buf, ProtobufRuntime._encode_key(0x5a));
|
|
590
|
+
bytes memory _elem = MessageCodec.encode(protocolState.outgoingMessages[_i_outgoingMessages]);
|
|
637
591
|
buf = abi.encodePacked(buf, ProtobufRuntime._encode_varint(uint64(_elem.length)));
|
|
638
592
|
buf = abi.encodePacked(buf, _elem);
|
|
639
593
|
}
|
|
@@ -646,21 +600,21 @@ library ProtocolStateCodec {
|
|
|
646
600
|
uint256 end = data.length;
|
|
647
601
|
|
|
648
602
|
uint256 _count_incomingMessages = 0;
|
|
649
|
-
uint256
|
|
603
|
+
uint256 _count_outgoingMessages = 0;
|
|
650
604
|
{
|
|
651
605
|
uint256 _pos = 0;
|
|
652
606
|
while (_pos < end) {
|
|
653
607
|
uint64 _tag;
|
|
654
608
|
(_tag, _pos) = ProtobufRuntime._decode_key(data, _pos);
|
|
655
|
-
if (_tag ==
|
|
656
|
-
if (_tag ==
|
|
609
|
+
if (_tag == 82) { _count_incomingMessages++; }
|
|
610
|
+
if (_tag == 90) { _count_outgoingMessages++; }
|
|
657
611
|
_pos = ProtobufRuntime._skip_field(data, _pos, _tag & 0x07);
|
|
658
612
|
}
|
|
659
613
|
}
|
|
660
|
-
protocolState.incomingMessages = new
|
|
661
|
-
protocolState.
|
|
614
|
+
protocolState.incomingMessages = new Message[](_count_incomingMessages);
|
|
615
|
+
protocolState.outgoingMessages = new Message[](_count_outgoingMessages);
|
|
662
616
|
uint256 _idx_incomingMessages = 0;
|
|
663
|
-
uint256
|
|
617
|
+
uint256 _idx_outgoingMessages = 0;
|
|
664
618
|
|
|
665
619
|
while (pos < end) {
|
|
666
620
|
uint64 tag;
|
|
@@ -676,17 +630,17 @@ library ProtocolStateCodec {
|
|
|
676
630
|
(protocolState.currentMessageId, pos) = ProtobufRuntime._decode_bytes(data, pos);
|
|
677
631
|
} else if (tag == 26) {
|
|
678
632
|
(protocolState.processedMessageId, pos) = ProtobufRuntime._decode_bytes(data, pos);
|
|
679
|
-
} else if (tag ==
|
|
633
|
+
} else if (tag == 82) {
|
|
680
634
|
uint64 _len;
|
|
681
635
|
(_len, pos) = ProtobufRuntime._decode_varint(data, pos);
|
|
682
636
|
bytes memory _sub = ProtobufRuntime._slice(data, pos, pos + uint256(_len));
|
|
683
|
-
protocolState.incomingMessages[_idx_incomingMessages++] =
|
|
637
|
+
protocolState.incomingMessages[_idx_incomingMessages++] = MessageCodec.decode(_sub);
|
|
684
638
|
pos += uint256(_len);
|
|
685
|
-
} else if (tag ==
|
|
639
|
+
} else if (tag == 90) {
|
|
686
640
|
uint64 _len;
|
|
687
641
|
(_len, pos) = ProtobufRuntime._decode_varint(data, pos);
|
|
688
642
|
bytes memory _sub = ProtobufRuntime._slice(data, pos, pos + uint256(_len));
|
|
689
|
-
protocolState.
|
|
643
|
+
protocolState.outgoingMessages[_idx_outgoingMessages++] = MessageCodec.decode(_sub);
|
|
690
644
|
pos += uint256(_len);
|
|
691
645
|
} else {
|
|
692
646
|
pos = ProtobufRuntime._skip_field(data, pos, tag & 0x07);
|
package/index.d.ts
ADDED
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,cAAc,0CAA0C,CAAC;AACzD,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC"}
|
package/index.js
ADDED
package/index.ts
ADDED
package/package.json
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wireio/opp-solidity-models",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Auto-generated protobuf types for Solidity",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "index.
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"types": "index.d.ts",
|
|
7
8
|
"files": [
|
|
8
9
|
"contracts",
|
|
9
|
-
"
|
|
10
|
+
"**/*.ts",
|
|
11
|
+
"**/*.js",
|
|
12
|
+
"**/*.d.ts",
|
|
13
|
+
"**/*.d.ts.map",
|
|
14
|
+
"*.js",
|
|
10
15
|
"README.md"
|
|
11
|
-
]
|
|
16
|
+
],
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@protobuf-ts/runtime": "^2.9.4"
|
|
19
|
+
}}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
2
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
3
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
4
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
7
|
+
import { Message } from "../opp";
|
|
8
|
+
import { ChainId } from "../types/types";
|
|
9
|
+
import { ChainSignature } from "../types/types";
|
|
10
|
+
import { OperatorStatus } from "../types/types";
|
|
11
|
+
import { OperatorType } from "../types/types";
|
|
12
|
+
import { StakeStatus } from "../types/types";
|
|
13
|
+
import { ChainAddress } from "../types/types";
|
|
14
|
+
import { TokenAmount } from "../types/types";
|
|
15
|
+
import { ChainKind } from "../types/types";
|
|
16
|
+
/**
|
|
17
|
+
* Reserve balance snapshot for a given chain.
|
|
18
|
+
*
|
|
19
|
+
* @generated from protobuf message sysio.opp.attestations.ChainReserveBalanceSheet
|
|
20
|
+
*/
|
|
21
|
+
export interface ChainReserveBalanceSheet {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf field: sysio.opp.types.ChainKind kind = 1
|
|
24
|
+
*/
|
|
25
|
+
kind: ChainKind;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf field: repeated sysio.opp.types.TokenAmount amounts = 2
|
|
28
|
+
*/
|
|
29
|
+
amounts: TokenAmount[];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Pre-token stake attestation.
|
|
33
|
+
*
|
|
34
|
+
* @generated from protobuf message sysio.opp.attestations.PretokenStakeChange
|
|
35
|
+
*/
|
|
36
|
+
export interface PretokenStakeChange {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from protobuf field: sysio.opp.types.ChainAddress actor = 1
|
|
39
|
+
*/
|
|
40
|
+
actor?: ChainAddress;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from protobuf field: sysio.opp.types.TokenAmount amount = 2
|
|
43
|
+
*/
|
|
44
|
+
amount?: TokenAmount;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from protobuf field: int64 index_at_mint = 10
|
|
47
|
+
*/
|
|
48
|
+
indexAtMint: bigint;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from protobuf field: int64 index_at_burn = 11
|
|
51
|
+
*/
|
|
52
|
+
indexAtBurn: bigint;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Pre-token purchase attestation.
|
|
56
|
+
*
|
|
57
|
+
* @generated from protobuf message sysio.opp.attestations.PretokenPurchase
|
|
58
|
+
*/
|
|
59
|
+
export interface PretokenPurchase {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from protobuf field: sysio.opp.types.ChainAddress actor = 1
|
|
62
|
+
*/
|
|
63
|
+
actor?: ChainAddress;
|
|
64
|
+
/**
|
|
65
|
+
* @generated from protobuf field: sysio.opp.types.TokenAmount amount = 2
|
|
66
|
+
*/
|
|
67
|
+
amount?: TokenAmount;
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf field: int64 pretoken_count = 3
|
|
70
|
+
*/
|
|
71
|
+
pretokenCount: bigint;
|
|
72
|
+
/**
|
|
73
|
+
* @generated from protobuf field: int64 index_at_mint = 10
|
|
74
|
+
*/
|
|
75
|
+
indexAtMint: bigint;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Pre-token yield distribution.
|
|
79
|
+
*
|
|
80
|
+
* @generated from protobuf message sysio.opp.attestations.PretokenYield
|
|
81
|
+
*/
|
|
82
|
+
export interface PretokenYield {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from protobuf field: sysio.opp.types.ChainAddress actor = 1
|
|
85
|
+
*/
|
|
86
|
+
actor?: ChainAddress;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from protobuf field: sysio.opp.types.TokenAmount amount = 2
|
|
89
|
+
*/
|
|
90
|
+
amount?: TokenAmount;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from protobuf field: int64 index_at_mint = 3
|
|
93
|
+
*/
|
|
94
|
+
indexAtMint: bigint;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Stake status update.
|
|
98
|
+
*
|
|
99
|
+
* @generated from protobuf message sysio.opp.attestations.StakeUpdate
|
|
100
|
+
*/
|
|
101
|
+
export interface StakeUpdate {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from protobuf field: sysio.opp.types.ChainAddress actor = 1
|
|
104
|
+
*/
|
|
105
|
+
actor?: ChainAddress;
|
|
106
|
+
/**
|
|
107
|
+
* @generated from protobuf field: sysio.opp.types.StakeStatus status = 2
|
|
108
|
+
*/
|
|
109
|
+
status: StakeStatus;
|
|
110
|
+
/**
|
|
111
|
+
* @generated from protobuf field: sysio.opp.types.TokenAmount amount = 3
|
|
112
|
+
*/
|
|
113
|
+
amount?: TokenAmount;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Wire token purchase.
|
|
117
|
+
*
|
|
118
|
+
* @generated from protobuf message sysio.opp.attestations.WireTokenPurchase
|
|
119
|
+
*/
|
|
120
|
+
export interface WireTokenPurchase {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from protobuf field: sysio.opp.types.ChainAddress actor = 1
|
|
123
|
+
*/
|
|
124
|
+
actor?: ChainAddress;
|
|
125
|
+
/**
|
|
126
|
+
* @generated from protobuf field: repeated sysio.opp.types.TokenAmount amounts = 2
|
|
127
|
+
*/
|
|
128
|
+
amounts: TokenAmount[];
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Operator registration or deregistration.
|
|
132
|
+
*
|
|
133
|
+
* @generated from protobuf message sysio.opp.attestations.OperatorAction
|
|
134
|
+
*/
|
|
135
|
+
export interface OperatorAction {
|
|
136
|
+
/**
|
|
137
|
+
* @generated from protobuf field: sysio.opp.attestations.OperatorAction.ActionType action_type = 1
|
|
138
|
+
*/
|
|
139
|
+
actionType: OperatorAction_ActionType;
|
|
140
|
+
/**
|
|
141
|
+
* @generated from protobuf field: sysio.opp.types.ChainAddress actor = 2
|
|
142
|
+
*/
|
|
143
|
+
actor?: ChainAddress;
|
|
144
|
+
/**
|
|
145
|
+
* @generated from protobuf field: sysio.opp.types.OperatorType type = 3
|
|
146
|
+
*/
|
|
147
|
+
type: OperatorType;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from protobuf field: sysio.opp.types.OperatorStatus status = 4
|
|
150
|
+
*/
|
|
151
|
+
status: OperatorStatus;
|
|
152
|
+
/**
|
|
153
|
+
* @generated from protobuf field: sysio.opp.types.TokenAmount amount = 10
|
|
154
|
+
*/
|
|
155
|
+
amount?: TokenAmount;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @generated from protobuf enum sysio.opp.attestations.OperatorAction.ActionType
|
|
159
|
+
*/
|
|
160
|
+
export declare enum OperatorAction_ActionType {
|
|
161
|
+
/**
|
|
162
|
+
* @generated from protobuf enum value: ACTION_TYPE_UNKNOWN = 0;
|
|
163
|
+
*/
|
|
164
|
+
UNKNOWN = 0,
|
|
165
|
+
/**
|
|
166
|
+
* @generated from protobuf enum value: ACTION_TYPE_DEPOSIT = 1;
|
|
167
|
+
*/
|
|
168
|
+
DEPOSIT = 1,
|
|
169
|
+
/**
|
|
170
|
+
* @generated from protobuf enum value: ACTION_TYPE_WITHDRAW = 2;
|
|
171
|
+
*/
|
|
172
|
+
WITHDRAW = 2
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Reserve fund disbursement.
|
|
176
|
+
*
|
|
177
|
+
* @generated from protobuf message sysio.opp.attestations.ReserveDisbursement
|
|
178
|
+
*/
|
|
179
|
+
export interface ReserveDisbursement {
|
|
180
|
+
/**
|
|
181
|
+
* @generated from protobuf field: sysio.opp.types.ChainAddress actor = 1
|
|
182
|
+
*/
|
|
183
|
+
actor?: ChainAddress;
|
|
184
|
+
/**
|
|
185
|
+
* @generated from protobuf field: sysio.opp.types.TokenAmount amount = 2
|
|
186
|
+
*/
|
|
187
|
+
amount?: TokenAmount;
|
|
188
|
+
/**
|
|
189
|
+
* @generated from protobuf field: repeated sysio.opp.types.ChainSignature signature = 3
|
|
190
|
+
*/
|
|
191
|
+
signature: ChainSignature[];
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Protocol state tracking for a message chain on a given chain.
|
|
195
|
+
*
|
|
196
|
+
* @generated from protobuf message sysio.opp.attestations.ProtocolState
|
|
197
|
+
*/
|
|
198
|
+
export interface ProtocolState {
|
|
199
|
+
/**
|
|
200
|
+
* @generated from protobuf field: sysio.opp.types.ChainId chain_id = 1
|
|
201
|
+
*/
|
|
202
|
+
chainId?: ChainId;
|
|
203
|
+
/**
|
|
204
|
+
* @generated from protobuf field: bytes current_message_id = 2
|
|
205
|
+
*/
|
|
206
|
+
currentMessageId: Uint8Array;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from protobuf field: bytes processed_message_id = 3
|
|
209
|
+
*/
|
|
210
|
+
processedMessageId: Uint8Array;
|
|
211
|
+
/**
|
|
212
|
+
* @generated from protobuf field: repeated sysio.opp.Message incoming_messages = 10
|
|
213
|
+
*/
|
|
214
|
+
incomingMessages: Message[];
|
|
215
|
+
/**
|
|
216
|
+
* @generated from protobuf field: repeated sysio.opp.Message outgoing_messages = 11
|
|
217
|
+
*/
|
|
218
|
+
outgoingMessages: Message[];
|
|
219
|
+
}
|
|
220
|
+
declare class ChainReserveBalanceSheet$Type extends MessageType<ChainReserveBalanceSheet> {
|
|
221
|
+
constructor();
|
|
222
|
+
create(value?: PartialMessage<ChainReserveBalanceSheet>): ChainReserveBalanceSheet;
|
|
223
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ChainReserveBalanceSheet): ChainReserveBalanceSheet;
|
|
224
|
+
internalBinaryWrite(message: ChainReserveBalanceSheet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* @generated MessageType for protobuf message sysio.opp.attestations.ChainReserveBalanceSheet
|
|
228
|
+
*/
|
|
229
|
+
export declare const ChainReserveBalanceSheet: ChainReserveBalanceSheet$Type;
|
|
230
|
+
declare class PretokenStakeChange$Type extends MessageType<PretokenStakeChange> {
|
|
231
|
+
constructor();
|
|
232
|
+
create(value?: PartialMessage<PretokenStakeChange>): PretokenStakeChange;
|
|
233
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PretokenStakeChange): PretokenStakeChange;
|
|
234
|
+
internalBinaryWrite(message: PretokenStakeChange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* @generated MessageType for protobuf message sysio.opp.attestations.PretokenStakeChange
|
|
238
|
+
*/
|
|
239
|
+
export declare const PretokenStakeChange: PretokenStakeChange$Type;
|
|
240
|
+
declare class PretokenPurchase$Type extends MessageType<PretokenPurchase> {
|
|
241
|
+
constructor();
|
|
242
|
+
create(value?: PartialMessage<PretokenPurchase>): PretokenPurchase;
|
|
243
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PretokenPurchase): PretokenPurchase;
|
|
244
|
+
internalBinaryWrite(message: PretokenPurchase, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* @generated MessageType for protobuf message sysio.opp.attestations.PretokenPurchase
|
|
248
|
+
*/
|
|
249
|
+
export declare const PretokenPurchase: PretokenPurchase$Type;
|
|
250
|
+
declare class PretokenYield$Type extends MessageType<PretokenYield> {
|
|
251
|
+
constructor();
|
|
252
|
+
create(value?: PartialMessage<PretokenYield>): PretokenYield;
|
|
253
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PretokenYield): PretokenYield;
|
|
254
|
+
internalBinaryWrite(message: PretokenYield, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* @generated MessageType for protobuf message sysio.opp.attestations.PretokenYield
|
|
258
|
+
*/
|
|
259
|
+
export declare const PretokenYield: PretokenYield$Type;
|
|
260
|
+
declare class StakeUpdate$Type extends MessageType<StakeUpdate> {
|
|
261
|
+
constructor();
|
|
262
|
+
create(value?: PartialMessage<StakeUpdate>): StakeUpdate;
|
|
263
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StakeUpdate): StakeUpdate;
|
|
264
|
+
internalBinaryWrite(message: StakeUpdate, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* @generated MessageType for protobuf message sysio.opp.attestations.StakeUpdate
|
|
268
|
+
*/
|
|
269
|
+
export declare const StakeUpdate: StakeUpdate$Type;
|
|
270
|
+
declare class WireTokenPurchase$Type extends MessageType<WireTokenPurchase> {
|
|
271
|
+
constructor();
|
|
272
|
+
create(value?: PartialMessage<WireTokenPurchase>): WireTokenPurchase;
|
|
273
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WireTokenPurchase): WireTokenPurchase;
|
|
274
|
+
internalBinaryWrite(message: WireTokenPurchase, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* @generated MessageType for protobuf message sysio.opp.attestations.WireTokenPurchase
|
|
278
|
+
*/
|
|
279
|
+
export declare const WireTokenPurchase: WireTokenPurchase$Type;
|
|
280
|
+
declare class OperatorAction$Type extends MessageType<OperatorAction> {
|
|
281
|
+
constructor();
|
|
282
|
+
create(value?: PartialMessage<OperatorAction>): OperatorAction;
|
|
283
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OperatorAction): OperatorAction;
|
|
284
|
+
internalBinaryWrite(message: OperatorAction, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* @generated MessageType for protobuf message sysio.opp.attestations.OperatorAction
|
|
288
|
+
*/
|
|
289
|
+
export declare const OperatorAction: OperatorAction$Type;
|
|
290
|
+
declare class ReserveDisbursement$Type extends MessageType<ReserveDisbursement> {
|
|
291
|
+
constructor();
|
|
292
|
+
create(value?: PartialMessage<ReserveDisbursement>): ReserveDisbursement;
|
|
293
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReserveDisbursement): ReserveDisbursement;
|
|
294
|
+
internalBinaryWrite(message: ReserveDisbursement, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* @generated MessageType for protobuf message sysio.opp.attestations.ReserveDisbursement
|
|
298
|
+
*/
|
|
299
|
+
export declare const ReserveDisbursement: ReserveDisbursement$Type;
|
|
300
|
+
declare class ProtocolState$Type extends MessageType<ProtocolState> {
|
|
301
|
+
constructor();
|
|
302
|
+
create(value?: PartialMessage<ProtocolState>): ProtocolState;
|
|
303
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProtocolState): ProtocolState;
|
|
304
|
+
internalBinaryWrite(message: ProtocolState, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* @generated MessageType for protobuf message sysio.opp.attestations.ProtocolState
|
|
308
|
+
*/
|
|
309
|
+
export declare const ProtocolState: ProtocolState$Type;
|
|
310
|
+
export {};
|
|
311
|
+
//# sourceMappingURL=attestations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attestations.d.ts","sourceRoot":"","sources":["attestations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAK3C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,WAAW,EAAE,CAAC;CAC1B;AAKD;;;;GAIG;AACH,M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