Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blunt-instruments/MevWallet
/ functions
Functions
285 in github.com/blunt-instruments/MevWallet
⨍
Functions
285
◇
Types & classes
162
↓ 16 callers
Method
clone
(&self)
src/tx/builder.rs:402
↓ 7 callers
Method
send
Create a contract call object sending the signed mev transaction
src/tx/ext.rs:90
↓ 4 callers
Method
to
Set `to`
src/tx/builder.rs:160
↓ 3 callers
Method
clone
(&self)
src/bindings/deploy_drain.rs:5719
↓ 3 callers
Method
clone
(&self)
src/bindings/deploy_impl_v0.rs:8639
↓ 3 callers
Method
clone
(&self)
src/bindings/mev_wallet_v0_factory.rs:2470
↓ 3 callers
Method
clone
(&self)
src/bindings/mev_wallet_v0.rs:7123
↓ 3 callers
Method
clone
(&self)
src/bindings/deploy_impl_v1.rs:8773
↓ 3 callers
Method
clone
(&self)
src/bindings/mevitize.rs:93
↓ 3 callers
Method
clone
(&self)
src/bindings/drain.rs:1748
↓ 3 callers
Method
clone
(&self)
src/bindings/mev_wallet_v1_factory.rs:2470
↓ 3 callers
Method
clone
(&self)
src/bindings/deploy_factory_v0.rs:3645
↓ 3 callers
Method
clone
(&self)
src/bindings/mev_wallet_v1.rs:7257
↓ 3 callers
Method
clone
(&self)
src/bindings/deploy_proxy_v0.rs:661
↓ 3 callers
Method
clone
(&self)
src/bindings/deploy_proxy_v1.rs:1521
↓ 3 callers
Method
clone
(&self)
src/bindings/deploy_factory_v1.rs:3645
↓ 3 callers
Method
clone
(&self)
src/bindings/mwb.rs:1846
↓ 3 callers
Method
data
Set `data`
src/tx/builder.rs:166
↓ 3 callers
Method
encode
(self)
src/bindings/drain.rs:1931
↓ 3 callers
Method
tip
Set `tip`
src/tx/builder.rs:193
↓ 2 callers
Method
balance_of
Calls the contract's `balanceOf` (0x70a08231) function
src/bindings/ierc20.rs:76
↓ 2 callers
Method
build
Build an array of transactions adjusting the tip according to the escalation policy
src/tx/dutch.rs:40
↓ 2 callers
Method
eip_712
Return an eip-712 struct referencing this tx, suitable for signing or recovering signatures
src/tx/types.rs:130
↓ 2 callers
Method
into_call
Convert the Signed MEV tx into a call to the contract wallet
src/tx/types.rs:195
↓ 2 callers
Method
max_base_fee
Set `max_base_fee`
src/tx/builder.rs:199
↓ 2 callers
Method
nonce
Set `nonce`
src/tx/builder.rs:217
↓ 2 callers
Method
not_before
Set `not_before`
src/tx/builder.rs:205
↓ 2 callers
Method
populate_nonce
Populate the nonce by querying the contract. Note that multiple calls will return the same nonce until the chain confirms a transaction. If building m
src/tx/builder.rs:304
↓ 2 callers
Method
sign
Sign the MEV transaction with the provided signer.
src/tx/types.rs:139
↓ 2 callers
Method
value
Set `value`
src/tx/builder.rs:181
↓ 2 callers
Method
wallet
Set the MevWallet from which this tx will be sent
src/tx/builder.rs:139
↓ 1 callers
Method
address_with_mware
Add an address and instatiate a [`MevWalletV1`] with the provided middleware
src/tx/builder.rs:126
↓ 1 callers
Method
apply_to
(self, call: &mut ContractCall<M, ()>)
src/tx/ext.rs:175
↓ 1 callers
Method
chain_id
Get the chain ID
src/tx/types.rs:226
↓ 1 callers
Method
clone
(&self)
src/bindings/ierc20.rs:20
↓ 1 callers
Method
clone
(&self)
src/bindings/i_mev_weth.rs:20
↓ 1 callers
Method
create_wallet
Calls the contract's `createWallet` (0x1d647605) function
src/bindings/mev_wallet_v0_factory.rs:2558
↓ 1 callers
Method
create_wallet_with_owner
Calls the contract's `createWallet` (0x0f630418) function
src/bindings/mev_wallet_v0_factory.rs:2545
↓ 1 callers
Function
deploy_proxy
Create a new proxy with a specific salt
src/deploy.rs:7
↓ 1 callers
Function
deploy_proxy_with_owner
Create a new proxy with a specific salt and owner
src/deploy.rs:17
↓ 1 callers
Method
domain_separator
Calls the contract's `_DOMAIN_SEPARATOR` (0xdc0c81b5) function
src/bindings/mev_wallet_v0.rs:7206
↓ 1 callers
Method
encode_struct
Encode the preimage of Eip-712's hashStruct
src/tx/types.rs:124
↓ 1 callers
Method
into_tokens
(self)
src/tx/types.rs:106
↓ 1 callers
Method
mev_tx
Calls the contract's `mevTx` (0xf3198676) function
src/bindings/mev_wallet_v0.rs:7223
↓ 1 callers
Method
missing_keys
Return the list of mandatory keys that are not yet set.
src/tx/builder.rs:239
↓ 1 callers
Method
owner
Calls the contract's `owner` (0x8da5cb5b) function
src/bindings/mev_wallet_v0.rs:7253
↓ 1 callers
Method
populate
Populate the transaction using the contract. Fills nonce and max_base_fee, if they are not already filled.
src/tx/builder.rs:358
↓ 1 callers
Method
populate_max_base_fee
Populate the max base fee using the chain's EIP1559 estimator
src/tx/builder.rs:335
↓ 1 callers
Method
simulate
Simulate a tx. Returns `Ok(None)` for succesful execution. Returns Ok (Some(err)) for contract revert. Returns Err(e) for error during simulation
src/tx/ext.rs:120
↓ 1 callers
Method
struct_hash
(&self)
src/tx/types.rs:88
↓ 1 callers
Method
terminal
(&self)
src/tx/ext.rs:160
↓ 1 callers
Method
transfer
Calls the contract's `transfer` (0xa9059cbb) function
src/bindings/ierc20.rs:93
↓ 1 callers
Method
tx
Get the transaction details
src/tx/types.rs:241
↓ 1 callers
Method
wallet
Get the Wallet address
src/tx/types.rs:231
↓ 1 callers
Method
wallet_contract
Return an instance of the wallet contract
src/tx/types.rs:236
↓ 1 callers
Method
with_signer
Add a signer to the builder
src/tx/dutch.rs:26
↓ 1 callers
Method
wrap_in_tx
Convert into a populated TypedTransaction, ready for population and dispatch
src/tx/types.rs:159
Method
add_mev
Calls the contract's `addMev` (0x5992bfdd) function
src/bindings/i_mev_weth.rs:56
Method
add_mev_with_from
Calls the contract's `addMev` (0xf801cf60) function
src/bindings/i_mev_weth.rs:65
Method
allowance
Calls the contract's `allowance` (0xdd62ed3e) function
src/bindings/ierc20.rs:56
Method
approval_filter
Gets the contract's `Approval` event
src/bindings/ierc20.rs:114
Method
approve
Calls the contract's `approve` (0x095ea7b3) function
src/bindings/ierc20.rs:66
Method
approve_all
Calls the contract's `approveAll` (0x0a443276) function
src/bindings/drain.rs:1823
Method
balance
Return the ETH balance of this MevWallet
src/tx/ext.rs:109
Method
build
Build
src/tx/builder.rs:366
Method
call
Set `data` to any contract call
src/tx/builder.rs:172
Method
chain_id
Set the chain_id explicitly. If this is not called, it will be signed with the signer's current chain ID.
src/tx/builder.rs:233
Method
convert_tx
Create a [`MevTxBuilder`] from an ethers `TypedTransaction`. This convenience method allows users to convert regular contract interactions into MEV tx
src/tx/ext.rs:82
Method
create_wallet
Calls the contract's `createWallet` (0x1d647605) function
src/bindings/mev_wallet_v1_factory.rs:2558
Method
create_wallet_with_owner
Calls the contract's `createWallet` (0x0f630418) function
src/bindings/mev_wallet_v1_factory.rs:2545
Method
deadline
Set `deadline`
src/tx/builder.rs:211
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/ierc20.rs:323
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/deploy_drain.rs:5971
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/deploy_impl_v0.rs:8809
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/mev_wallet_v0_factory.rs:2624
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/mev_wallet_v0.rs:7433
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/deploy_impl_v1.rs:8943
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/drain.rs:1911
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/mev_wallet_v1_factory.rs:2624
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/deploy_factory_v0.rs:3791
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/mev_wallet_v1.rs:7567
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/deploy_proxy_v0.rs:814
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/deploy_proxy_v1.rs:1676
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/i_mev_weth.rs:238
Method
decode
( data: impl AsRef<[u8]>, )
src/bindings/deploy_factory_v1.rs:3791
Method
decode_log
( log: &::ethers::core::abi::RawLog, )
src/bindings/ierc20.rs:189
Method
decode_log
( log: &::ethers::core::abi::RawLog, )
src/bindings/deploy_drain.rs:5890
Method
default
()
src/tx/builder.rs:63
Method
delegate
Set `delegate`
src/tx/builder.rs:187
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/deploy_drain.rs:5777
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/deploy_impl_v0.rs:8697
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/mev_wallet_v0_factory.rs:2528
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/mev_wallet_v0.rs:7181
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/deploy_impl_v1.rs:8831
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/mevitize.rs:151
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/drain.rs:1806
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/mev_wallet_v1_factory.rs:2528
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/deploy_factory_v0.rs:3703
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/mev_wallet_v1.rs:7315
Method
deploy
Constructs the general purpose `Deployer` instance based on the provided constructor arguments and sends it. Returns a new instance of a deployer that
src/bindings/deploy_proxy_v0.rs:719
next →
1–100 of 285, ranked by callers