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

feat: add SRC-16 Typed Structured Data #161

Merged
merged 9 commits into from
Jan 22, 2025

Conversation

CatspersCoffee
Copy link
Contributor

@CatspersCoffee CatspersCoffee commented Dec 4, 2024

Type of change

  • New Standard (SRC16)
  • Documentation
  • Example Implementations.

Changes

The following changes have been made:

  • Added SRC-16 standard for typed structured data hashing and signing.
  • Implemented core encoding functions for atomic, dynamic and reference types.
  • Added domain separator logic for cross-protocol signature safety.
  • Created comprehensive test suite for encoders (see: tests ).
  • Added example implementation with Mail struct for both SRC16Domain (Fuel) and EIP712Domain (Ethereum).
  • Included documentation on backwards compatability.

Notes

  • This standard enhances the Fuel ecosystem by providing a consistent way to handle structured data signing.
  • Compatible with existing EVM wallet infrastructure through domain type flexibility.
  • Designed to be extensible for future data types.
  • Test coverage includes both single value, dynamic array and fixed array encoding.

Related Issues

Closes #

Checklist

  • I have linked to any relevant issues.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation where relevant (API docs, the reference, and the Sway book).
    • If my change requires substantial documentation changes, I have requested support from the DevRel team
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added the necessary New Feature labels where relevant.
  • I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
  • I have requested a review from the relevant team or maintainers.
  • I have updated the changelog to reflect the changes on this PR.

@CatspersCoffee CatspersCoffee requested a review from a team as a code owner December 4, 2024 13:08
@fuel-cla-bot
Copy link

fuel-cla-bot bot commented Dec 4, 2024

Thanks for the contribution! Unfortunately we can't verify the commit author(s): Antony <b***@g***.com>. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, sign the Fuel Labs Contributor License Agreement and this Pull Request will be revalidated.

@fuel-cla-bot
Copy link

fuel-cla-bot bot commented Dec 4, 2024

Thanks for the contribution! Before we can merge this, we need @CatspersCoffee to sign the Fuel Labs Contributor License Agreement.

@SwayStar123
Copy link
Collaborator

Just giving you a heads up, we will be reviewing this standard in the following days, but Fuel is enacting a code freeze around christmas as many contributors will be on vacation etc. So this will likely not be merged until January as the earliest.

Copy link
Member

@bitzoic bitzoic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is amazing!

Just a few questions, primarily surrounding whether the existing encoder and hashing functionality in the std-lib and core are sufficent/can be integrated or if we need to introduce new traits and structs.

I'm also curious on how handling Fuel specific types would work. We've made the distinct choice to separate the Address and ContractId types as well as have AssetId.

docs/src/src-16-typed-structured-data.md Outdated Show resolved Hide resolved
standards/src/src16.sw Outdated Show resolved Hide resolved
standards/src/src16.sw Show resolved Hide resolved
standards/src/src16.sw Outdated Show resolved Hide resolved
examples/src16-typed-data/fuel_example/src/main.sw Outdated Show resolved Hide resolved
@bitzoic bitzoic requested a review from a team December 11, 2024 12:35
@bitzoic bitzoic added the New Standard Label used to filter for the introduction of a new standard label Dec 11, 2024
@bitzoic bitzoic added the SRC-16 Label used to filter for the standard issue label Dec 11, 2024
docs/src/src-16-typed-structured-data.md Outdated Show resolved Hide resolved
docs/src/src-16-typed-structured-data.md Show resolved Hide resolved
docs/src/src-16-typed-structured-data.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@SwayStar123 SwayStar123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest changing the pseudocode to follow sway code formatting guidelines, as this is specifically a Sway standard, but it is fine as it is aswell.

docs/src/src-16-typed-structured-data.md Show resolved Hide resolved
docs/src/src-16-typed-structured-data.md Show resolved Hide resolved
@K1-R1
Copy link
Member

K1-R1 commented Jan 9, 2025

Looking good to me; happy to approve once above comments are addressed and CI is passing

@CatspersCoffee
Copy link
Contributor Author

I suggest changing the pseudocode to follow sway code formatting guidelines, as this is specifically a Sway standard, but it is fine as it is aswell.

apart from the rust tags in the docs, could you point me to fiels where I have not used Sway pseudocode in examples? I may be missing something

bitzoic
bitzoic previously approved these changes Jan 21, 2025
@SwayStar123
Copy link
Collaborator

I suggest changing the pseudocode to follow sway code formatting guidelines, as this is specifically a Sway standard, but it is fine as it is aswell.

apart from the rust tags in the docs, could you point me to fiels where I have not used Sway pseudocode in examples? I may be missing something

I was referencing the definition of the functions
under
### Definition of hashStruct

ie hashStruct -> hash_struct etc.

Also the CI is failing, you need to fix those errors or else this PR cannot be merged

@bitzoic bitzoic merged commit a50375e into FuelLabs:master Jan 22, 2025
15 of 16 checks passed
bitzoic added a commit that referenced this pull request Jan 27, 2025
commit d6ee572
Merge: a50375e 5bda589
Author: SwayStar123 <[email protected]>
Date:   Mon Jan 27 15:51:16 2025 +0530

    Merge pull request #166 from FuelLabs/bitzoic-v0.66.6

    Update to use forc `v0.66.6` and fuel core `v0.40.0`

commit 5bda589
Author: bitzoic <[email protected]>
Date:   Fri Jan 24 12:14:43 2025 +0100

    Remove sway-lib-core import

commit 10d90f9
Author: bitzoic <[email protected]>
Date:   Fri Jan 24 12:10:20 2025 +0100

    Run formatter

commit 2def8e8
Author: bitzoic <[email protected]>
Date:   Thu Jan 23 10:29:48 2025 +0100

    Update CHANGELOG

commit 420fc98
Author: bitzoic <[email protected]>
Date:   Thu Jan 23 10:25:49 2025 +0100

    Update to use forc v0.66.6

commit a50375e
Author: Antony Burrows <[email protected]>
Date:   Wed Jan 22 22:19:03 2025 +1300

    feat: add SRC-16 Typed Structured Data (#161)

    * feat: add SRC-16 typed structured data standard

    * Add backwards compatibility for EIP712.

    * Add encoding for native Fuel types, add Fixed array encoding, adjust SRC16Domain fuel_example contract, Adjust types for domains. Update docs.

    * fix code block in Domain Separator Compatibility decion in doc.

    * address spell check, add notes on salt and verifying contract, add note on chian_id padding in docs.

    * Add spell check and formatting fixes to src-16 docs.

    * adjust typeOf in src-16 docs.

    * add custom spell check words.

commit ce56cde
Author: Cameron Carstens <[email protected]>
Date:   Mon Jan 20 14:36:19 2025 +0100

    Add SRC-15 to README (#165)

commit 3f6543f
Author: Cameron Carstens <[email protected]>
Date:   Sat Dec 14 08:51:30 2024 +0000

    Update master from v0.6.1 to v0.6.2 (#163)

    * Update from v0.6.1 to v0.6.2

    * Update CHANGELOG

    * Add PR #162

commit e7d3617
Author: Cameron Carstens <[email protected]>
Date:   Fri Dec 13 11:03:50 2024 +0000

    SRC-15; Offchain Metadata Standard (#159)

    * Create SRC-15 specifications

    * Create SRC-15 standard

    * Create SRC-15 examples

    * Add SRC-15 examples to CI

    * Update CHANGELOG

    * Run formatter

    * Fix markdown

    * Update custom words spellcheck

    * Remove sender and add nonce to SRC15 event

    * Update standards and examples with nonce

    * Resolve review comments

    * Add comment on restricting who may emit

    * Remove nonce from SRC-15 log

commit ccf84fd
Author: Call Delegation <[email protected]>
Date:   Thu Dec 12 07:27:52 2024 -0500

    docs: Add CI link check (#162)

    * add

    * r

    * r

commit fefbd93
Author: Cameron Carstens <[email protected]>
Date:   Mon Nov 25 23:07:09 2024 +0700

    Fix typo in SRC-7 inline docs (#160)

    * Fix typo in SRC-7 inline docs

    * Update CHANGELOG

commit c53ef03
Author: Cameron Carstens <[email protected]>
Date:   Mon Oct 28 19:16:59 2024 +0700

    Rename SRC-7 to Onchain Native Asset Metadata Standard (#157)

    * Update SRC-7 to Onchain Native Asset Metadata Standard

    * Add onchain to spellcheck

    * Update CHANGELOG

commit a3f87a4
Author: Cameron Carstens <[email protected]>
Date:   Mon Oct 7 13:15:10 2024 +0545

    Update abi names in standards docs (#154)

    * Update abi names in standards docs

    * Update CHANGELOG

commit 408d81a
Merge: 04a5248 55541de
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 17 11:45:29 2024 +0530

    Merge pull request #153 from FuelLabs/swaystar123/fix-set_src20_data-bug

    Actually write to storage in src20 multi asset example

commit 04a5248
Merge: ee95fad c8b5618
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 17 10:51:52 2024 +0530

    Merge pull request #152 from FuelLabs/add-src6-inline-doc-examples

    Add inline docs examples to SRC-6 abi

commit ee95fad
Merge: 29986f1 2a822da
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 17 10:51:28 2024 +0530

    Merge pull request #151 from FuelLabs/update-src-6-to-latest-src-20-specs

    Add required logging of SRC-20 to SRC-6 examples

commit 55541de
Author: SwayStar123 <[email protected]>
Date:   Mon Sep 16 11:51:57 2024 +0530

    add write to storage annotation

commit 607066a
Author: SwayStar123 <[email protected]>
Date:   Mon Sep 16 11:50:20 2024 +0530

    add changelog

commit 17809b0
Author: SwayStar123 <[email protected]>
Date:   Mon Sep 16 11:47:47 2024 +0530

    add sotrage writes to set_src20_data

commit c8b5618
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 18:01:19 2024 +0530

    move changelog

commit 2a822da
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 17:56:13 2024 +0530

    add write permission

commit 2ebb457
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 17:54:19 2024 +0530

    get(asset) for maps

commit 6948958
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 17:51:55 2024 +0530

    fmt

commit 731e5a2
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 17:51:18 2024 +0530

    resolve comments

commit 1718d5a
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:40:38 2024 +0530

    ujpdate changelog pr number

commit d467526
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:40:22 2024 +0530

    init

commit d9ad426
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:29:18 2024 +0530

    remove get from sasbv

commit 3263c4a
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:27:20 2024 +0530

    unwrap -> read

commit 90d748c
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:24:43 2024 +0530

    fmt 2

commit 6dc8a28
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:23:24 2024 +0530

    fix some get calls

commit 6ab90c3
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:20:03 2024 +0530

    fix import

commit 64dbef4
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:17:28 2024 +0530

    remove unused param from SetSRC20Data impl

commit 18d4842
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:12:18 2024 +0530

    init

commit 29986f1
Author: Cameron Carstens <[email protected]>
Date:   Mon Sep 9 14:37:47 2024 +0800

    Add helper functions to struct types and `Eq` implementations for all types (#149)

    * Add helper functions to struct types and Eq implementations

    * Add checks to enum types

    * Update CHANGELOG

commit ab52d73
Author: Cameron Carstens <[email protected]>
Date:   Wed Sep 4 10:15:04 2024 +0800

    Prepare for Sway-Standards `v0.6.1` release (#147)

    * Prepare for Sway-Standards v0.6.1 release

    * Update CHANGELOG

commit 5b501cf
Author: Cameron Carstens <[email protected]>
Date:   Mon Sep 2 11:13:31 2024 +0800

    Fix Sway Standards inline docs (#142)

    * Update sway standards inline docs

    * Update CHANGELOG

    * Fix typo

commit 7ce70c9
Author: Cameron Carstens <[email protected]>
Date:   Fri Aug 30 21:47:38 2024 +0800

    Remove metadata functions (#148)

commit 955061b
Author: Cameron Carstens <[email protected]>
Date:   Fri Aug 30 14:01:49 2024 +0800

    Add helper functions to SRC7 standard's `Metadata` (#144)

    * Add helper functions to SRC7 standard

    * Update CHANGELOG

commit d264041
Author: K1-R1 <[email protected]>
Date:   Fri Aug 30 06:58:25 2024 +0100

    docs: update src14 storage recommendation and general typos (#136)

    * chore: update to forc 0.63.1

    * chore: updated changelog

    * docs: update src14 and general typos

    * Apply PR review comments

    * Fix markdown

    * Update CHANGELOG

    * Improve CHANGELOG comment

    ---------

    Co-authored-by: bitzoic <[email protected]>

commit a477a91
Author: K1-R1 <[email protected]>
Date:   Fri Aug 30 06:41:26 2024 +0100

    chore: update to forc 0.63.3 (#135)

    * chore: update to forc 0.63.1

    * chore: updated changelog

    * Update to forc v0.63.3

    ---------

    Co-authored-by: bitzoic <[email protected]>

commit 0cbef85
Author: Cameron Carstens <[email protected]>
Date:   Tue Aug 27 13:38:25 2024 +0800

    Resolve warnings in examples (#137)

    * Resolve warnings

    * Update CHANGELOG

    * Run formatter

    * Remove cancel in progress from CI

    * Revert remove cancel in progress from CI

    * fix max_depositable and max_withdrawable examples

    ---------

    Co-authored-by: SwayStar123 <[email protected]>

commit bab74e4
Merge: 69217c2 94bc033
Author: SwayStar123 <[email protected]>
Date:   Tue Aug 27 08:19:21 2024 +0530

    Merge pull request #139 from FuelLabs/bitzoic-release-v0.6.0

    Prepare for v0.6.0 release

commit 94bc033
Author: bitzoic <[email protected]>
Date:   Mon Aug 26 21:29:41 2024 +0800

    Update CHANGELOG

commit 81c9e65
Author: bitzoic <[email protected]>
Date:   Mon Aug 26 21:28:23 2024 +0800

    Prepare for v0.6.0 release

commit 69217c2
Author: Cameron Carstens <[email protected]>
Date:   Mon Aug 26 21:03:38 2024 +0800

    Add event logging to SRC-20 and SRC-7 standards (#130)

    * Add event logging to SRC-20 and SRC-7 specification

    * Add event logging structs to SRC-20 and SRC-7

    * Update CHANGELOG

    * Add inline docs to SRC-20 events

    * Fix CI

    * Require that logs of metadata are emitted even with contants

    * Update standards with additional log and ordering

    * Update examples to follow new specs

    * Add custom word to spell checker

    * Run formatter

    * Fix markdown formatting

    * Resolve warnings in examples

    * Build CI with release

    * Store srv7 metadata to storage

    * Remove cancel in progress from CI

    * Update name for TotalSupplyEvent

    * Split examples into seperate workspace projects

commit 89e9882
Author: Cameron Carstens <[email protected]>
Date:   Fri Aug 23 18:08:00 2024 +0800

    Make the `SubId` an `Option` in SRC-3's `mint()` function  (#131)

    * Update specifications to change SRC-3 mint sub_id to an Option

    * Update SRC-3 standard for option in mint

    * Update examples

    * Udpate CHANGELOG

    * Run formatter

    * Fix spelling

commit 2f45270
Author: Cameron Carstens <[email protected]>
Date:   Tue Aug 6 10:51:32 2024 +0700

    Prepare master for v0.5.2 release (#126)

    * Prepare for v0.5.2 release

    * Update CHANGELOG

    * Update CHANGELOG formatting

commit d736ca6
Merge: ade6077 94b3978
Author: K1-R1 <[email protected]>
Date:   Thu Aug 1 19:13:53 2024 +0100

    Merge pull request #124 from FuelLabs/sophie/fix-warnings

commit 94b3978
Author: Sophie <[email protected]>
Date:   Wed Jul 31 11:33:31 2024 -0700

    Update changelog

commit 6f2b07c
Author: Sophie <[email protected]>
Date:   Thu Jul 25 10:34:28 2024 -0700

    remove for examples

commit e7e8dfa
Author: Sophie <[email protected]>
Date:   Thu Jul 25 10:28:50 2024 -0700

    chore: fix compiler warnings

commit ade6077
Author: IGI-111 <[email protected]>
Date:   Mon Jul 22 07:53:53 2024 +0200

    Use new namespace syntax for storage (#120)

commit 3acac2b
Author: Cameron Carstens <[email protected]>
Date:   Tue Jul 9 22:24:50 2024 +0800

    SRC-6 example contract does not update managed assets (#122)

    * Update SRC-6 example with decrementation of managed assets

    * Update CHANGELOG

    * Fix link on CHANGELOG.md

    * Update CHANGELOG to resolve markdown error with duplicate headers

    * Write to storage

commit b0e99a6
Merge: 9c85a02 babc929
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 19:56:47 2024 +0530

    Merge pull request #121 from FuelLabs/fixsrc6eg

    Fix vault standard examples

commit babc929
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 16:37:19 2024 +0530

    add  v0.5.1

commit b70a650
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 16:36:04 2024 +0530

    remove date

commit cb4dbab
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 16:32:05 2024 +0530

    add "unreleased" to changelog heads

commit 7edb337
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 16:27:51 2024 +0530

    move changelog to new empty changelog

commit 050977c
Author: SwayStar123 <[email protected]>
Date:   Tue Jul 2 14:38:33 2024 +0000

    add changelog

commit f0b5631
Author: SwayStar123 <[email protected]>
Date:   Tue Jul 2 14:32:46 2024 +0000

    fix vault reads

commit 9c85a02
Author: Cameron Carstens <[email protected]>
Date:   Thu Jun 27 19:34:29 2024 +0800

     Hotfix: Update Cargo.toml to v0.5.1 (#115)

    * Hotfix: Update Cargo.toml to v0.5.1

    * Udpate CHANGELOG
@bitzoic bitzoic mentioned this pull request Jan 27, 2025
bitzoic added a commit that referenced this pull request Jan 27, 2025
commit d6ee572
Merge: a50375e 5bda589
Author: SwayStar123 <[email protected]>
Date:   Mon Jan 27 15:51:16 2025 +0530

    Merge pull request #166 from FuelLabs/bitzoic-v0.66.6

    Update to use forc `v0.66.6` and fuel core `v0.40.0`

commit 5bda589
Author: bitzoic <[email protected]>
Date:   Fri Jan 24 12:14:43 2025 +0100

    Remove sway-lib-core import

commit 10d90f9
Author: bitzoic <[email protected]>
Date:   Fri Jan 24 12:10:20 2025 +0100

    Run formatter

commit 2def8e8
Author: bitzoic <[email protected]>
Date:   Thu Jan 23 10:29:48 2025 +0100

    Update CHANGELOG

commit 420fc98
Author: bitzoic <[email protected]>
Date:   Thu Jan 23 10:25:49 2025 +0100

    Update to use forc v0.66.6

commit a50375e
Author: Antony Burrows <[email protected]>
Date:   Wed Jan 22 22:19:03 2025 +1300

    feat: add SRC-16 Typed Structured Data (#161)

    * feat: add SRC-16 typed structured data standard

    * Add backwards compatibility for EIP712.

    * Add encoding for native Fuel types, add Fixed array encoding, adjust SRC16Domain fuel_example contract, Adjust types for domains. Update docs.

    * fix code block in Domain Separator Compatibility decion in doc.

    * address spell check, add notes on salt and verifying contract, add note on chian_id padding in docs.

    * Add spell check and formatting fixes to src-16 docs.

    * adjust typeOf in src-16 docs.

    * add custom spell check words.

commit ce56cde
Author: Cameron Carstens <[email protected]>
Date:   Mon Jan 20 14:36:19 2025 +0100

    Add SRC-15 to README (#165)

commit 3f6543f
Author: Cameron Carstens <[email protected]>
Date:   Sat Dec 14 08:51:30 2024 +0000

    Update master from v0.6.1 to v0.6.2 (#163)

    * Update from v0.6.1 to v0.6.2

    * Update CHANGELOG

    * Add PR #162

commit e7d3617
Author: Cameron Carstens <[email protected]>
Date:   Fri Dec 13 11:03:50 2024 +0000

    SRC-15; Offchain Metadata Standard (#159)

    * Create SRC-15 specifications

    * Create SRC-15 standard

    * Create SRC-15 examples

    * Add SRC-15 examples to CI

    * Update CHANGELOG

    * Run formatter

    * Fix markdown

    * Update custom words spellcheck

    * Remove sender and add nonce to SRC15 event

    * Update standards and examples with nonce

    * Resolve review comments

    * Add comment on restricting who may emit

    * Remove nonce from SRC-15 log

commit ccf84fd
Author: Call Delegation <[email protected]>
Date:   Thu Dec 12 07:27:52 2024 -0500

    docs: Add CI link check (#162)

    * add

    * r

    * r

commit fefbd93
Author: Cameron Carstens <[email protected]>
Date:   Mon Nov 25 23:07:09 2024 +0700

    Fix typo in SRC-7 inline docs (#160)

    * Fix typo in SRC-7 inline docs

    * Update CHANGELOG

commit c53ef03
Author: Cameron Carstens <[email protected]>
Date:   Mon Oct 28 19:16:59 2024 +0700

    Rename SRC-7 to Onchain Native Asset Metadata Standard (#157)

    * Update SRC-7 to Onchain Native Asset Metadata Standard

    * Add onchain to spellcheck

    * Update CHANGELOG

commit a3f87a4
Author: Cameron Carstens <[email protected]>
Date:   Mon Oct 7 13:15:10 2024 +0545

    Update abi names in standards docs (#154)

    * Update abi names in standards docs

    * Update CHANGELOG

commit 408d81a
Merge: 04a5248 55541de
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 17 11:45:29 2024 +0530

    Merge pull request #153 from FuelLabs/swaystar123/fix-set_src20_data-bug

    Actually write to storage in src20 multi asset example

commit 04a5248
Merge: ee95fad c8b5618
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 17 10:51:52 2024 +0530

    Merge pull request #152 from FuelLabs/add-src6-inline-doc-examples

    Add inline docs examples to SRC-6 abi

commit ee95fad
Merge: 29986f1 2a822da
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 17 10:51:28 2024 +0530

    Merge pull request #151 from FuelLabs/update-src-6-to-latest-src-20-specs

    Add required logging of SRC-20 to SRC-6 examples

commit 55541de
Author: SwayStar123 <[email protected]>
Date:   Mon Sep 16 11:51:57 2024 +0530

    add write to storage annotation

commit 607066a
Author: SwayStar123 <[email protected]>
Date:   Mon Sep 16 11:50:20 2024 +0530

    add changelog

commit 17809b0
Author: SwayStar123 <[email protected]>
Date:   Mon Sep 16 11:47:47 2024 +0530

    add sotrage writes to set_src20_data

commit c8b5618
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 18:01:19 2024 +0530

    move changelog

commit 2a822da
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 17:56:13 2024 +0530

    add write permission

commit 2ebb457
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 17:54:19 2024 +0530

    get(asset) for maps

commit 6948958
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 17:51:55 2024 +0530

    fmt

commit 731e5a2
Author: SwayStar123 <[email protected]>
Date:   Wed Sep 11 17:51:18 2024 +0530

    resolve comments

commit 1718d5a
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:40:38 2024 +0530

    ujpdate changelog pr number

commit d467526
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:40:22 2024 +0530

    init

commit d9ad426
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:29:18 2024 +0530

    remove get from sasbv

commit 3263c4a
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:27:20 2024 +0530

    unwrap -> read

commit 90d748c
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:24:43 2024 +0530

    fmt 2

commit 6dc8a28
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:23:24 2024 +0530

    fix some get calls

commit 6ab90c3
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:20:03 2024 +0530

    fix import

commit 64dbef4
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:17:28 2024 +0530

    remove unused param from SetSRC20Data impl

commit 18d4842
Author: SwayStar123 <[email protected]>
Date:   Tue Sep 10 11:12:18 2024 +0530

    init

commit 29986f1
Author: Cameron Carstens <[email protected]>
Date:   Mon Sep 9 14:37:47 2024 +0800

    Add helper functions to struct types and `Eq` implementations for all types (#149)

    * Add helper functions to struct types and Eq implementations

    * Add checks to enum types

    * Update CHANGELOG

commit ab52d73
Author: Cameron Carstens <[email protected]>
Date:   Wed Sep 4 10:15:04 2024 +0800

    Prepare for Sway-Standards `v0.6.1` release (#147)

    * Prepare for Sway-Standards v0.6.1 release

    * Update CHANGELOG

commit 5b501cf
Author: Cameron Carstens <[email protected]>
Date:   Mon Sep 2 11:13:31 2024 +0800

    Fix Sway Standards inline docs (#142)

    * Update sway standards inline docs

    * Update CHANGELOG

    * Fix typo

commit 7ce70c9
Author: Cameron Carstens <[email protected]>
Date:   Fri Aug 30 21:47:38 2024 +0800

    Remove metadata functions (#148)

commit 955061b
Author: Cameron Carstens <[email protected]>
Date:   Fri Aug 30 14:01:49 2024 +0800

    Add helper functions to SRC7 standard's `Metadata` (#144)

    * Add helper functions to SRC7 standard

    * Update CHANGELOG

commit d264041
Author: K1-R1 <[email protected]>
Date:   Fri Aug 30 06:58:25 2024 +0100

    docs: update src14 storage recommendation and general typos (#136)

    * chore: update to forc 0.63.1

    * chore: updated changelog

    * docs: update src14 and general typos

    * Apply PR review comments

    * Fix markdown

    * Update CHANGELOG

    * Improve CHANGELOG comment

    ---------

    Co-authored-by: bitzoic <[email protected]>

commit a477a91
Author: K1-R1 <[email protected]>
Date:   Fri Aug 30 06:41:26 2024 +0100

    chore: update to forc 0.63.3 (#135)

    * chore: update to forc 0.63.1

    * chore: updated changelog

    * Update to forc v0.63.3

    ---------

    Co-authored-by: bitzoic <[email protected]>

commit 0cbef85
Author: Cameron Carstens <[email protected]>
Date:   Tue Aug 27 13:38:25 2024 +0800

    Resolve warnings in examples (#137)

    * Resolve warnings

    * Update CHANGELOG

    * Run formatter

    * Remove cancel in progress from CI

    * Revert remove cancel in progress from CI

    * fix max_depositable and max_withdrawable examples

    ---------

    Co-authored-by: SwayStar123 <[email protected]>

commit bab74e4
Merge: 69217c2 94bc033
Author: SwayStar123 <[email protected]>
Date:   Tue Aug 27 08:19:21 2024 +0530

    Merge pull request #139 from FuelLabs/bitzoic-release-v0.6.0

    Prepare for v0.6.0 release

commit 94bc033
Author: bitzoic <[email protected]>
Date:   Mon Aug 26 21:29:41 2024 +0800

    Update CHANGELOG

commit 81c9e65
Author: bitzoic <[email protected]>
Date:   Mon Aug 26 21:28:23 2024 +0800

    Prepare for v0.6.0 release

commit 69217c2
Author: Cameron Carstens <[email protected]>
Date:   Mon Aug 26 21:03:38 2024 +0800

    Add event logging to SRC-20 and SRC-7 standards (#130)

    * Add event logging to SRC-20 and SRC-7 specification

    * Add event logging structs to SRC-20 and SRC-7

    * Update CHANGELOG

    * Add inline docs to SRC-20 events

    * Fix CI

    * Require that logs of metadata are emitted even with contants

    * Update standards with additional log and ordering

    * Update examples to follow new specs

    * Add custom word to spell checker

    * Run formatter

    * Fix markdown formatting

    * Resolve warnings in examples

    * Build CI with release

    * Store srv7 metadata to storage

    * Remove cancel in progress from CI

    * Update name for TotalSupplyEvent

    * Split examples into seperate workspace projects

commit 89e9882
Author: Cameron Carstens <[email protected]>
Date:   Fri Aug 23 18:08:00 2024 +0800

    Make the `SubId` an `Option` in SRC-3's `mint()` function  (#131)

    * Update specifications to change SRC-3 mint sub_id to an Option

    * Update SRC-3 standard for option in mint

    * Update examples

    * Udpate CHANGELOG

    * Run formatter

    * Fix spelling

commit 2f45270
Author: Cameron Carstens <[email protected]>
Date:   Tue Aug 6 10:51:32 2024 +0700

    Prepare master for v0.5.2 release (#126)

    * Prepare for v0.5.2 release

    * Update CHANGELOG

    * Update CHANGELOG formatting

commit d736ca6
Merge: ade6077 94b3978
Author: K1-R1 <[email protected]>
Date:   Thu Aug 1 19:13:53 2024 +0100

    Merge pull request #124 from FuelLabs/sophie/fix-warnings

commit 94b3978
Author: Sophie <[email protected]>
Date:   Wed Jul 31 11:33:31 2024 -0700

    Update changelog

commit 6f2b07c
Author: Sophie <[email protected]>
Date:   Thu Jul 25 10:34:28 2024 -0700

    remove for examples

commit e7e8dfa
Author: Sophie <[email protected]>
Date:   Thu Jul 25 10:28:50 2024 -0700

    chore: fix compiler warnings

commit ade6077
Author: IGI-111 <[email protected]>
Date:   Mon Jul 22 07:53:53 2024 +0200

    Use new namespace syntax for storage (#120)

commit 3acac2b
Author: Cameron Carstens <[email protected]>
Date:   Tue Jul 9 22:24:50 2024 +0800

    SRC-6 example contract does not update managed assets (#122)

    * Update SRC-6 example with decrementation of managed assets

    * Update CHANGELOG

    * Fix link on CHANGELOG.md

    * Update CHANGELOG to resolve markdown error with duplicate headers

    * Write to storage

commit b0e99a6
Merge: 9c85a02 babc929
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 19:56:47 2024 +0530

    Merge pull request #121 from FuelLabs/fixsrc6eg

    Fix vault standard examples

commit babc929
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 16:37:19 2024 +0530

    add  v0.5.1

commit b70a650
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 16:36:04 2024 +0530

    remove date

commit cb4dbab
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 16:32:05 2024 +0530

    add "unreleased" to changelog heads

commit 7edb337
Author: SwayStar123 <[email protected]>
Date:   Mon Jul 8 16:27:51 2024 +0530

    move changelog to new empty changelog

commit 050977c
Author: SwayStar123 <[email protected]>
Date:   Tue Jul 2 14:38:33 2024 +0000

    add changelog

commit f0b5631
Author: SwayStar123 <[email protected]>
Date:   Tue Jul 2 14:32:46 2024 +0000

    fix vault reads

commit 9c85a02
Author: Cameron Carstens <[email protected]>
Date:   Thu Jun 27 19:34:29 2024 +0800

     Hotfix: Update Cargo.toml to v0.5.1 (#115)

    * Hotfix: Update Cargo.toml to v0.5.1

    * Udpate CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:signed New Standard Label used to filter for the introduction of a new standard SRC-16 Label used to filter for the standard issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants