Skip to content

Commit f18eb71

Browse files
committed
First inclusion in the new bindings support
1 parent 8b6c2e5 commit f18eb71

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

src/bindings.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// Hypermap binding deployment address on base
2+
pub const HYPERMAP_BINDING_ADDRESS: &'static str = "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318";

src/hypermap.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ use std::str::FromStr;
2525

2626
/// hypermap deployment address on base
2727
pub const HYPERMAP_ADDRESS: &'static str = "0x000000000044C6B8Cb4d8f0F889a3E47664EAeda";
28-
/// hypermap binding deployment address on base
29-
pub const HYPERMAP_BINDING_ADDRESS: &'static str = "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318";
30-
/// base chain id
28+
3129
#[cfg(not(feature = "simulation-mode"))]
3230
pub const HYPERMAP_CHAIN_ID: u64 = 8453; // base
3331
#[cfg(feature = "simulation-mode")]

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ wit_bindgen::generate!({
3030
generate_unused_types: true,
3131
});
3232

33+
/// Interact with the tokenregistry contract data
34+
pub mod bindings;
35+
/// Currently nothing in here except for the contract address.
36+
3337
/// Interact with the eth provider module.
3438
pub mod eth;
3539
/// Your process must have the [`Capability`] to message
@@ -91,6 +95,7 @@ pub mod scripting;
9195
pub mod hyperwallet_client;
9296

9397
mod types;
98+
9499
pub use types::{
95100
address::{Address, AddressParseError},
96101
capability::Capability,

0 commit comments

Comments
 (0)