Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/aurora-is-near/aurora-contracts-sdk
/ functions
Functions
126 in github.com/aurora-is-near/aurora-contracts-sdk
⨍
Functions
126
◇
Types & classes
48
↓ 16 callers
Function
unwrap_success
(status: TransactionStatus)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:253
↓ 13 callers
Method
to_string
(&self)
examples/tic-tac-toe/near-contract/src/types.rs:37
↓ 12 callers
Function
get_move
(state: GameState)
examples/tic-tac-toe/near-contract/src/logic.rs:11
↓ 11 callers
Method
clone
(&self, url: &str)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/git.rs:23
↓ 11 callers
Method
deploy_evm_contract
(&self, code: Vec<u8>)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:172
↓ 10 callers
Method
call_evm_contract_with
( &self, account: &workspaces::Account, address: Address, input: ContractInput
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:206
↓ 10 callers
Function
require_success
(output: &Output)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/process.rs:3
↓ 7 callers
Method
call_evm_contract
( &self, address: Address, input: ContractInput, value: Wei, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:196
↓ 7 callers
Function
deploy_latest
(worker: &Worker<Sandbox>)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:85
↓ 7 callers
Method
mint_wnear
( &self, wnear: &Wnear, dest_address: Address, amount: u128, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:126
↓ 7 callers
Function
unwrap_move
(result: MoveResult)
examples/tic-tac-toe/near-contract/src/logic.rs:307
↓ 6 callers
Method
create_deploy_bytes_with_args
Creates the bytes that are used as the input to an EVM transaction for deploying the Solidity contract (includes invoking the constructor with the giv
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/ethabi.rs:50
↓ 6 callers
Method
deployed_at
(self, address: Address)
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:60
↓ 6 callers
Method
erc20_balance_of
( &self, erc20: &erc20::ERC20, address: Address, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:146
↓ 6 callers
Function
forge_build
( root_path: P, libraries: &[String], contract_output_path: &[&str], )
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/forge.rs:51
↓ 5 callers
Method
create_approve_call_bytes
Creates the bytes that are used as the input to an EVM transaction for calling the `approve` function of the ERC-20 contract. This function does not i
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/erc20.rs:95
↓ 5 callers
Method
create_call_method_bytes_with_args
Creates the bytes that are used as the input to an EVM transaction for calling the given function of the Solidity contract (including passing in the g
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/ethabi.rs:78
↓ 5 callers
Method
create_deploy_bytes
Creates the bytes that are used as the input to an EVM transaction for deploying the Factory contract. This function does not interact with any EVM it
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:56
↓ 5 callers
Method
take_turn
User makes a play; returns the board state after this move + the computer's response.
examples/tic-tac-toe/integration-tests/src/lib.rs:208
↓ 4 callers
Method
approve_erc20
(&self, token: &erc20::ERC20, spender: Address, amount: U256)
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:353
↓ 4 callers
Function
build_contract
Builds a Wasm artifcact for the Rust contract defined in the given directory. This function uses the [cargo-near](https://github.com/near/cargo-near)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/cargo.rs:10
↓ 4 callers
Function
parse_address
(input: &str)
examples/uniswap-from-near/contract/src/lib.rs:149
↓ 3 callers
Method
checkout
(self, version: &str)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs:45
↓ 3 callers
Function
deploy_aurora_sdk_lib
( aurora_sdk_path: P, engine: &AuroraEngine, codec_lib: Address, utils_lib: Address, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/forge.rs:31
↓ 3 callers
Function
deploy_codec_lib
( aurora_sdk_path: P, engine: &AuroraEngine, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/forge.rs:13
↓ 3 callers
Function
deploy_utils_lib
( aurora_sdk_path: P, engine: &AuroraEngine, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/forge.rs:22
↓ 3 callers
Method
git_command
(&self)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/git.rs:41
↓ 3 callers
Method
view_evm_contract
( &self, contract: Address, input: ContractInput, sender: Option<Address>,
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:228
↓ 2 callers
Function
add_wasm_target
(engine_path: &Path, toolchain: &str)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs:192
↓ 2 callers
Method
bridge_nep141
( &self, nep141_id: &workspaces::AccountId, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:106
↓ 2 callers
Function
contains_error_msg
(bytes: &[u8])
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/cargo.rs:65
↓ 2 callers
Method
create_mint_call_bytes
Creates the bytes that are used as the input to an EVM transaction for calling the `mint` function of the ERC-20 contract. This function does not inte
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/erc20.rs:50
↓ 2 callers
Method
create_mint_call_bytes
Creates the bytes that are used as the input to an EVM transaction for calling the `mint` function of the PositionManager contract. This function does
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:140
↓ 2 callers
Method
create_token
(&self, name: &str, symbol: &str, mint_amount: U256)
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:244
↓ 2 callers
Method
deploy_evm_contract_with
( &self, account: &workspaces::Account, code: Vec<u8>, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:177
↓ 2 callers
Function
evaluate_position
(state: GameState)
examples/tic-tac-toe/near-contract/src/logic.rs:170
↓ 2 callers
Method
execute
(self)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs:76
↓ 2 callers
Function
find_target_dir
Recursively moves up the path tree, starting with the current directory, to find a `target` directory.
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs:205
↓ 2 callers
Function
json_lens
(value: &'a serde_json::Value, keys: &[&str], interp: F)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/forge.rs:95
↓ 2 callers
Function
read_toolchain
(engine_path: &Path)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs:178
↓ 2 callers
Function
unwrap_winner
(result: MoveResult)
examples/tic-tac-toe/near-contract/src/logic.rs:314
↓ 1 callers
Method
add_equal_liquidity
( &self, amount: U256, token_a: &erc20::ERC20, token_b: &erc20::ERC20, )
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:305
↓ 1 callers
Method
approve_wnear
(&self, account: &Account)
examples/ft-refund/integration-tests/src/lib.rs:321
↓ 1 callers
Function
black_hole
(_t: T)
examples/ft-refund/near-contract/src/lib.rs:40
↓ 1 callers
Function
check_cargo_near
(contract_path: &Path)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/cargo.rs:43
↓ 1 callers
Method
compile_engine_contract
(self)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs:56
↓ 1 callers
Method
compile_xcc_router_contract
(self)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs:65
↓ 1 callers
Method
create
( &self, aurora: &workspaces::AccountId, uniswap_address: &str
examples/uniswap-from-near/integration-tests/src/lib.rs:104
↓ 1 callers
Method
create_allowance_call_bytes
Creates the bytes that are used as the input to an EVM transaction for calling the `allowance` function of the ERC-20 contract. This function does not
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/erc20.rs:79
↓ 1 callers
Method
create_balance_of_call_bytes
Creates the bytes that are used as the input to an EVM transaction for calling the `balance_of` function of the ERC-20 contract. This function does no
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/erc20.rs:66
↓ 1 callers
Method
create_call_create_pool_bytes
Creates the bytes that are used as the input to an EVM transaction for calling the `createPool` function of the Factory contract. This function does n
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:96
↓ 1 callers
Method
create_deploy_bytes
Creates the bytes that are used as the input to an EVM transaction for deploying the ERC-20 contract. This function does not interact with any EVM its
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/erc20.rs:24
↓ 1 callers
Method
create_deploy_bytes_without_args
Creates the bytes that are used as the input to an EVM transaction for deploying the Solidity contract (includes invoking the constructor that takes n
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/ethabi.rs:42
↓ 1 callers
Method
create_initialize_call_bytes
Creates the bytes that are used as the input to an EVM transaction for calling the `initialize` function of the Pool contract. This function does not
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:128
↓ 1 callers
Method
create_pool
(&self, token_a: &erc20::ERC20, token_b: &erc20::ERC20)
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:272
↓ 1 callers
Function
deploy_latest_silo
( worker: &Worker<Sandbox>, account_id: &str, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:29
↓ 1 callers
Function
deploy_social_db
( worker: &workspaces::Worker<workspaces::network::Sandbox>, )
examples/social-db-from-aurora/integration-tests/src/lib.rs:208
↓ 1 callers
Function
deploy_social_db_sol_contract
( engine: &AuroraEngine, user_account: &workspaces::Account, social_db_account_id: &Ac
examples/social-db-from-aurora/integration-tests/src/lib.rs:169
↓ 1 callers
Function
deploy_solidity_contract
( engine: &'a AuroraEngine, contract_id: &AccountId, wnear_address: Address, )
examples/ft-refund/integration-tests/src/lib.rs:247
↓ 1 callers
Function
deploy_solidity_tic_tac_toe
( worker: &workspaces::Worker<workspaces::network::Sandbox>, engine: &'a AuroraEngine,
examples/tic-tac-toe/integration-tests/src/lib.rs:104
↓ 1 callers
Method
deployed_at
(self, address: Address)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/ethabi.rs:24
↓ 1 callers
Method
deployed_at
(self, address: Address)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/erc20.rs:114
↓ 1 callers
Method
exact_output_single
( &self, token_in: Address, token_out: Address,
examples/uniswap-from-near/integration-tests/src/lib.rs:123
↓ 1 callers
Method
fetch
(&self, remote: &str)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/git.rs:35
↓ 1 callers
Function
forge_build_with_args
( root_path: P, libraries: &[String], contract_output_path: &[&str], extra_args: &[&str], )
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/forge.rs:59
↓ 1 callers
Function
ft_balance_of
( viewer: &Account, token: &AccountId, user: &AccountId, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/nep141.rs:3
↓ 1 callers
Method
ft_balance_of
(&self, account_id: &workspaces::AccountId)
aurora-rust-sdk/aurora-sdk-integration-tests/src/wnear.rs:77
↓ 1 callers
Method
ft_transfer_call
( &self, account: &Account, token_address: &Address, token_id:
examples/ft-refund/integration-tests/src/lib.rs:290
↓ 1 callers
Method
get_balance
(&self, address: Address)
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:163
↓ 1 callers
Method
get_game_state
(&self)
examples/tic-tac-toe/integration-tests/src/lib.rs:229
↓ 1 callers
Method
init
(&self)
examples/tic-tac-toe/integration-tests/src/lib.rs:161
↓ 1 callers
Function
make_tags
(tags: &[&str])
examples/social-db-from-aurora/integration-tests/src/lib.rs:226
↓ 1 callers
Method
mint_account
( &self, address: Address, init_nonce: u64, init_balance: Wei, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs:90
↓ 1 callers
Method
near_deposit
( &self, account: &workspaces::Account, amount: u128, )
aurora-rust-sdk/aurora-sdk-integration-tests/src/wnear.rs:63
↓ 1 callers
Method
new_game
(&self, user_is_x: bool)
examples/tic-tac-toe/integration-tests/src/lib.rs:181
↓ 1 callers
Method
opponent
(&self)
examples/tic-tac-toe/near-contract/src/types.rs:15
↓ 1 callers
Method
parse_exact_output_single_result
( &self, #[serializer(borsh)] #[callback_unwrap] result: SubmitResult, )
examples/uniswap-from-near/contract/src/lib.rs:64
↓ 1 callers
Function
parse_u256
(input: &str)
examples/uniswap-from-near/contract/src/lib.rs:154
↓ 1 callers
Function
parse_u256_base10
(input: &str)
aurora-rust-sdk/aurora-sdk/src/lib.rs:32
↓ 1 callers
Method
storage_deposit
(&self, account: &workspaces::Account)
aurora-rust-sdk/aurora-sdk-integration-tests/src/wnear.rs:50
↓ 1 callers
Function
try_abi_parse_revert_message
(input: &[u8])
aurora-rust-sdk/aurora-sdk/src/lib.rs:52
Method
burn
(&mut self, account_id: AccountId, amount: U128)
examples/ft-refund/test-token/src/lib.rs:37
Method
checkout
(&self, tag: &str)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/git.rs:29
Method
create_call_method_bytes_without_args
Creates the bytes that are used as the input to an EVM transaction for calling the given function of the Solidity contract. The function must not take
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/ethabi.rs:70
Method
create_deploy_bytes_without_constructor
Creates the bytes that are used as the input to an EVM transaction for deploying the Solidity contract (without invoking any constructor). This functi
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/ethabi.rs:34
Method
default
()
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/git.rs:49
Method
default
()
examples/tic-tac-toe/near-contract/src/types.rs:25
Method
deploy
(worker: &Worker<Sandbox>, engine: &AuroraEngine)
aurora-rust-sdk/aurora-sdk-integration-tests/src/wnear.rs:15
Method
download
()
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs:36
Method
download_and_compile_latest
()
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs:28
Method
exact_output_single
Proxy for [exactOutputSingle](https://docs.uniswap.org/contracts/v3/reference/periphery/SwapRouter#exactoutputsingle). Calls the `exact_output_single`
examples/uniswap-from-near/contract/src/lib.rs:35
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
aurora-rust-sdk/aurora-sdk/src/lib.rs:65
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
examples/tic-tac-toe/near-contract/src/types.rs:88
Function
forge_parse_err
()
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/forge.rs:106
Method
from_address
(address: Address)
examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs:115
Method
from_extended_json
(contract_path: P)
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/ethabi.rs:11
Method
from_str
(s: &str)
examples/tic-tac-toe/near-contract/src/types.rs:55
Method
ft_metadata
(&self)
examples/ft-refund/test-token/src/lib.rs:47
Method
ft_on_transfer
( &mut self, sender_id: AccountId, amount: U128, msg: String, )
examples/ft-refund/near-contract/src/lib.rs:15
Method
get_move
(&self, state: String)
examples/tic-tac-toe/near-contract/src/lib.rs:13
next →
1–100 of 126, ranked by callers