EScription
  • EScription
    • Deploy
    • Mint
    • Transfer
  • ESC-20
    • Deploy
    • Mint
    • Transfer
    • List
    • Transaction process
    • Index Rules
  • ESIPS
    • What are ESIPs?
    • Accepted ESIPs
  • Marketplace
    • Verified Badge
  • Developer Service
    • Legal Disclaimer
  • CrossContract
    • IBRC20Deploy
    • IValidator
    • ICrossInscribe
  • Cross Chain Validator
    • How to install validator?
    • How to run?
Powered by GitBook
On this page
  • setDeployCosts(uint256 deployFee)
  • getDeployCosts
  • setPeriodTime(uint256 period)
  • getPeriodTime()
  • setConfirmAgreeCount(uint256 count)
  • deployBrc20(string memory inscription)
  • deployBRC20Response(string memory inscription, address fromUser)
  • deployBrc20Confirm(string memory inscription, address fromUser, bytes32 deployTxID)
  1. CrossContract

IBRC20Deploy

the IBRC20Deploy interface defines a set of operations related to the deployment of BRC20 tokens

setDeployCosts(uint256 deployFee)

Purpose: Sets the deployment cost.

Parameter: Deployment cost (uint256).

getDeployCosts

Purpose: Retrieves the current deployment cost.

View Function: Function that does not modify state.

setPeriodTime(uint256 period)

Purpose: Sets the period time for BRC20 token deployment.

Parameter: Period time (uint256).

getPeriodTime()

Purpose: Retrieves the current period time for BRC20 token deployment.

View Function: Function that does not modify state.

setConfirmAgreeCount(uint256 count)

Purpose: Sets the confirm agreement count for BRC20 token deployment.

Parameter: Confirm agreement count (uint256).

deployBrc20(string memory inscription)

Purpose: Deploys BRC20 tokens with an inscription message.

Parameter: Inscription message (string memory).

format:

'data:,{"p":"esc-20","op":"deploy","tick":"Xia1","max":"21000000", "lim":"21000000"}'

deployBRC20Response(string memory inscription, address fromUser)

Purpose: Validator handles response for BRC20 token deployment.

deployBrc20Confirm(string memory inscription, address fromUser, bytes32 deployTxID)

Purpose: Validator Confirms BRC20 token deployment

PreviousCrossContractNextIValidator

Last updated 1 year ago