@sentio/sdk 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/aptos/aptos-processor.d.ts +0 -2
- package/lib/aptos/aptos-processor.js +6 -40
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/index.d.ts +3 -2
- package/lib/aptos/index.js +5 -1
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos/network.d.ts +3 -1
- package/lib/aptos/network.js +8 -3
- package/lib/aptos/network.js.map +1 -1
- package/lib/aptos/types.d.ts +13 -2
- package/lib/aptos/types.js +64 -2
- package/lib/aptos/types.js.map +1 -1
- package/lib/aptos-codegen/codegen.js +1 -2
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/cli/cli.js +5 -5
- package/lib/cli/cli.js.map +1 -1
- package/lib/cli/commands/run-create.js +31 -11
- package/lib/cli/commands/run-create.js.map +1 -1
- package/lib/cli/commands/run-login.js +1 -1
- package/lib/cli/commands/run-login.js.map +1 -1
- package/lib/cli/config.d.ts +0 -1
- package/lib/cli/config.js.map +1 -1
- package/lib/tests/souffl3.js +5 -7
- package/lib/tests/souffl3.js.map +1 -1
- package/package.json +2 -2
- package/src/aptos/aptos-processor.ts +7 -50
- package/src/aptos/index.ts +3 -2
- package/src/aptos/network.ts +6 -1
- package/src/aptos/types.ts +84 -2
- package/src/aptos-codegen/codegen.ts +2 -3
- package/src/cli/cli.ts +5 -5
- package/src/cli/commands/run-create.ts +33 -11
- package/src/cli/commands/run-login.ts +1 -1
- package/src/cli/config.ts +1 -1
- package/src/tests/souffl3.ts +5 -7
- package/{template → templates/aptos}/.gitignore +0 -0
- package/templates/aptos/abis/aptos/souffle.json +389 -0
- package/{template → templates/aptos}/jest.config.js +0 -0
- package/templates/aptos/package.json +20 -0
- package/templates/aptos/sentio.yaml +1 -0
- package/templates/aptos/src/processor.test.ts +14 -0
- package/templates/aptos/src/processor.ts +13 -0
- package/{template → templates/aptos}/tsconfig.json +0 -0
- package/templates/evm/.gitignore +107 -0
- package/{template → templates/evm}/abis/evm/x2y2.json +0 -0
- package/templates/evm/jest.config.js +7 -0
- package/{template → templates/evm}/package.json +1 -1
- package/{template → templates/evm}/sentio.yaml +0 -0
- package/{template → templates/evm}/src/processor.test.ts +0 -0
- package/{template → templates/evm}/src/processor.ts +0 -0
- package/templates/evm/tsconfig.json +20 -0
- package/templates/raw/.gitignore +107 -0
- package/templates/raw/jest.config.js +7 -0
- package/templates/raw/package.json +20 -0
- package/templates/raw/sentio.yaml +3 -0
- package/templates/raw/src/processor.test.ts +14 -0
- package/templates/raw/src/processor.ts +0 -0
- package/templates/raw/tsconfig.json +20 -0
- package/templates/raw/yarn.lock +4095 -0
package/src/tests/souffl3.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { SouffleChefCampaign, CandyMachine } from './types/aptos/souffle'
|
2
2
|
import { token } from '../builtin/aptos/0x3'
|
3
3
|
import { voting } from '../builtin/aptos/0x1'
|
4
|
+
import { TYPE_REGISTRY } from '../aptos/types'
|
4
5
|
|
5
6
|
SouffleChefCampaign.bind({ startVersion: 3212312 })
|
6
7
|
.onEntryPullTokenV2((call: SouffleChefCampaign.PullTokenV2Payload, ctx) => {
|
@@ -20,13 +21,10 @@ SouffleChefCampaign.bind({ startVersion: 3212312 })
|
|
20
21
|
}
|
21
22
|
)
|
22
23
|
.onTransaction((txn, ctx) => {
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
ctx.meter.Counter('deposit_token_count').add(Number(event.data.amount))
|
28
|
-
}
|
29
|
-
}
|
24
|
+
const events = TYPE_REGISTRY.filterAndDecodeEvents<token.DepositEvent>('0x3::token::DepositEvent', txn.events)
|
25
|
+
for (const event of events) {
|
26
|
+
// const depositEventInstance = DEFAULT_TYPE_REGISTRY.decodeEvent(event) as DepositEventInstance
|
27
|
+
ctx.meter.Counter('deposit_token_count').add(event.data_typed.amount)
|
30
28
|
}
|
31
29
|
})
|
32
30
|
|
File without changes
|
@@ -0,0 +1,389 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"bytecode": "0xa11ceb0b050000000e010012021238034a940104de010605e401a202078604830708890b6006e90b0a10f30b2f0aa20c450be70c080cef0c93060d8213260ea81326000001010102010301040105010601070208000908010001000a08010001000b0f010001000c08010001060e07000215070008250700012b060004340600083507000836040008370700000d00010100000f02010100001003010100001104050100001206010100001307010100052c090400022d0b0100062e0d0e00012f0f0c00083009010002310110000832121300081014010001331605000338180101000139091900043a1a1b00073b1d010100063c1e0100083d1f2000083e212200083f07010008402320000841242200084225260008432701000244290100030a0f0a121c02060c050002060c080413060c050804080408040804080408040303030a010503030a08040a0a020a0804030105010c04060c050804030a060c05050804080403030a08040a0a020a080402070b000109000c01060c0109000207080505020c08070106080401060a0202060c0a02010805020c080601060a0101080606060c080408040804030a0102060b030109000c01060807110808080408090a02030303060b020109000c080a080b0809080608040804080b070b0101090003060c0503010808010608080103010201070a0900020708040a020d060c08040804080403080405030308060a08040a0a020a080401080b03060c080b0301080903050804080402080b0303060c08090301080a02060c080a02060b000109000c02060805050c43616e64794d616368696e65076163636f756e740361636c04636f696e0467756964067369676e657206737472696e6706766563746f7205746f6b656e0641434c426f7807436f756e7465720850726f7065727479125265736f757263654163636f756e74436170076164645f61636c06537472696e67146372656174655f63616e64795f6d616368696e65116372656174655f636f6c6c656374696f6e1b6765745f7265736f757263655f6163636f756e745f7369676e65720a70756c6c5f746f6b656e157570646174655f746f6b656e5f70726f706572747903626f780341434c07636f756e7465720570617965650a636f6c6c656374696f6e0f746f6b656e5f626173655f6e616d650b6465736372697074696f6e076d6178696d756d136d6178696d756d5f7065725f61646472657373037572690b7370656369616c5f757269076d6f645f6e756d0e6d75746174655f73657474696e6715726f79616c74795f70617965655f616464726573731a726f79616c74795f706f696e74735f64656e6f6d696e61746f7218726f79616c74795f706f696e74735f6e756d657261746f7213746f6b656e5f6d75746174655f636f6e66696715546f6b656e4d75746162696c697479436f6e6669670d70726f70657274795f6b6579730f70726f70657274795f76616c7565730e70726f70657274795f74797065730e636f696e5f7065725f746f6b656e03636170105369676e65724361706162696c6974790a616464726573735f6f6603616464056279746573176372656174655f7265736f757263655f6163636f756e7416696e697469616c697a655f746f6b656e5f73746f726505656d7074791e6372656174655f746f6b656e5f6d75746162696c6974795f636f6e6669671d6372656174655f7369676e65725f776974685f6361706162696c697479044755494407546f6b656e496405546f6b656e0b546f6b656e446174614964087472616e736665720b6372656174655f677569640c6372656174696f6e5f6e756d07726576657273650b617070656e645f75746638106372656174655f746f6b656e646174610a6d696e745f746f6b656e176d75746174655f746f6b656e5f70726f70657274696573146372656174655f746f6b656e5f646174615f69640f6372656174655f746f6b656e5f69640e77697468647261775f746f6b656e0d6465706f7369745f746f6b656e0f6173736572745f636f6e7461696e734188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d8070000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000303080100000000000000126170746f733a3a6d657461646174615f76301b01010000000000000010454d41585f4d494e545f4245594f4e4400000201140805010201160302021217051808041908041a08041b031c031d08041e08041f03200a01210522032303240806260a0804270a0a02280a080429030302012a0807000a030a020a010a000104020003080d0b00110638000c030e0311063c000c020b0236000b01110702010104000c1b0a0011063b0120030605180a000e0111081411090c030c020a000b0339013f010e02110a0b00110b39003f00051a0b000102020104010311240b00110638000c130e0b110c0c140e130b010a020b030a040a090b0a0b060b070b080a0b0b0c0b0d0b0e0b140b0f0b100b110b1239023f020e130b020b040b050b090b0b110d02030000010315090b003d010c010b013701110e0c020b02020401040301020317e3010b0138000c0c0e0c11063d020c0b0a0b37021406000000000000000022030e05360a0011063b0320031405180a0006000000000000000039033f030a0011063c030c140a030a14370314160a0b37021425032e0b14010b0b010b00010700270a143703140a03160b143603150600000000000000000c080a080a0323033d05de010a000a0b3704140a0b37051438010a0b3706110c0c100e0c11100c040e04111106e803000000000000160c0a0a0a0a0b3707141906000000000000000022035a055f0a0b3708140c0505630a0b3709140c050b050c12401c00000000000000000c070a0a06000000000000000021036c05700d073130441c0584010a0a0600000000000000002203750584010a0a060a0000000000000019063000000000000000160c090d070b0933441c0b0a060a000000000000001a0c0a05700d0738020a0b370a140c110d110a0711130d120b0711130e0c0a020a110a0b370b140a0b370c140b120a0b370d140a0b370e140a0b370f140b100a0b3710140a0b3711140a0b37121411140c130e0c0b130601000000000000001115010e0c0e0c11060e0c11060a020a110600000000000000000601000000000000000a0b3710140a0b3711140a0b37121411160e0c11060a020b1111170c0e0b0e06010000000000000011180c0f0e0c0b0f06010000000000000011190c0d0a000b0d111a0b08060100000000000000160c0805380b0b010b00010205010402000328180a023d000c0a0b0a37000a001106111b0b00110638000c0b0e0b0b010b020b030b040b050b060b070b080b091116020000030002050100020002110209020802060207020202030204020a020b020c020e020f0210000a010a020a030a040a050a060a070a080a090a0a0a0b0a0c0a0d0a0e0a0f0a100a110a120a00",
|
4
|
+
"abi": {
|
5
|
+
"address": "0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807",
|
6
|
+
"name": "CandyMachine",
|
7
|
+
"friends": [],
|
8
|
+
"exposed_functions": [
|
9
|
+
{
|
10
|
+
"name": "add_acl",
|
11
|
+
"visibility": "public",
|
12
|
+
"is_entry": true,
|
13
|
+
"generic_type_params": [{ "constraints": [] }],
|
14
|
+
"params": ["&signer", "address"],
|
15
|
+
"return": []
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "create_candy_machine",
|
19
|
+
"visibility": "public",
|
20
|
+
"is_entry": true,
|
21
|
+
"generic_type_params": [{ "constraints": [] }],
|
22
|
+
"params": ["&signer", "0x1::string::String"],
|
23
|
+
"return": []
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"name": "create_collection",
|
27
|
+
"visibility": "public",
|
28
|
+
"is_entry": true,
|
29
|
+
"generic_type_params": [{ "constraints": [] }],
|
30
|
+
"params": [
|
31
|
+
"&signer",
|
32
|
+
"address",
|
33
|
+
"0x1::string::String",
|
34
|
+
"0x1::string::String",
|
35
|
+
"0x1::string::String",
|
36
|
+
"0x1::string::String",
|
37
|
+
"0x1::string::String",
|
38
|
+
"0x1::string::String",
|
39
|
+
"u64",
|
40
|
+
"u64",
|
41
|
+
"u64",
|
42
|
+
"vector<bool>",
|
43
|
+
"address",
|
44
|
+
"u64",
|
45
|
+
"u64",
|
46
|
+
"vector<0x1::string::String>",
|
47
|
+
"vector<vector<u8>>",
|
48
|
+
"vector<0x1::string::String>",
|
49
|
+
"u64"
|
50
|
+
],
|
51
|
+
"return": []
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"name": "pull_token",
|
55
|
+
"visibility": "public",
|
56
|
+
"is_entry": true,
|
57
|
+
"generic_type_params": [{ "constraints": [] }],
|
58
|
+
"params": ["&signer", "address", "0x1::string::String", "u64"],
|
59
|
+
"return": []
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"name": "update_token_property",
|
63
|
+
"visibility": "public",
|
64
|
+
"is_entry": true,
|
65
|
+
"generic_type_params": [{ "constraints": [] }],
|
66
|
+
"params": [
|
67
|
+
"&signer",
|
68
|
+
"address",
|
69
|
+
"address",
|
70
|
+
"0x1::string::String",
|
71
|
+
"0x1::string::String",
|
72
|
+
"u64",
|
73
|
+
"u64",
|
74
|
+
"vector<0x1::string::String>",
|
75
|
+
"vector<vector<u8>>",
|
76
|
+
"vector<0x1::string::String>"
|
77
|
+
],
|
78
|
+
"return": []
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"structs": [
|
82
|
+
{
|
83
|
+
"name": "ACLBox",
|
84
|
+
"is_native": false,
|
85
|
+
"abilities": ["key"],
|
86
|
+
"generic_type_params": [{ "constraints": [] }],
|
87
|
+
"fields": [{ "name": "box", "type": "0x1::acl::ACL" }]
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"name": "Counter",
|
91
|
+
"is_native": false,
|
92
|
+
"abilities": ["key"],
|
93
|
+
"generic_type_params": [{ "constraints": [] }],
|
94
|
+
"fields": [{ "name": "counter", "type": "u64" }]
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"name": "Property",
|
98
|
+
"is_native": false,
|
99
|
+
"abilities": ["copy", "drop", "store", "key"],
|
100
|
+
"generic_type_params": [{ "constraints": [] }],
|
101
|
+
"fields": [
|
102
|
+
{ "name": "payee", "type": "address" },
|
103
|
+
{ "name": "collection", "type": "0x1::string::String" },
|
104
|
+
{ "name": "token_base_name", "type": "0x1::string::String" },
|
105
|
+
{ "name": "description", "type": "0x1::string::String" },
|
106
|
+
{ "name": "maximum", "type": "u64" },
|
107
|
+
{ "name": "maximum_per_address", "type": "u64" },
|
108
|
+
{ "name": "uri", "type": "0x1::string::String" },
|
109
|
+
{ "name": "special_uri", "type": "0x1::string::String" },
|
110
|
+
{ "name": "mod_num", "type": "u64" },
|
111
|
+
{ "name": "mutate_setting", "type": "vector<bool>" },
|
112
|
+
{ "name": "royalty_payee_address", "type": "address" },
|
113
|
+
{ "name": "royalty_points_denominator", "type": "u64" },
|
114
|
+
{ "name": "royalty_points_numerator", "type": "u64" },
|
115
|
+
{ "name": "token_mutate_config", "type": "0x3::token::TokenMutabilityConfig" },
|
116
|
+
{ "name": "property_keys", "type": "vector<0x1::string::String>" },
|
117
|
+
{ "name": "property_values", "type": "vector<vector<u8>>" },
|
118
|
+
{ "name": "property_types", "type": "vector<0x1::string::String>" },
|
119
|
+
{ "name": "coin_per_token", "type": "u64" }
|
120
|
+
]
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"name": "ResourceAccountCap",
|
124
|
+
"is_native": false,
|
125
|
+
"abilities": ["key"],
|
126
|
+
"generic_type_params": [{ "constraints": [] }],
|
127
|
+
"fields": [{ "name": "cap", "type": "0x1::account::SignerCapability" }]
|
128
|
+
}
|
129
|
+
]
|
130
|
+
}
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"bytecode": "0xa11ceb0b050000000e01001a021a64037ec90204c70342058904c60507cf09a10b08f0146006d0155510a516b4010ad91791010bea180a0cf418ef150de32e340e972f280000010101020103010401050106010701080109010a020b020c000d0f010001000e0600000f0800001007000011080100010012080000130701000100140c010001001506000016080100010817070002270700092b040203010001052e040106010b3407000b410700014c06000b5107000b610400076e070200000000001800010100001902010100001a03010100001b04010100001c05010100001d06010100001e07010100001f0809010000200a0b010000210c01010000220c01010000230201010000240d0b010000250e010100064d100800094e1314020300024f1501000a50180b0100094f1a010203000b521f20000853211c000354222101000b552301000b562401000557260101060c1c2a010008582c2d0001592e2b000b5a100100095b012f020304015c103001060b5d3334000950350b020300025e0136000b1e370100015f3909000960353b02030002503c0b0004623e0101000a634001010008644101000b654220000b664329000b670e01000b684429000b694546000b6a4701000c6b4801000a6c184a01000a6d4b110100096d134c020300076f014e02040407704f0b020404074f5001020404074e511402040407604f3b02040402713c010007110f12111712190f1900110c11150b18250f281d191e251e311d1220121212241208111d28202812282611273f183130173117321933193419351936193719241903060c080a050004060c05080a0303060c0a080a0a0507060c050a050a080a0a080a0a030a0302060c0502060c080a12060c05080a080a080a080a080a03030a010503030a080a0a0a020a080a03010105010c030505080a010105060c0505080a030405060a05060a080a060a030a060c0505080a080a03030a080a0a0a020a080a030803070b070109000c01060c0109000208030b0601090002070b0c02090009010900010709010207080b0504070802070308030c01080302060a09000609000208030303070b0c0209000901090009010603080a0503030301080a0e010a080a0811060c070802080a050303030c030811080a01030305080a080a010811010a020106090005060c08110a080a0a0a020a080a06060c05080a080a030301080102070b0d010900090004070a080e03070b0c02050a080e080e02050a080e01080e03060c05080e020c08100106080a01060a0202060c0a02010b0c0209000901010b0d01090001080806070b0c0208030b0601090008030803070b0c0208030b060109000c080f01060a0101080f02060b0c0209000901090001080b06060c080a080a080a030a0102060b090109000c01060810040803060b06010900060b070109000c010609010206080b0515070b0c02050a080e05080e07080208030a02030303070b06010900070b07010900070b0c02050a080e0c08120811080e070a080e080f080a0811070b0401090003060c0503010201070a09000207080a0a020d060c080a080a080a03080a050303080f0a080a0a0a020a080a03060c0811030208110303060c080e0301081202060c081204060c05080e03060107080207030803030c02010302070a0900030109010f060802030b13020803030803060803080a05030c060303030306030703010b13020900090102060b13020900090106090003070b1302090009010900090102070b13020900090106090002060b000109000c13536f7566666c654368656643616d706169676e076163636f756e740361636c0362637304636f696e056576656e74067369676e65720a73696d706c655f6d617006737472696e67057461626c6506766563746f7205746f6b656e0f746f6b656e5f7472616e73666572730641434c426f780e4275726e456e6a6f794576656e74084275726e52756c650c436f6c6c656374696f6e496407436f756e7465720c4f666665725265636f7264730850726f70657274791150726f7065727479436f6e7461696e65720e50756c6c546f6b656e4576656e74125265736f757263654163636f756e7443617006537472696e67076164645f61636c136164645f6275726e5f746f6b656e5f72756c650d62617463685f6164645f61636c0e6275726e5f616e645f656e6a6f7905636c61696d146372656174655f63616e64795f6d616368696e65116372656174655f636f6c6c656374696f6e1b6765745f7265736f757263655f6163636f756e745f7369676e65720f6d696e745f7065726d697373696f6e0a70756c6c5f746f6b656e0d70756c6c5f746f6b656e5f76321672656d6f76655f6275726e5f746f6b656e5f72756c650a72756c655f636865636b157570646174655f746f6b656e5f70726f706572747903626f780341434c056f776e657209746f6b656e5f6964730b6275726e5f616d6f756e74055461626c6511746f74616c5f6275726e5f616d6f756e74116275726e5f6576656e745f68616e646c650b4576656e7448616e646c651770756c6c5f746f6b656e5f6576656e745f68616e646c650763726561746f720f636f6c6c656374696f6e5f6e616d6507636f756e746572077265636f72647307546f6b656e49640570617965650a636f6c6c656374696f6e0f746f6b656e5f626173655f6e616d650b6465736372697074696f6e076d6178696d756d136d6178696d756d5f7065725f61646472657373037572690e6d75746174655f73657474696e6715726f79616c74795f70617965655f616464726573731a726f79616c74795f706f696e74735f64656e6f6d696e61746f7218726f79616c74795f706f696e74735f6e756d657261746f7213746f6b656e5f6d75746174655f636f6e66696715546f6b656e4d75746162696c697479436f6e6669670d70726f70657274795f6b6579730f70726f70657274795f76616c7565730e70726f70657274795f74797065730e636f696e5f7065725f746f6b656e0b61636c5f636f6e74726f6c0761636c5f626f780b63757272656e745f69647809636f6e7461696e657208726563656976657203636170105369676e65724361706162696c6974790a616464726573735f6f660a626f72726f775f6d75740361646408636f6e7461696e730b546f6b656e446174614964146372656174655f746f6b656e5f646174615f6964047574663808746f5f6279746573196d75746174655f746f6b656e646174615f70726f7065727479046275726e0a656d69745f6576656e74056279746573176372656174655f7265736f757263655f6163636f756e7416696e697469616c697a655f746f6b656e5f73746f7265036e6577106e65775f6576656e745f68616e646c651e6372656174655f746f6b656e5f6d75746162696c6974795f636f6e66696705656d7074791d6372656174655f7369676e65725f776974685f6361706162696c69747906626f72726f7705546f6b656e087472616e7366657207726576657273650b617070656e645f75746638106372656174655f746f6b656e646174610a6d696e745f746f6b656e176d75746174655f746f6b656e5f70726f706572746965730f6372656174655f746f6b656e5f69640e77697468647261775f746f6b656e0d6465706f7369745f746f6b656e056f6666657208696e6465785f6f660672656d6f76650953696d706c654d6170066372656174650c636f6e7461696e735f6b65790f6173736572745f636f6e7461696e734188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d8070000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000303080500000000000000030802000000000000000308010000000000000003080300000000000000030804000000000000000a021817544f4b454e5f4255524e41424c455f42595f4f574e45520a020504626f6f6c126170746f733a3a6d657461646174615f76309f0105010000000000000010454d41585f4d494e545f4245594f4e440002000000000000001d45434f4c4c454354494f4e5f414c52454144595f5055424c495348454400030000000000000013454e4f5f4d494e545f5045524d495353494f4e0004000000000000001c454f464645525f5245434f5244535f4e4f545f5055424c495348454400050000000000000010454255524e5f52554c455f4552524f520000020126080b0102012805020205290a08032a0b0c020803032c032d0b0d0108012f0b0d010808030202300531080a0402013203050201330b0c02050a080e060213350536080a37080a38080a39033a033b080a3c0a013d053e033f0340080f420a080a430a0a02440a080a45034601470b000109004803070201490b0c0208030b060109000802014a050902014b0810071109110011061104110001040207090f160b00110e38000c050e05110e3c000c040e05110e0b0112030c030b0436000b033801360136020b0211100201010402020916300b00110e38000c070e07110e2a020c040b010b0212030c060a0410030e063802200313051c0a040f030a0644170a040f040a0606000000000000000038030a040f040b0638040c050a05140a03160b05150a041005140b03160b040f0515020201040207091b2f0e01411c0c030e0241080c060600000000000000000c070a070a0623030d052c0600000000000000000c080e020a074208140c050a080a0323031905270e010a08421c140c040a000b040a0538050b08060100000000000000160c0805140b07060100000000000000160c0705080b0001020301040202091d600a010e020e030e063806030a0b00010700270b0138000c110e0241080c0f0600000000000000000c0e0a0e0a0f23031705550e020a0e4208140c0d0e030a0e421c140c0c0e040a0e421c140c140e050a0e421e140c100e060a0e421e140c120a0d0a0c0a1411130c130e110c0a0b130c0907051114401c01000000000000000c08080c070b0a0b090b080e0738074021010000000000000007061114401c010000000000000011160a000b0d0b0c0b140b100b1211170b0e060100000000000000160c0e05120e11110e2a020c0b0b0b0f060b00110e1201380802040104010527310a01290503070b00010704270a012a050f070c040b040a00110e38090c020a022e41290c030a03066400000000000000240319051b0664000000000000000c030a03060000000000000000240320052c0a0245290c050a000a010b0511190b03060100000000000000170c03051b0b00010b020102050104002b210a00110e3b01200306051e0a000e01111a14111b0c030c020b000b0339013f010e02111c0e0240170000000000000000380a0600000000000000000e02380b0e02380c12022d0205200b00010206010402070932490b00110e38000c160e09111f0c170e16110e3b0020030d05110e16380d39003f000e16110e3c0036000c150e16110e0a0212030c140a150a140c130c120b122e0b13380e2003290b15010701270b150b140b010a020b030a040a070b080b060a090b0a0b0b0b0c0b170b0d0b0e0b0f0b100b11112139020601000000000000003903380f0e160b020b040b050b070b09112202070000010938090b003d010c010b01370311230c020b02020800000207093a170b0138000c060e06110e3d000c050e06110e0b0212030c030b0537000b0338100c040b04370137020b001125020901040502040507093d9b020a00110e0a020a033811030a0b00010703270b0238000c110e11110e3c000c0f0e11110e0a0312030c090b0f36000b0938010c0e0a0e370414060000000000000000220322054a0a00110e3b04200328052c0a0006000000000000000039043f040a00110e3c040c190a040a19370514160a0e3704142503420b19010b0e010b00010702270a193705140a04160b193605150a00110e290520035005540a00381212052d050a00110e2a050f070c100a100a010c060c050b052e0b06381320036405680a100a014029000000000000000038140b100a0138090c150600000000000000000c0b0a0b0a04230373058b020a000a0e3706140a0e37071438150a0e3708111f0c160a0e3709140c0d403f00000000000000000c0a0a0d06000000000000000021038a01058e010d0a3130443f05a2010a0d0600000000000000002203930105a2010a0d060a0000000000000019063000000000000000160c0c0d0a0b0c33443f0b0d060a000000000000001a0c0d058e010d0a38160a0e370a140c170d170b0a11280a0e370914060100000000000000160a0e3609150e110a030a170a0e370b140a0e370c140a0e370d140a0e370e140a0e370f140a0e3710140b160a0e3711140a0e3712140a0e37131411290c180e110b18060100000000000000112a010e110e11110e0e11110e0a030a170600000000000000000601000000000000000a0e3711140a0e3712140a0e371314112b0e11110e0a030b1711130c130b13060100000000000000112c0c140e110a14060100000000000000112d0c120a000b12112e0a000a010a14060100000000000000112f0a150b1444290b0b060100000000000000160c0b056e0b15010b0e010b00010e11110e2a020c080b080f190b0112083817020a01040502040507093d9b020a00110e0a020a033811030a0b00010703270b0238000c110e11110e3c000c0f0e11110e0a0312030c090b0f36000b0938010c0e0a0e370414060000000000000000220322054a0a00110e3b04200328052c0a0006000000000000000039043f040a00110e3c040c190a040a19370514160a0e3704142503420b19010b0e010b00010702270a193705140a04160b193605150e11110e290520035005540e11381212052d050e11110e2a050f070c100a100a010c060c050b052e0b06381320036405680a100a014029000000000000000038140b100a0138090c150600000000000000000c0b0a0b0a04230373058b020a000a0e3706140a0e37071438150a0e3708111f0c160a0e3709140c0d403f00000000000000000c0a0a0d06000000000000000021038a01058e010d0a3130443f05a2010a0d0600000000000000002203930105a2010a0d060a0000000000000019063000000000000000160c0c0d0a0b0c33443f0b0d060a000000000000001a0c0d058e010d0a38160a0e370a140c170d170b0a11280a0e370914060100000000000000160a0e3609150e110a030a170a0e370b140a0e370c140a0e370d140a0e370e140a0e370f140a0e3710140b160a0e3711140a0e3712140a0e37131411290c180e110b18060100000000000000112a010e110e11110e0e11110e0a030a170600000000000000000601000000000000000a0e3711140a0e3712140a0e371314112b0e11110e0a030b1711130c130b13060100000000000000112c0c140e110a14060100000000000000112d0c120e110b12112e0e110a010a14060100000000000000112f0a150b1444290b0b060100000000000000160c0b056e0b15010b0e010b00010e11110e2a020c080b080f190b0112083817020b0104020209494c0b00110e38000c090e09110e2a020c050b010b0212030c070a0510030e07380220031305160b0501020a050f040a0738040c060a06140a03250321053d0b06140c030a0510030e0738180c08010a050f030b083819010a050f040b07381a010a051005140b03170b050f0515020a06140a03170b06150a051005140b03170b050f0515020c00000202094d99010b0038000c0c0e0c110e2b020c040a03411e0c0f0600000000000000000c100600000000000000000c0b0a0b0a0f230313051f0b100a030a0b421e14160c100b0b060100000000000000160c0b050e0b100a0410051422032605300b03010b01010b02010b040109020600000000000000000c0b381b0c060a0b0a0f23033905650a010a0b4208140c0a0a020a0b421c140c090a030a0b421e140c0e0b0a0b0912030c070e060e07381c20035205560d060a07060000000000000000381d0d060e07381e0c120a12140b0e160b12150b0b060100000000000000160c0b05340b03010b01010b02010a04100341170c050600000000000000000c0b0a0b0a052303760595010a0410030a0b42170c080e060a08381f0c110a0410040b081438200c0d0b11140b0d1422038c010590010b040109020b0b060100000000000000160c0b05710b040108020d010402000952180a023d020c0a0b0a37020a00110e11380b00110e38000c0b0e0b0b010b020b030b040b050b060b070b080b09112b02070006110000020002010202020305000900060504000600060f06070612060206030604060606080609060a060c060d060e0204001101110211081109110a110b110c110d110e110f1110111111121113111411151116111711181100",
|
134
|
+
"abi": {
|
135
|
+
"address": "0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807",
|
136
|
+
"name": "SouffleChefCampaign",
|
137
|
+
"friends": [],
|
138
|
+
"exposed_functions": [
|
139
|
+
{
|
140
|
+
"name": "add_acl",
|
141
|
+
"visibility": "public",
|
142
|
+
"is_entry": true,
|
143
|
+
"generic_type_params": [{ "constraints": [] }],
|
144
|
+
"params": ["&signer", "0x1::string::String", "address"],
|
145
|
+
"return": []
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"name": "add_burn_token_rule",
|
149
|
+
"visibility": "public",
|
150
|
+
"is_entry": true,
|
151
|
+
"generic_type_params": [{ "constraints": [] }],
|
152
|
+
"params": ["&signer", "address", "0x1::string::String", "u64"],
|
153
|
+
"return": []
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"name": "batch_add_acl",
|
157
|
+
"visibility": "public",
|
158
|
+
"is_entry": true,
|
159
|
+
"generic_type_params": [{ "constraints": [] }],
|
160
|
+
"params": ["&signer", "vector<0x1::string::String>", "vector<address>"],
|
161
|
+
"return": []
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"name": "burn_and_enjoy",
|
165
|
+
"visibility": "public",
|
166
|
+
"is_entry": true,
|
167
|
+
"generic_type_params": [{ "constraints": [] }],
|
168
|
+
"params": [
|
169
|
+
"&signer",
|
170
|
+
"address",
|
171
|
+
"vector<address>",
|
172
|
+
"vector<0x1::string::String>",
|
173
|
+
"vector<0x1::string::String>",
|
174
|
+
"vector<u64>",
|
175
|
+
"vector<u64>"
|
176
|
+
],
|
177
|
+
"return": []
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"name": "claim",
|
181
|
+
"visibility": "public",
|
182
|
+
"is_entry": true,
|
183
|
+
"generic_type_params": [{ "constraints": [] }],
|
184
|
+
"params": ["&signer", "address"],
|
185
|
+
"return": []
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"name": "create_candy_machine",
|
189
|
+
"visibility": "public",
|
190
|
+
"is_entry": true,
|
191
|
+
"generic_type_params": [{ "constraints": [] }],
|
192
|
+
"params": ["&signer", "0x1::string::String"],
|
193
|
+
"return": []
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"name": "create_collection",
|
197
|
+
"visibility": "public",
|
198
|
+
"is_entry": true,
|
199
|
+
"generic_type_params": [{ "constraints": [] }],
|
200
|
+
"params": [
|
201
|
+
"&signer",
|
202
|
+
"address",
|
203
|
+
"0x1::string::String",
|
204
|
+
"0x1::string::String",
|
205
|
+
"0x1::string::String",
|
206
|
+
"0x1::string::String",
|
207
|
+
"0x1::string::String",
|
208
|
+
"u64",
|
209
|
+
"u64",
|
210
|
+
"vector<bool>",
|
211
|
+
"address",
|
212
|
+
"u64",
|
213
|
+
"u64",
|
214
|
+
"vector<0x1::string::String>",
|
215
|
+
"vector<vector<u8>>",
|
216
|
+
"vector<0x1::string::String>",
|
217
|
+
"u64",
|
218
|
+
"bool"
|
219
|
+
],
|
220
|
+
"return": []
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"name": "pull_token",
|
224
|
+
"visibility": "public",
|
225
|
+
"is_entry": true,
|
226
|
+
"generic_type_params": [{ "constraints": [] }],
|
227
|
+
"params": ["&signer", "address", "address", "0x1::string::String", "u64"],
|
228
|
+
"return": []
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"name": "pull_token_v2",
|
232
|
+
"visibility": "public",
|
233
|
+
"is_entry": true,
|
234
|
+
"generic_type_params": [{ "constraints": [] }],
|
235
|
+
"params": ["&signer", "address", "address", "0x1::string::String", "u64"],
|
236
|
+
"return": []
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"name": "remove_burn_token_rule",
|
240
|
+
"visibility": "public",
|
241
|
+
"is_entry": true,
|
242
|
+
"generic_type_params": [{ "constraints": [] }],
|
243
|
+
"params": ["&signer", "address", "0x1::string::String", "u64"],
|
244
|
+
"return": []
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"name": "update_token_property",
|
248
|
+
"visibility": "public",
|
249
|
+
"is_entry": true,
|
250
|
+
"generic_type_params": [{ "constraints": [] }],
|
251
|
+
"params": [
|
252
|
+
"&signer",
|
253
|
+
"address",
|
254
|
+
"address",
|
255
|
+
"0x1::string::String",
|
256
|
+
"0x1::string::String",
|
257
|
+
"u64",
|
258
|
+
"u64",
|
259
|
+
"vector<0x1::string::String>",
|
260
|
+
"vector<vector<u8>>",
|
261
|
+
"vector<0x1::string::String>"
|
262
|
+
],
|
263
|
+
"return": []
|
264
|
+
}
|
265
|
+
],
|
266
|
+
"structs": [
|
267
|
+
{
|
268
|
+
"name": "ACLBox",
|
269
|
+
"is_native": false,
|
270
|
+
"abilities": ["copy", "drop", "store", "key"],
|
271
|
+
"generic_type_params": [{ "constraints": [] }],
|
272
|
+
"fields": [{ "name": "box", "type": "0x1::acl::ACL" }]
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"name": "BurnEnjoyEvent",
|
276
|
+
"is_native": false,
|
277
|
+
"abilities": ["drop", "store"],
|
278
|
+
"generic_type_params": [],
|
279
|
+
"fields": [{ "name": "owner", "type": "address" }]
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"name": "BurnRule",
|
283
|
+
"is_native": false,
|
284
|
+
"abilities": ["key"],
|
285
|
+
"generic_type_params": [],
|
286
|
+
"fields": [
|
287
|
+
{
|
288
|
+
"name": "token_ids",
|
289
|
+
"type": "vector<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::CollectionId>"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"name": "burn_amount",
|
293
|
+
"type": "0x1::table::Table<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::CollectionId, u64>"
|
294
|
+
},
|
295
|
+
{ "name": "total_burn_amount", "type": "u64" },
|
296
|
+
{
|
297
|
+
"name": "burn_event_handle",
|
298
|
+
"type": "0x1::event::EventHandle<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::BurnEnjoyEvent>"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"name": "pull_token_event_handle",
|
302
|
+
"type": "0x1::event::EventHandle<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::PullTokenEvent>"
|
303
|
+
}
|
304
|
+
]
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"name": "CollectionId",
|
308
|
+
"is_native": false,
|
309
|
+
"abilities": ["copy", "drop", "store"],
|
310
|
+
"generic_type_params": [],
|
311
|
+
"fields": [
|
312
|
+
{ "name": "creator", "type": "address" },
|
313
|
+
{ "name": "collection_name", "type": "0x1::string::String" }
|
314
|
+
]
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"name": "Counter",
|
318
|
+
"is_native": false,
|
319
|
+
"abilities": ["key"],
|
320
|
+
"generic_type_params": [{ "constraints": [] }],
|
321
|
+
"fields": [{ "name": "counter", "type": "u64" }]
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"name": "OfferRecords",
|
325
|
+
"is_native": false,
|
326
|
+
"abilities": ["key"],
|
327
|
+
"generic_type_params": [],
|
328
|
+
"fields": [{ "name": "records", "type": "0x1::table::Table<address, vector<0x3::token::TokenId>>" }]
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"name": "Property",
|
332
|
+
"is_native": false,
|
333
|
+
"abilities": ["copy", "drop", "store"],
|
334
|
+
"generic_type_params": [{ "constraints": [] }],
|
335
|
+
"fields": [
|
336
|
+
{ "name": "payee", "type": "address" },
|
337
|
+
{ "name": "collection", "type": "0x1::string::String" },
|
338
|
+
{ "name": "token_base_name", "type": "0x1::string::String" },
|
339
|
+
{ "name": "description", "type": "0x1::string::String" },
|
340
|
+
{ "name": "maximum", "type": "u64" },
|
341
|
+
{ "name": "maximum_per_address", "type": "u64" },
|
342
|
+
{ "name": "uri", "type": "0x1::string::String" },
|
343
|
+
{ "name": "mutate_setting", "type": "vector<bool>" },
|
344
|
+
{ "name": "royalty_payee_address", "type": "address" },
|
345
|
+
{ "name": "royalty_points_denominator", "type": "u64" },
|
346
|
+
{ "name": "royalty_points_numerator", "type": "u64" },
|
347
|
+
{ "name": "token_mutate_config", "type": "0x3::token::TokenMutabilityConfig" },
|
348
|
+
{ "name": "property_keys", "type": "vector<0x1::string::String>" },
|
349
|
+
{ "name": "property_values", "type": "vector<vector<u8>>" },
|
350
|
+
{ "name": "property_types", "type": "vector<0x1::string::String>" },
|
351
|
+
{ "name": "coin_per_token", "type": "u64" },
|
352
|
+
{ "name": "acl_control", "type": "bool" },
|
353
|
+
{
|
354
|
+
"name": "acl_box",
|
355
|
+
"type": "0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::ACLBox<T0>"
|
356
|
+
},
|
357
|
+
{ "name": "current_idx", "type": "u64" }
|
358
|
+
]
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"name": "PropertyContainer",
|
362
|
+
"is_native": false,
|
363
|
+
"abilities": ["store", "key"],
|
364
|
+
"generic_type_params": [{ "constraints": [] }],
|
365
|
+
"fields": [
|
366
|
+
{
|
367
|
+
"name": "container",
|
368
|
+
"type": "0x1::table::Table<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::CollectionId, 0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::Property<T0>>"
|
369
|
+
}
|
370
|
+
]
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"name": "PullTokenEvent",
|
374
|
+
"is_native": false,
|
375
|
+
"abilities": ["drop", "store"],
|
376
|
+
"generic_type_params": [],
|
377
|
+
"fields": [{ "name": "receiver", "type": "address" }]
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"name": "ResourceAccountCap",
|
381
|
+
"is_native": false,
|
382
|
+
"abilities": ["key"],
|
383
|
+
"generic_type_params": [{ "constraints": [] }],
|
384
|
+
"fields": [{ "name": "cap", "type": "0x1::account::SignerCapability" }]
|
385
|
+
}
|
386
|
+
]
|
387
|
+
}
|
388
|
+
}
|
389
|
+
]
|
File without changes
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"name": "template-aptos",
|
3
|
+
"private": true,
|
4
|
+
"version": "1.0.0",
|
5
|
+
"scripts": {
|
6
|
+
"test": "jest",
|
7
|
+
"gen": "sentio gen",
|
8
|
+
"build": "sentio build",
|
9
|
+
"upload": "sentio upload"
|
10
|
+
},
|
11
|
+
"dependencies": {
|
12
|
+
"@sentio/sdk": "^1.0.0-development"
|
13
|
+
},
|
14
|
+
"devDependencies": {
|
15
|
+
"@types/jest": "^29.0.0",
|
16
|
+
"jest": "^29.0.0",
|
17
|
+
"ts-jest": "^29.0.0",
|
18
|
+
"typescript": "^4.7.2"
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
project: default
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { TestProcessorServer } from '@sentio/sdk/lib/testing'
|
2
|
+
|
3
|
+
describe('Test Processor', () => {
|
4
|
+
const service = new TestProcessorServer(() => require('./processor'))
|
5
|
+
|
6
|
+
beforeAll(async () => {
|
7
|
+
await service.start()
|
8
|
+
})
|
9
|
+
|
10
|
+
test('has config', async () => {
|
11
|
+
const config = await service.getConfig({})
|
12
|
+
expect(config.contractConfigs.length > 0)
|
13
|
+
})
|
14
|
+
})
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { SouffleChefCampaign, CandyMachine } from './types/aptos/souffle'
|
2
|
+
|
3
|
+
SouffleChefCampaign.bind()
|
4
|
+
.onEntryPullTokenV2((call, ctx) => {
|
5
|
+
ctx.meter.Counter('pulled').add(call.arguments_typed[3])
|
6
|
+
})
|
7
|
+
.onEventBurnEnjoyEvent((evt, ctx) => {
|
8
|
+
ctx.meter.Counter('burned').add(1)
|
9
|
+
})
|
10
|
+
|
11
|
+
CandyMachine.bind().onEntryPullToken((call, ctx) => {
|
12
|
+
ctx.meter.Counter('pulled').add(call.arguments_typed[2], { coin: call.type_arguments[0] })
|
13
|
+
})
|
File without changes
|
@@ -0,0 +1,107 @@
|
|
1
|
+
.idea
|
2
|
+
src/types
|
3
|
+
|
4
|
+
# Logs
|
5
|
+
logs
|
6
|
+
*.log
|
7
|
+
npm-debug.log*
|
8
|
+
yarn-debug.log*
|
9
|
+
yarn-error.log*
|
10
|
+
lerna-debug.log*
|
11
|
+
|
12
|
+
# Diagnostic reports (https://nodejs.org/api/report.html)
|
13
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
14
|
+
|
15
|
+
# Runtime data
|
16
|
+
pids
|
17
|
+
*.pid
|
18
|
+
*.seed
|
19
|
+
*.pid.lock
|
20
|
+
|
21
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
22
|
+
lib-cov
|
23
|
+
|
24
|
+
# Coverage directory used by tools like istanbul
|
25
|
+
coverage
|
26
|
+
*.lcov
|
27
|
+
|
28
|
+
# nyc test coverage
|
29
|
+
.nyc_output
|
30
|
+
|
31
|
+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
32
|
+
.grunt
|
33
|
+
|
34
|
+
# Bower dependency directory (https://bower.io/)
|
35
|
+
bower_components
|
36
|
+
|
37
|
+
# node-waf configuration
|
38
|
+
.lock-wscript
|
39
|
+
|
40
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
41
|
+
build/Release
|
42
|
+
|
43
|
+
# Dependency directories
|
44
|
+
node_modules/
|
45
|
+
jspm_packages/
|
46
|
+
|
47
|
+
# TypeScript v1 declaration files
|
48
|
+
typings/
|
49
|
+
|
50
|
+
# TypeScript cache
|
51
|
+
*.tsbuildinfo
|
52
|
+
|
53
|
+
# Optional npm cache directory
|
54
|
+
.npm
|
55
|
+
|
56
|
+
# Optional eslint cache
|
57
|
+
.eslintcache
|
58
|
+
|
59
|
+
# Microbundle cache
|
60
|
+
.rpt2_cache/
|
61
|
+
.rts2_cache_cjs/
|
62
|
+
.rts2_cache_es/
|
63
|
+
.rts2_cache_umd/
|
64
|
+
|
65
|
+
# Optional REPL history
|
66
|
+
.node_repl_history
|
67
|
+
|
68
|
+
# Output of 'npm pack'
|
69
|
+
*.tgz
|
70
|
+
|
71
|
+
# Yarn Integrity file
|
72
|
+
.yarn-integrity
|
73
|
+
|
74
|
+
# dotenv environment variables file
|
75
|
+
.env
|
76
|
+
.env.test
|
77
|
+
|
78
|
+
# parcel-bundler cache (https://parceljs.org/)
|
79
|
+
.cache
|
80
|
+
|
81
|
+
# Next.js build output
|
82
|
+
.next
|
83
|
+
|
84
|
+
# Nuxt.js build / generate output
|
85
|
+
.nuxt
|
86
|
+
dist
|
87
|
+
|
88
|
+
# Gatsby files
|
89
|
+
.cache/
|
90
|
+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
|
91
|
+
# https://nextjs.org/blog/next-9-1#public-directory-support
|
92
|
+
# public
|
93
|
+
|
94
|
+
# vuepress build output
|
95
|
+
.vuepress/dist
|
96
|
+
|
97
|
+
# Serverless directories
|
98
|
+
.serverless/
|
99
|
+
|
100
|
+
# FuseBox cache
|
101
|
+
.fusebox/
|
102
|
+
|
103
|
+
# DynamoDB Local files
|
104
|
+
.dynamodb/
|
105
|
+
|
106
|
+
# TernJS port file
|
107
|
+
.tern-port
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"alwaysStrict": true,
|
4
|
+
"sourceMap": true,
|
5
|
+
"target": "esnext",
|
6
|
+
"esModuleInterop": true,
|
7
|
+
"noImplicitReturns": true,
|
8
|
+
"noImplicitAny": true,
|
9
|
+
"module": "commonjs",
|
10
|
+
"moduleResolution": "node",
|
11
|
+
"strictNullChecks": true,
|
12
|
+
"stripInternal": true,
|
13
|
+
"noFallthroughCasesInSwitch": true,
|
14
|
+
"noEmitOnError": true,
|
15
|
+
"outDir": "dist",
|
16
|
+
"rootDir": "./src",
|
17
|
+
"skipLibCheck": true
|
18
|
+
},
|
19
|
+
"exclude": ["dist"]
|
20
|
+
}
|