Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::stdlib::address_t< Builder > Class Template Reference

#include <address.hpp>

Public Member Functions

 address_t ()=default
 
 address_t (address_t< Builder > const &other)
 
 address_t (field_t< Builder > const &address)
 
 address_t (uint256_t const &address)
 
 address_t (int const &address)
 
 address_t (witness_t< Builder > const &witness)
 
address_t< Builder > & operator= (const address_t< Builder > &other)
 
bool_t< Builderoperator== (const address_t &other) const
 
bool_t< Builderoperator!= (const address_t &other) const
 
field_t< Builderto_field () const
 
fr get_value () const
 
void assert_equal (const address_t &rhs, std::string const &msg="address_t::assert_equal") const
 
void assert_is_in_set (const std::vector< address_t > &set, std::string const &msg="address_t::assert_is_in_set") const
 

Static Public Member Functions

static address_t conditional_assign (const bool_t< Builder > &predicate, const address_t &lhs, const address_t &rhs)
 
static address_t< Builderderive_from_private_key (field_t< Builder > const &private_key)
 

Public Attributes

field_t< Builderaddress_
 
Buildercontext_
 

Friends

std::ostream & operator<< (std::ostream &os, address_t< Builder > const &v)
 

Detailed Description

template<typename Builder>
class bb::stdlib::address_t< Builder >

Definition at line 69 of file address.hpp.

Constructor & Destructor Documentation

◆ address_t() [1/6]

template<typename Builder >
bb::stdlib::address_t< Builder >::address_t ( )
default

◆ address_t() [2/6]

template<typename Builder >
bb::stdlib::address_t< Builder >::address_t ( address_t< Builder > const &  other)
inline

Definition at line 76 of file address.hpp.

◆ address_t() [3/6]

template<typename Builder >
bb::stdlib::address_t< Builder >::address_t ( field_t< Builder > const &  address)
inline

Definition at line 80 of file address.hpp.

◆ address_t() [4/6]

template<typename Builder >
bb::stdlib::address_t< Builder >::address_t ( uint256_t const &  address)
inline

Definition at line 84 of file address.hpp.

◆ address_t() [5/6]

template<typename Builder >
bb::stdlib::address_t< Builder >::address_t ( int const &  address)
inline

Definition at line 88 of file address.hpp.

◆ address_t() [6/6]

template<typename Builder >
bb::stdlib::address_t< Builder >::address_t ( witness_t< Builder > const &  witness)
inline

Definition at line 92 of file address.hpp.

Member Function Documentation

◆ assert_equal()

template<typename Builder >
void bb::stdlib::address_t< Builder >::assert_equal ( const address_t< Builder > &  rhs,
std::string const &  msg = "address_t< Builder >::assert_equal" 
) const
inline

Definition at line 113 of file address.hpp.

◆ assert_is_in_set()

template<typename Builder >
void bb::stdlib::address_t< Builder >::assert_is_in_set ( const std::vector< address_t< Builder > > &  set,
std::string const &  msg = "address_t< Builder >::assert_is_in_set" 
) const
inline

Definition at line 118 of file address.hpp.

◆ conditional_assign()

template<typename Builder >
static address_t bb::stdlib::address_t< Builder >::conditional_assign ( const bool_t< Builder > &  predicate,
const address_t< Builder > &  lhs,
const address_t< Builder > &  rhs 
)
inlinestatic

Definition at line 128 of file address.hpp.

◆ derive_from_private_key()

template<typename Builder >
static address_t< Builder > bb::stdlib::address_t< Builder >::derive_from_private_key ( field_t< Builder > const &  private_key)
inlinestatic

Definition at line 133 of file address.hpp.

◆ get_value()

template<typename Builder >
fr bb::stdlib::address_t< Builder >::get_value ( ) const
inline

Definition at line 111 of file address.hpp.

◆ operator!=()

template<typename Builder >
bool_t< Builder > bb::stdlib::address_t< Builder >::operator!= ( const address_t< Builder > &  other) const
inline

Definition at line 107 of file address.hpp.

◆ operator=()

template<typename Builder >
address_t< Builder > & bb::stdlib::address_t< Builder >::operator= ( const address_t< Builder > &  other)
inline

Definition at line 98 of file address.hpp.

◆ operator==()

template<typename Builder >
bool_t< Builder > bb::stdlib::address_t< Builder >::operator== ( const address_t< Builder > &  other) const
inline

Definition at line 105 of file address.hpp.

◆ to_field()

template<typename Builder >
field_t< Builder > bb::stdlib::address_t< Builder >::to_field ( ) const
inline

Definition at line 109 of file address.hpp.

Friends And Related Symbol Documentation

◆ operator<<

template<typename Builder >
std::ostream & operator<< ( std::ostream &  os,
address_t< Builder > const &  v 
)
friend

Definition at line 141 of file address.hpp.

Member Data Documentation

◆ address_

template<typename Builder >
field_t<Builder> bb::stdlib::address_t< Builder >::address_

Definition at line 71 of file address.hpp.

◆ context_

template<typename Builder >
Builder* bb::stdlib::address_t< Builder >::context_

Definition at line 72 of file address.hpp.


The documentation for this class was generated from the following file: