Skip to content

Commit

Permalink
feat: Rework BoxMap API so it is just a function that returns a Box p…
Browse files Browse the repository at this point in the history
…roxy for the given key
  • Loading branch information
tristanmenzel committed Mar 7, 2025
1 parent 7e85bff commit 92dbb87
Show file tree
Hide file tree
Showing 68 changed files with 5,556 additions and 4,168 deletions.
1 change: 0 additions & 1 deletion docs/api/arc4/-internal-/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@
- [CompatForArc4Int](type-aliases/CompatForArc4Int.md)
- [ContractMethod](type-aliases/ContractMethod.md)
- [NativeForArc4Int](type-aliases/NativeForArc4Int.md)
- [Readonly](type-aliases/Readonly.md)
- [StructConstructor](type-aliases/StructConstructor.md)
- [UintBitSize](type-aliases/UintBitSize.md)
18 changes: 16 additions & 2 deletions docs/api/arc4/-internal-/classes/StructBase.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Class: StructBase\<T\>

Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:466](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L466)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:461](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L461)

The base type for arc4 structs

Expand Down Expand Up @@ -60,8 +60,22 @@ Retrieve the encoded bytes for this type

> **get** **native**(): `T`
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:470](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L470)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:465](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L465)

##### Returns

`T`

## Methods

### copy()

> **copy**(): `this`
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:472](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L472)

Returns a deep copy of this struct

#### Returns

`this`
17 changes: 0 additions & 17 deletions docs/api/arc4/-internal-/type-aliases/Readonly.md

This file was deleted.

6 changes: 3 additions & 3 deletions docs/api/arc4/-internal-/type-aliases/StructConstructor.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

# Type Alias: StructConstructor()

> **StructConstructor**: \<`T`\>(`initial`) => [`StructBase`](../classes/StructBase.md)\<`T`\> & [`Readonly`](Readonly.md)\<`T`\>
> **StructConstructor**: \<`T`\>(`initial`) => [`StructBase`](../classes/StructBase.md)\<`T`\> & `T`
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:479](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L479)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:481](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L481)

Type alias for the Struct constructor function

Expand All @@ -20,4 +20,4 @@ Type alias for the Struct constructor function

## Returns

[`StructBase`](../classes/StructBase.md)\<`T`\> & [`Readonly`](Readonly.md)\<`T`\>
[`StructBase`](../classes/StructBase.md)\<`T`\> & `T`
1 change: 1 addition & 0 deletions docs/api/arc4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
## Functions

- [abimethod](functions/abimethod.md)
- [arc4EncodedLength](functions/arc4EncodedLength.md)
- [baremethod](functions/baremethod.md)
- [decodeArc4](functions/decodeArc4.md)
- [encodeArc4](functions/encodeArc4.md)
Expand Down
8 changes: 4 additions & 4 deletions docs/api/arc4/classes/DynamicBytes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Class: DynamicBytes

Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:496](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L496)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:498](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L498)

A variable length sequence of bytes prefixed with its length expressed as a 2 byte uint

Expand All @@ -24,7 +24,7 @@ A variable length sequence of bytes prefixed with its length expressed as a 2 by

> **new DynamicBytes**(`value`?): [`DynamicBytes`](DynamicBytes.md)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:504](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L504)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:506](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L506)

Create a new DynamicBytes instance

Expand Down Expand Up @@ -92,7 +92,7 @@ Returns the current length of this array

> **get** **native**(): [`bytes`](../../index/type-aliases/bytes.md)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:511](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L511)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:513](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L513)

Get the native bytes value (excludes the length prefix)

Expand Down Expand Up @@ -151,7 +151,7 @@ The index of the item to retrieve

> **concat**(`other`): [`DynamicBytes`](DynamicBytes.md)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:519](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L519)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:521](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L521)

Returns a dynamic bytes object containing all bytes from _this_ and _other_

Expand Down
8 changes: 4 additions & 4 deletions docs/api/arc4/classes/StaticBytes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Class: StaticBytes\<TLength\>

Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:527](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L527)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:529](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L529)

A fixed length sequence of bytes

Expand All @@ -28,7 +28,7 @@ A fixed length sequence of bytes

> **new StaticBytes**\<`TLength`\>(`value`?): [`StaticBytes`](StaticBytes.md)\<`TLength`\>
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:535](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L535)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:537](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L537)

Create a new StaticBytes instance

Expand Down Expand Up @@ -96,7 +96,7 @@ Returns the current length of this array

> **get** **native**(): [`bytes`](../../index/type-aliases/bytes.md)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:542](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L542)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:544](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L544)

Get the native bytes value

Expand Down Expand Up @@ -155,7 +155,7 @@ The index of the item to retrieve

> **concat**(`other`): [`DynamicBytes`](DynamicBytes.md)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:550](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L550)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:552](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L552)

Returns a dynamic bytes object containing all bytes from _this_ and _other_

Expand Down
25 changes: 25 additions & 0 deletions docs/api/arc4/functions/arc4EncodedLength.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[**@algorandfoundation/algorand-typescript**](../../README.md)

***

[@algorandfoundation/algorand-typescript](../../README.md) / [arc4](../README.md) / arc4EncodedLength

# Function: arc4EncodedLength()

> **arc4EncodedLength**\<`T`\>(): [`uint64`](../../index/type-aliases/uint64.md)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:589](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L589)

Return the total number of bytes required to store T as ARC4 bytes.

T must represent a type with a fixed length encoding scheme.

## Type Parameters

**T**

Any native or arc4 type with a fixed encoding size.

## Returns

[`uint64`](../../index/type-aliases/uint64.md)
2 changes: 1 addition & 1 deletion docs/api/arc4/functions/decodeArc4.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **decodeArc4**\<`T`\>(`bytes`, `prefix`): `T`
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:569](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L569)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:571](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L571)

Decode the provided bytes to a native Algorand TypeScript value

Expand Down
2 changes: 1 addition & 1 deletion docs/api/arc4/functions/encodeArc4.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **encodeArc4**\<`T`\>(`value`): [`bytes`](../../index/type-aliases/bytes.md)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:577](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L577)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:579](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L579)

Encode the provided Algorand TypeScript value as ARC4 bytes

Expand Down
2 changes: 1 addition & 1 deletion docs/api/arc4/functions/interpretAsArc4.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **interpretAsArc4**\<`T`\>(`bytes`, `prefix`): `T`
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:560](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L560)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:562](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L562)

Interpret the provided bytes as an ARC4 encoded type with no validation

Expand Down
2 changes: 1 addition & 1 deletion docs/api/arc4/variables/Struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> `const` **Struct**: [`StructConstructor`](../-internal-/type-aliases/StructConstructor.md)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:491](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L491)
Defined in: [packages/algo-ts/src/arc4/encoded-types.ts:493](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/arc4/encoded-types.ts#L493)

The base type of arc4 structs

Expand Down
4 changes: 2 additions & 2 deletions docs/api/index/-internal-/interfaces/CreateBoxMapOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Interface: CreateBoxMapOptions

Defined in: [packages/algo-ts/src/box.ts:221](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L221)
Defined in: [packages/algo-ts/src/box.ts:182](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L182)

Options for creating a BoxMap proxy

Expand All @@ -16,6 +16,6 @@ Options for creating a BoxMap proxy

> **keyPrefix**: `string` \| [`bytes`](../../type-aliases/bytes.md)
Defined in: [packages/algo-ts/src/box.ts:225](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L225)
Defined in: [packages/algo-ts/src/box.ts:186](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L186)

The bytes which prefix each key of the box map
4 changes: 2 additions & 2 deletions docs/api/index/-internal-/interfaces/CreateBoxOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Interface: CreateBoxOptions

Defined in: [packages/algo-ts/src/box.ts:202](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L202)
Defined in: [packages/algo-ts/src/box.ts:163](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L163)

Options for creating a Box proxy

Expand All @@ -16,6 +16,6 @@ Options for creating a Box proxy

> **key**: `string` \| [`bytes`](../../type-aliases/bytes.md)
Defined in: [packages/algo-ts/src/box.ts:206](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L206)
Defined in: [packages/algo-ts/src/box.ts:167](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L167)

The bytes which make up the key of the box
4 changes: 2 additions & 2 deletions docs/api/index/-internal-/interfaces/CreateBoxRefOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Interface: CreateBoxRefOptions

Defined in: [packages/algo-ts/src/box.ts:241](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L241)
Defined in: [packages/algo-ts/src/box.ts:202](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L202)

Options for creating a BoxRef proxy

Expand All @@ -16,6 +16,6 @@ Options for creating a BoxRef proxy

> **key**: `string` \| [`bytes`](../../type-aliases/bytes.md)
Defined in: [packages/algo-ts/src/box.ts:245](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L245)
Defined in: [packages/algo-ts/src/box.ts:206](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L206)

The bytes which make up the key of the box
26 changes: 23 additions & 3 deletions docs/api/index/functions/Account.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,39 @@ Create a new account object representing the zero address

## Call Signature

> **Account**(`address`): [`Account`](../type-aliases/Account.md)
> **Account**(`publicKey`): [`Account`](../type-aliases/Account.md)
Defined in: [packages/algo-ts/src/reference.ts:114](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L114)

Create a new account object representing the provided public key bytes

### Parameters

#### publicKey

[`bytes`](../type-aliases/bytes.md)

A 32-byte Algorand account public key

### Returns

[`Account`](../type-aliases/Account.md)

## Call Signature

> **Account**(`address`): [`Account`](../type-aliases/Account.md)
Defined in: [packages/algo-ts/src/reference.ts:120](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L120)

Create a new account object representing the provided address

### Parameters

#### address

[`bytes`](../type-aliases/bytes.md)
`string`

A 32-byte Algorand address
A 56 character base-32 encoded Algorand address

### Returns

Expand Down
4 changes: 2 additions & 2 deletions docs/api/index/functions/Application.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

> **Application**(): [`Application`](../type-aliases/Application.md)
Defined in: [packages/algo-ts/src/reference.ts:222](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L222)
Defined in: [packages/algo-ts/src/reference.ts:228](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L228)

Creates a new Application object represent the application id 0 (an invalid ID)

Expand All @@ -22,7 +22,7 @@ Creates a new Application object represent the application id 0 (an invalid ID)

> **Application**(`applicationId`): [`Application`](../type-aliases/Application.md)
Defined in: [packages/algo-ts/src/reference.ts:227](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L227)
Defined in: [packages/algo-ts/src/reference.ts:233](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L233)

Creates a new Application object representing the application with the specified id

Expand Down
4 changes: 2 additions & 2 deletions docs/api/index/functions/Asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

> **Asset**(): [`Asset`](../type-aliases/Asset.md)
Defined in: [packages/algo-ts/src/reference.ts:122](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L122)
Defined in: [packages/algo-ts/src/reference.ts:128](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L128)

Creates a new Asset object represent the asset id 0 (an invalid ID)

Expand All @@ -22,7 +22,7 @@ Creates a new Asset object represent the asset id 0 (an invalid ID)

> **Asset**(`assetId`): [`Asset`](../type-aliases/Asset.md)
Defined in: [packages/algo-ts/src/reference.ts:127](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L127)
Defined in: [packages/algo-ts/src/reference.ts:133](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L133)

Creates a new Asset object representing the asset with the specified id

Expand Down
2 changes: 1 addition & 1 deletion docs/api/index/functions/Box.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **Box**\<`TValue`\>(`options`): [`Box`](../type-aliases/Box.md)\<`TValue`\>
Defined in: [packages/algo-ts/src/box.ts:214](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L214)
Defined in: [packages/algo-ts/src/box.ts:175](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L175)

Creates a Box proxy object offering methods of getting and setting the value stored in a single box.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/index/functions/BoxMap.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **BoxMap**\<`TKey`, `TValue`\>(`options`): [`BoxMap`](../type-aliases/BoxMap.md)\<`TKey`, `TValue`\>
Defined in: [packages/algo-ts/src/box.ts:234](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L234)
Defined in: [packages/algo-ts/src/box.ts:195](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L195)

Creates a BoxMap proxy object offering methods of getting and setting a set of values stored in individual boxes indexed by a common key type

Expand Down
2 changes: 1 addition & 1 deletion docs/api/index/functions/BoxRef.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **BoxRef**(`options`): [`BoxRef`](../type-aliases/BoxRef.md)
Defined in: [packages/algo-ts/src/box.ts:253](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L253)
Defined in: [packages/algo-ts/src/box.ts:214](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/box.ts#L214)

Creates a BoxRef proxy object offering methods for getting and setting binary data in a box under a single key. This proxy is particularly
relevant when dealing with binary data that is larger than what the AVM can handle in a single value.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/index/type-aliases/Application.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **Application**: `object`
Defined in: [packages/algo-ts/src/reference.ts:222](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L222)
Defined in: [packages/algo-ts/src/reference.ts:228](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L228)

An Application on the Algorand network.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/index/type-aliases/Asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **Asset**: `object`
Defined in: [packages/algo-ts/src/reference.ts:122](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L122)
Defined in: [packages/algo-ts/src/reference.ts:128](https://github.com/algorandfoundation/puya-ts/blob/main/packages/algo-ts/src/reference.ts#L128)

An Asset on the Algorand network.

Expand Down
Loading

0 comments on commit 92dbb87

Please sign in to comment.