Skip to main content

Module earn

Module earn 

Source
Expand description

Callback builders for Earn’s scoped SingleZoneEarnRouter.

ABI mirrored from tempoxyz/earn at 0c0f141f.

Source: https://github.com/tempoxyz/earn/blob/0c0f141f76f1f3c1f56f414a413f21a9e677d93d/src/router/SingleZoneEarnRouter.sol

Re-exportsΒ§

use super::abi::DepositPayload; πŸ”’
use super::abi::IZonePortal; πŸ”’
use super::encryption; πŸ”’
use super::l1::L1Args; πŸ”’
use alloy_primitives::Address; πŸ”’
use alloy_primitives::B256; πŸ”’
use alloy_primitives::Bytes; πŸ”’
use alloy_primitives::keccak256; πŸ”’
use alloy_provider::Provider; πŸ”’
use alloy_rpc_types::BlockId; πŸ”’
use alloy_sol_types::SolValue; πŸ”’
use alloy_sol_types::sol; πŸ”’
use clap::Parser; πŸ”’
use eyre::Result; πŸ”’
use eyre::ensure; πŸ”’
use foundry_cli::json::print_scalar; πŸ”’
use foundry_common::sh_status; πŸ”’

ModulesΒ§

IEarnRouter
Module containing a contract’s types and functions.

StructsΒ§

BuilderArgs πŸ”’
CallbackData
EarnArgs πŸ”’
Build callback bytes to pass to zone withdraw --callback-data with nonzero callback gas.
ZoneReturn

EnumsΒ§

EarnSubcommand πŸ”’