ContractDeploy
For the complete documentation index, see llms.txt
@midnight/ledger / ContractDeploy
Class: ContractDeploy
컨트랙트 배포 세그먼트로, 아직 존재하지 않는 경우 새 컨트랙트 주소 생성을 지시합니다.
Constructors
Constructor
new ContractDeploy(initial_state): ContractDeploy;
임의의 컨트랙트 상태에 대한 배포를 생성합니다.
배포와 해당 주소는 무작위로 결정됩니다.
Parameters
initial_state
Returns
ContractDeploy
Properties
address
readonly address: string;
이 배포가 생성하려는 주소입니다.
initialState
readonly initialState: ContractState;
Methods
toString()
toString(compact?): string;
Parameters
compact?
boolean
Returns
string