kit-squared 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -164,13 +164,13 @@ clearAddedAccounts()
|
|
|
164
164
|
Full details available in the [Accounts section of the docs]( https://github.com/AnAllergyToAnalogy/kit-squared/blob/main/docs/framework/ACCOUNTS.md).
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
##
|
|
167
|
+
## Number types and PDAs
|
|
168
168
|
|
|
169
169
|
Kit² uses BigInts for dealing with integers, and will be accepted for all integer function params, and be used in all returned integer values.
|
|
170
170
|
|
|
171
|
-
However, since PDAs pack data in a very specific way when deriving the address, when adding integers as seeds for PDAs, use the following format:
|
|
171
|
+
However, since PDAs pack data in a very specific way when deriving the address, when adding integers or floats as seeds for PDAs, use the following format:
|
|
172
172
|
```typescript
|
|
173
|
-
[value,
|
|
173
|
+
[value, number_type]
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
so a `u16` with the value of `1234` would be passed as
|