[−][src]Trait elrond_wasm_module_users::UsersModule
Required methods
pub fn get_user_id(&self, address: &Address) -> usize
[src]
pub fn set_user_id(&self, address: &Address, user_id: usize)
[src]
pub fn get_user_address(&self, user_id: usize) -> Address
[src]
pub fn set_user_address(&self, user_id: usize, address: &Address)
[src]
pub fn get_num_users(&self) -> usize
[src]
pub fn set_num_users(&self, num_users: usize)
[src]
pub fn contract_proxy(
&self,
address: &Address
) -> Box<OtherContractHandle<T, BigInt, BigUint>>
[src]
&self,
address: &Address
) -> Box<OtherContractHandle<T, BigInt, BigUint>>
pub fn callback(&self)
[src]
Provided methods
pub fn get_or_create_user(&self, address: &Address) -> usize
[src]
pub fn update_user_address(&self, addresses: VarArgs<Address>) -> SCResult<()>
[src]
Implementors
impl<T, BigInt, BigUint> UsersModule<T, BigInt, BigUint> for UsersModuleImpl<T, BigInt, BigUint> where
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ContractIOApi<BigInt, BigUint> + Clone + 'static,
[src]
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ContractIOApi<BigInt, BigUint> + Clone + 'static,
pub fn get_user_id(&self, address: &Address) -> usize
[src]
pub fn set_user_id(&self, address: &Address, user_id: usize)
[src]
pub fn get_user_address(&self, user_id: usize) -> Address
[src]
pub fn set_user_address(&self, user_id: usize, address: &Address)
[src]
pub fn get_num_users(&self) -> usize
[src]
pub fn set_num_users(&self, num_users: usize)
[src]
pub fn contract_proxy(
&self,
address: &Address
) -> Box<OtherContractHandle<T, BigInt, BigUint>>
[src]
&self,
address: &Address
) -> Box<OtherContractHandle<T, BigInt, BigUint>>