Skip to content

Commit 04a2424

Browse files
committed
changeset and docs
1 parent a7441a9 commit 04a2424

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/tired-ghosts-obey.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`AbiDecode`: Added a library for decoding abi-encoded buffers in a way were decoding errors can be processed safely.

contracts/mocks/Stateless.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ pragma solidity ^0.8.26;
44

55
// We keep these imports and a dummy contract just to we can run the test suite after transpilation.
66

7+
import {AbiDecode} from "../utils/AbiDecode.sol";
78
import {Accumulators} from "../utils/structs/Accumulators.sol";
89
import {Address} from "../utils/Address.sol";
910
import {Arrays} from "../utils/Arrays.sol";

contracts/utils/README.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Miscellaneous contracts and libraries containing utility functions you can use t
2222
* {EnumerableSet}: Like {EnumerableMap}, but for https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets]. Can be used to store privileged accounts, issued IDs, etc.
2323
* {Heap}: A library that implements a https://en.wikipedia.org/wiki/Binary_heap[binary heap] in storage.
2424
* {MerkleTree}: A library with https://wikipedia.org/wiki/Merkle_Tree[Merkle Tree] data structures and helper functions.
25+
* {AbiDecode}: Collection of function to decode abi-encoded buffers in a way were decoding errors can be processed safely.
2526
* {Address}: Collection of functions for overloading Solidity's https://docs.soliditylang.org/en/latest/types.html#address[`address`] type.
2627
* {Arrays}: Collection of functions that operate on https://docs.soliditylang.org/en/latest/types.html#arrays[`arrays`].
2728
* {Base58}: On-chain base58 encoding and decoding.

0 commit comments

Comments
 (0)