Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

20 changes: 4 additions & 16 deletions framework/base/src/contract_base/wrappers/send_wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ use crate::{
api::{BlockchainApi, CallTypeApi, StorageReadApi},
codec,
types::{
system_proxy, BigUint, ContractCallNoPayment, ESDTSystemSCAddress,
EgldOrEsdtTokenIdentifier, EsdtTokenPayment, FunctionCall, GasLeft, ManagedAddress,
ManagedArgBuffer, ManagedBuffer, ManagedType, ManagedVec, NotPayable, OriginalResultMarker,
ReturnsRawResult, ReturnsResult, ToSelf, TokenIdentifier, Tx, TxScEnv,
system_proxy, BigUint, ESDTSystemSCAddress, EgldOrEsdtTokenIdentifier, EsdtTokenPayment,
FunctionCall, GasLeft, ManagedAddress, ManagedArgBuffer, ManagedBuffer, ManagedType,
ManagedVec, NotPayable, OriginalResultMarker, ReturnsRawResult, ReturnsResult, ToSelf,
TokenIdentifier, Tx, TxScEnv,
},
};

Expand Down Expand Up @@ -63,18 +63,6 @@ where
.typed(system_proxy::ESDTSystemSCProxy)
}

/// Convenient way to quickly instance a minimal contract call (with no EGLD, no arguments, etc.)
///
/// You can further configure this contract call by chaining methods to it.
#[inline]
pub fn contract_call<R>(
&self,
to: ManagedAddress<A>,
endpoint_name: impl Into<ManagedBuffer<A>>,
) -> ContractCallNoPayment<A, R> {
ContractCallNoPayment::new(to, endpoint_name)
}

/// Sends EGLD to a given address, directly.
/// Used especially for sending EGLD to regular accounts.
#[inline]
Expand Down
2 changes: 0 additions & 2 deletions framework/base/src/types/interaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ mod annotated;
mod back_transfers;
mod callback_closure;
mod callback_selector_result;
mod contract_call_legacy;
mod expr;
mod managed_arg_buffer;
mod markers;
Expand All @@ -26,7 +25,6 @@ pub use callback_closure::{
new_callback_call, CallbackClosure, CallbackClosureForDeser, CallbackClosureMatcher,
};
pub use callback_selector_result::CallbackSelectorResult;
pub use contract_call_legacy::*;
pub use expr::*;
pub use managed_arg_buffer::ManagedArgBuffer;
pub use markers::*;
Expand Down
28 changes: 0 additions & 28 deletions framework/base/src/types/interaction/contract_call_legacy.rs

This file was deleted.

This file was deleted.

Loading
Loading