* adds definitions and types according to ink v5 changes
* adds toV5 boilerplate code draft
* adds v5 flipper test contract code
* fix license dates
* adds test v5 toLatest test
* implements new scheme to determine event
* apply linter changes
* adds test result outputs
* change `EventRecord['topics'][0]` type to plain `Hash`
* adds testcases for decoding payload data of a ink!v4 and ink!v5 event
* changes `Abi.decodeEvent(data:Bytes)` method interface to `Abi.decodeEvent(record:EventRecord)` which includes the event and the topic for decoding.
* draft implementation with version metadata
* cleaner implementation of versioned Metadata by actually leveraging the `version` field included since v2 contract metadata
* trying to make linter happy
* makes `ContractMetadataSupported` in internal to `Abi` type and not exposing it externally.
* properly types unused parameter for tsc 🤷
* adds `@polkadot/types-support` dev dependency
* Update yarn.lock
* references `types-support` in `api-contract
* resolving change requests
* resolves linter warnings
* changes ContractMetadataV5 field to `u64` from `Text`
* adds contracts and contract metadata compiled with the most recent ink version
* implements decoding of anonymous events if possible
* removes done todo comments
27 lines
665 B
JSON
27 lines
665 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"baseUrl": "..",
|
|
"outDir": "./build",
|
|
"rootDir": "./src",
|
|
"emitDeclarationOnly": false,
|
|
"resolveJsonModule": true,
|
|
"noEmit": true
|
|
},
|
|
"include": [
|
|
"**/test/**/*.json",
|
|
"**/test/**/*.ts",
|
|
"**/test/**/*.wasm",
|
|
"**/checkTypes.manual.ts",
|
|
"**/*.spec.ts",
|
|
"mock.ts"
|
|
],
|
|
"references": [
|
|
{ "path": "../api-augment/tsconfig.build.json" },
|
|
{ "path": "../api-contract/tsconfig.build.json" },
|
|
{ "path": "../api/tsconfig.build.json" },
|
|
{ "path": "../types-support/tsconfig.build.json" },
|
|
{ "path": "../types/tsconfig.build.json" }
|
|
]
|
|
}
|