Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explicit enum ABI #1113

Merged
merged 1 commit into from
Jun 16, 2023
Merged

explicit enum ABI #1113

merged 1 commit into from
Jun 16, 2023

Conversation

andrei-marinica
Copy link
Contributor

Sample output:

"OperationCompletionStatus": {
            "type": "explicit-enum",
            "variants": [
                {
                    "docs": [
                        "indicates that operation was completed"
                    ],
                    "name": "completed"
                },
                {
                    "docs": [
                        "indicates that operation was interrupted prematurely, due to low gas"
                    ],
                    "name": "interrupted"
                }
            ]
        },

@github-actions
Copy link

Contract comparison - from 95ebfd5 to c1452c1

Path                                                                                             size                  has-allocator                     has-format
mx-sdk-rs/contracts/benchmarks
- send-tx-repeat/send-tx-repeat.wasm 902 No No
- str-repeat/str-repeat.wasm 2189 No No
mx-sdk-rs/contracts/benchmarks/mappers
- linked-list-repeat/linked-list-repeat.wasm 7397 No No
- map-repeat/map-repeat.wasm 8343 No No
- queue-repeat/queue-repeat.wasm 6674 No No
- set-repeat/set-repeat.wasm 8108 No No
- single-value-repeat/single-value-repeat.wasm 5137 No No
- vec-repeat/vec-repeat.wasm 5941 No No
mx-sdk-rs/contracts/core
- price-aggregator/multiversx-price-aggregator-sc.wasm 20359 No No
- wegld-swap/multiversx-wegld-swap-sc.wasm 4430 No No
mx-sdk-rs/contracts/examples
- adder/adder.wasm 687 No No
- bonding-curve-contract/bonding-curve-contract.wasm 15584 No No
- crowdfunding-esdt/crowdfunding-esdt.wasm 3625 No No
- crypto-bubbles/crypto-bubbles.wasm 2351 No No
- crypto-zombies/cryptozombies.wasm 11178 No No
- digital-cash/digital-cash.wasm 7445 No No
- empty/empty.wasm 232 No No
- esdt-transfer-with-fee/esdt-transfer-with-fee.wasm 9099 No No
- factorial/factorial.wasm 567 No No
- fractional-nfts/fractional-nfts.wasm 8783 No No
- lottery-esdt/lottery-esdt.wasm 11397 No No
- multisig
- - multisig.wasm 15434 No No
- - multisig-full.wasm 17446 No No
- - multisig-view.wasm 7779 No No
- nft-minter/nft-minter.wasm 10078 No No
- nft-storage-prepay/nft-storage-prepay.wasm 2265 No No
- ping-pong-egld/ping-pong-egld.wasm 6745 No No
- proxy-pause/proxy-pause.wasm 5757 No No
- rewards-distribution/rewards-distribution.wasm 11304 No No
- seed-nft-minter/seed-nft-minter.wasm 15389 No No
- token-release/token-release.wasm 8492 No No
mx-sdk-rs/contracts/examples/crypto-kitties
- kitty-auction/kitty-auction.wasm 10998 No No
- kitty-genetic-alg/kitty-genetic-alg.wasm 3584 No No
- kitty-ownership/kitty-ownership.wasm 14061 No No
mx-sdk-rs/contracts/examples/order-book
- factory/order-book-factory.wasm 5071 No No
- pair/order-book-pair.wasm 16435 No No
mx-sdk-rs/contracts/feature-tests
- abi-tester
- - abi-tester.wasm 7739 No No
- - abi-tester-ev.wasm 758 No No
- alloc-features/alloc-features.wasm 22427 No Yes
- basic-features/basic-features.wasm 58433 No No
- big-float-features/big-float-features.wasm 5170 No No
- esdt-system-sc-mock/esdt-system-sc-mock.wasm 4465 No No
- formatted-message-features/formatted-message-features.wasm 4366 No No
- multi-contract-features
- - multi-contract-example-feature.wasm 678 No No
- - multi-contract-features.wasm 679 No No
- - multi-contract-features-view.wasm 1116 No No
- panic-message-features/panic-message-features.wasm 3175 No Yes
- payable-features/payable-features.wasm 5159 No No
- rust-snippets-generator-test/rust-snippets-generator-test.wasm 5799 No No
- rust-testing-framework-tester/rust-testing-framework-tester.wasm 8358 No No
- use-module
- - use-module.wasm 34072 No Yes
- - use-module-view.wasm 734 No No
mx-sdk-rs/contracts/feature-tests/composability
- forwarder/forwarder.wasm 32026 No No
- forwarder-raw/forwarder-raw.wasm 14461 No No
- local-esdt-and-nft/local-esdt-and-nft.wasm 11964 No No
- promises-features/promises-features.wasm 10462 No No
- proxy-test-first/proxy-test-first.wasm 6803 No No
- proxy-test-second/proxy-test-second.wasm 1950 No No
- recursive-caller/recursive-caller.wasm 5848 No No
- transfer-role-features/transfer-role-features.wasm 8758 No No
- vault/vault.wasm 7871 No No
mx-sdk-rs/contracts/feature-tests/composability/esdt-contract-pair
- first-contract/first-contract.wasm 2722 No No
- second-contract/second-contract.wasm 1356 No No
mx-sdk-rs/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback
- child/child.wasm 4982 No No
- parent/parent.wasm 1880 No No
mx-sdk-rs/contracts/feature-tests/erc-style-contracts
- crowdfunding-erc20/crowdfunding-erc20.wasm 6258 No No
- erc1155/erc1155.wasm 12926 No No
- erc1155-marketplace/erc1155-marketplace.wasm 12118 No No
- erc1155-user-mock/erc1155-user-mock.wasm 1448 No No
- erc20/erc20.wasm 2130 No No
- erc721/erc721.wasm 2483 No No
- lottery-erc20/lottery-erc20.wasm 13438 No No
mx-sdk-rs/contracts/feature-tests/legacy-examples
- crypto-bubbles-legacy/crypto-bubbles-legacy.wasm 6223 Yes No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants