You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26-4Lines changed: 26 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,26 +9,48 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9
9
10
10
Description of the upcoming release here.
11
11
12
-
### Added Unreleased
12
+
### Added
13
13
14
14
- Something new here 1
15
15
- Something new here 2
16
16
17
-
### Changed Unreleased
17
+
### Changed
18
18
19
19
- Something changed here 1
20
20
- Something changed here 2
21
21
22
-
### Fixed Unreleased
22
+
### Fixed
23
23
24
24
- Some fix here 1
25
25
- Some fix here 2
26
26
27
-
#### Breaking Unreleased
27
+
#### Breaking
28
28
29
29
- Some breaking change here 1
30
30
- Some breaking change here 2
31
31
32
+
## [Version 0.6.1]
33
+
34
+
Description of the upcoming release here.
35
+
36
+
### Added v0.6.1
37
+
38
+
-[#149](https://github.com/FuelLabs/sway-standards/pull/149) Adds struct field getters, `new()`, and `Eq` implementations to SRC-10's `DepositMessage` and `MetadataMessage` types and SRC-11's `SecurityInformation` type.
39
+
-[#149](https://github.com/FuelLabs/sway-standards/pull/149) Adds `Eq` implementation to SRC-5's `AccessError` error.
40
+
-[#149](https://github.com/FuelLabs/sway-standards/pull/149) Adds check functions and `Eq` implementation to SRC-5's `State` type and SRC-10's `DepositType` type.
41
+
-[#149](https://github.com/FuelLabs/sway-standards/pull/149) Adds struct field getters, `new()`, `log()`, and `Eq` implementations to SRC-6's `Deposit`, and `Withdraw` types, SRC-20's `SetNameEvent`, `SetSymbolEvent`, `SetDecimalsEvent`, and `TotalSupplyEvent` events, and SRC-7's `SetMetadataEvent` event.
42
+
43
+
### Changed v0.6.1
44
+
45
+
-[#135](https://github.com/FuelLabs/sway-standards/pull/135) Updates standards, examples and CI to latest forc 0.63.3.
46
+
-[#147](https://github.com/FuelLabs/sway-standards/pull/147) Prepares for the v0.6.1 release.
47
+
48
+
### Fixed v0.6.1
49
+
50
+
-[#137](https://github.com/FuelLabs/sway-standards/pull/137) Resolves warnings for SRC-6, SRC-14, and SRC-5 standard examples.
51
+
-[#136](https://github.com/FuelLabs/sway-standards/pull/136) Fixes SRC14 to recommend namespacing all non-standardized storage variables under the SRC14 namespace, fixes typos, and improves markdown in docs and inline documentation.
52
+
-[#142](https://github.com/FuelLabs/sway-standards/pull/142) Fixes errors in inline documentation for SRC-10, SRC-12, SRC-14, SRC-20, SRC-3, SRC-5, SRC-7 standards.
Copy file name to clipboardExpand all lines: docs/src/src-12-contract-factory.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ There are no other standards that the SRC-12 requires compatibility.
62
62
63
63
## Security Considerations
64
64
65
-
This standard takes into consideration child contracts that are deployed with differentiating configurable values, however individual contract behaviors may be dependent on storage variables. As storage variables may change after the contract has been registered with the SRC-12 compliant contract, the standard suggests to check these values upon registration however it is not enforced.
65
+
This standard takes into consideration child contracts that are deployed with differentiating configurable values, however individual contract behaviours may be dependent on storage variables. As storage variables may change after the contract has been registered with the SRC-12 compliant contract, the standard suggests to check these values upon registration however it is not enforced.
Copy file name to clipboardExpand all lines: docs/src/src-13-soulbound-address.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,15 +25,15 @@ We must also ensure every `Address` on Fuel has its own Predicate. This can be g
25
25
### Definitions
26
26
27
27
-**Soulbound Address Predicate** - The resulting predicate which owns assets on behalf of an `Address`.
28
-
-**Soulbound Address** - The computed `Address` of the *Soulbound Asset Predicate*.
29
-
-**Soulbound Asset** - Any [Native Asset](https://docs.fuel.network/docs/sway/blockchain-development/native_assets) sent to the *Soulbound Address*.
28
+
-**Soulbound Address** - The computed `Address` of the _Soulbound Asset Predicate_.
29
+
-**Soulbound Asset** - Any [Native Asset](https://docs.fuel.network/docs/sway/blockchain-development/native_assets) sent to the _Soulbound Address_.
30
30
31
31
### Soulbound Address Predicate Specification
32
32
33
-
- The *Soulbound Address Predicate* SHALL never spend the assets sent to its computed predicate `Address` or *Soulbound Address*.
34
-
- The *Soulbound Address Predicate* SHALL encode an `Address` of which it represents the soulbound address.
33
+
- The _Soulbound Address Predicate_ SHALL never spend the assets sent to its computed predicate `Address` or _Soulbound Address_.
34
+
- The _Soulbound Address Predicate_ SHALL encode an `Address` of which it represents the soulbound address.
35
35
36
-
Below we define the *Soulbound Address Predicate* where `ADDRESS` MUST be replaced with the `Address` of which the *Soulbound Address Predicate* represents.
36
+
Below we define the _Soulbound Address Predicate_ where `ADDRESS` MUST be replaced with the `Address` of which the _Soulbound Address Predicate_ represents.
37
37
38
38
```sway
39
39
predicate;
@@ -50,9 +50,9 @@ fn main() -> bool {
50
50
51
51
### Soulbound Address
52
52
53
-
The *Soulbound Address* is the *Soulbound Address Predicate*'s predicate address. A predicate's address(the bytecode root) is defined [here](https://github.com/FuelLabs/fuel-specs/blob/master/src/identifiers/predicate-id.md).
53
+
The _Soulbound Address_ is the _Soulbound Address Predicate_'s predicate address. A predicate's address(the bytecode root) is defined [here](https://github.com/FuelLabs/fuel-specs/blob/master/src/identifiers/predicate-id.md).
54
54
55
-
The *Soulbound Address* may be computed from the *Soulbound Address Predicate*'s bytecode both on-chain or off-chain. For off-chain computation, please refer to the fuels-rs [predicate docs](https://docs.fuel.network/docs/fuels-rs/predicates/). For on-chain computation, please refer to Sway-Lib's [Bytecode Library](https://docs.fuel.network/docs/sway-libs/bytecode/).
55
+
The _Soulbound Address_ may be computed from the _Soulbound Address Predicate_'s bytecode both on-chain or off-chain. For off-chain computation, please refer to the fuels-rs [predicate docs](https://docs.fuel.network/docs/fuels-rs/predicates/). For on-chain computation, please refer to Sway-Lib's [Bytecode Library](https://docs.fuel.network/docs/sway-libs/bytecode/).
56
56
57
57
## Rationale
58
58
@@ -66,13 +66,13 @@ This standard is compatible with Fuel's [Native Assets](https://docs.fuel.networ
66
66
67
67
This standard does not introduce any security concerns, as it does not call external contracts, nor does it define any mutations of the contract state.
68
68
69
-
It should however be noted that any Native Asset on the Fuel Network is not a Soulbound Asset until it is sent to a *Soulbound Address*.
69
+
It should however be noted that any Native Asset on the Fuel Network is not a Soulbound Asset until it is sent to a _Soulbound Address_.
70
70
71
71
## Example
72
72
73
-
The following example shows the *Soulbound Address Predicate* for the `0xe033369a522e3cd2fc19a5a705a7f119938027e8e287c0ec35b784e68dab2be6``Address`.
73
+
The following example shows the _Soulbound Address Predicate_ for the `0xe033369a522e3cd2fc19a5a705a7f119938027e8e287c0ec35b784e68dab2be6``Address`.
74
74
75
-
The resulting *Soulbound Address* is `0x7f28a538d06788a3d98bb72f4b41012d86abc4b0369ee5dedf56cfbaf245d609`. Any Native Assets sent to this address will become Soulbound Assets.
75
+
The resulting _Soulbound Address_ is `0x7f28a538d06788a3d98bb72f4b41012d86abc4b0369ee5dedf56cfbaf245d609`. Any Native Assets sent to this address will become Soulbound Assets.
Copy file name to clipboardExpand all lines: docs/src/src-14-simple-upgradeable-proxies.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The FuelVM provides an `LDC` instruction that is used by Sway's `std::execution:
25
25
### Required Behavior
26
26
27
27
The proxy contract MUST maintain the address of its target in its storage at slot `0x7bb458adc1d118713319a5baa00a2d049dd64d2916477d2688d76970c898cd55` (equivalent to `sha256("storage_SRC14_0")`).
28
-
It SHOULD base other proxy specific storage fields at `sha256("storage_SRC14")` to avoid collisions with target storage.
28
+
It SHOULD base other proxy specific storage fields in the `SRC14` namespace to avoid collisions with target storage.
29
29
It MAY have its storage definition overlap with that of its target if necessary.
30
30
31
31
The proxy contract MUST delegate any method call not part of its interface to the target contract.
0 commit comments