pub struct ScriptConfig { /* private fields */ }Implementations§
Source§impl ScriptConfig
impl ScriptConfig
pub fn new(script_map: HashMap<String, ScriptInfo>) -> Self
pub fn get_script_info(&self, script_name: &str) -> Option<ScriptInfo>
pub fn get_cell_dep(&self, script_name: &str) -> Option<CellDep>
pub fn get_secp256k1_blake160_sighash_all_code_hash(&self) -> H256
pub fn get_xudt_rce_code_hash(&self) -> H256
pub fn get_omni_lock_code_hash(&self) -> H256
pub fn get_anyone_can_pay_code_hash(&self) -> H256
pub fn get_sudt_code_hash(&self) -> H256
pub fn get_secp_data_cell_dep(&self) -> CellDep
pub fn get_xdut_cell_dep(&self) -> CellDep
pub fn get_omni_lock_cell_dep(&self) -> CellDep
Trait Implementations§
Source§impl Clone for ScriptConfig
impl Clone for ScriptConfig
Source§fn clone(&self) -> ScriptConfig
fn clone(&self) -> ScriptConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScriptConfig
impl RefUnwindSafe for ScriptConfig
impl Send for ScriptConfig
impl Sync for ScriptConfig
impl Unpin for ScriptConfig
impl UnwindSafe for ScriptConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more