Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit f2f38ca

Browse files
committed
feat: mint
1 parent 88c53cb commit f2f38ca

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = [ "crates/*" ]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.7.2"
6+
version = "0.7.3"
77
edition = "2021"
88
rust-version = "1.76"
99
authors = ["Zenith Contributors"]

crates/types/src/bindings.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
#![allow(missing_docs)]
33
use alloy_primitives::{Address, Bytes, FixedBytes, U256};
44

5+
mod mint {
6+
alloy_sol_types::sol!(
7+
#[derive(Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
8+
function mint(address to, uint256 amount);
9+
);
10+
}
11+
pub use mint::mintCall;
12+
513
mod zenith {
614
use super::*;
715

crates/types/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
1313

1414
mod bindings;
15-
pub use bindings::{HostOrders, Passage, RollupOrders, RollupPassage, Transactor, Zenith};
15+
pub use bindings::{
16+
mintCall, HostOrders, Passage, RollupOrders, RollupPassage, Transactor, Zenith,
17+
};
1618

1719
mod block;
1820
pub use block::{decode_txns, encode_txns, Alloy2718Coder, Coder, ZenithBlock, ZenithTransaction};

0 commit comments

Comments
 (0)