Escrow
Hierarchy
- SmartContract
- Escrow
Index
Constructors
externalconstructor
Parameters
externaladdress: PublicKey
externaloptionaltokenId: Field
Returns Escrow
Properties
events
Type declaration
approveSale: typeof EscrowTransfer
deploy: typeof Field & (x: string | number | bigint | Field | FieldVar | FieldConst) => Field
deposit: typeof EscrowTransfer
transfer: typeof EscrowTransfer
Methods
approveSale
Parameters
deposited: EscrowDeposit
seller: PublicKey
Returns Promise<void>
deploy
Parameters
args: DeployArgs
Returns Promise<void>
deposit
Parameters
deposited: EscrowDeposit
buyer: PublicKey
Returns Promise<void>
transfer
Parameters
nft: PublicKey
nameService: PublicKey
data: EscrowTransfer
signature1: Signature
signature2: Signature
signature3: Signature
escrow1: PublicKey
escrow2: PublicKey
escrow3: PublicKey
amount: UInt64
seller: PublicKey
buyer: PublicKey
Returns Promise<void>
class Escrow