git.delta.rocks / unique-network / refs/commits / e8fdadb89923

difftreelog

source

pallets/contracts/fixtures/self_destructing_constructor.wat469 Bsourcehistory
1(module2	(import "seal0" "seal_terminate" (func $seal_terminate (param i32 i32)))3	(import "env" "memory" (memory 1 1))45	(func $assert (param i32)6		(block $ok7			(br_if $ok8				(get_local 0)9			)10			(unreachable)11		)12	)1314	(func (export "deploy")15		;; Self-destruct by sending full balance to the 0 address.16		(call $seal_terminate17			(i32.const 0)	;; Pointer to destination address18			(i32.const 32)	;; Length of destination address19		)20	)2122	(func (export "call"))23)