ICrossInscribe
The ICrossInscribe interface defines a set of operations related to cross-chain signing and address binding.
一. The Owner‘s Method
setValidatorAgreeCount(uint256 agreeCount)
setBridgeCosts(uint256 newFee)
getBridgeCosts()
changeBindAddressFee(uint256 newFee)
getBindAddressFee()
setValidatorContract(address account)
getValidatorContract()
refundFee(address payable toUser, uint256 amount)
refundInscrition(address toUser, string memory tick, uint256 amount)
二. User‘s Method
bindAddress(string memory btcAddress, bytes memory btcSignature)
三.Validator's Method
bindAddressResponse(address user, uint256 nonce)
getBoundBtcAddress(address evmAddress)
getBoundEVMAddress(string memory btcAddress)
bridgeToBTCResponse(address fromUser, uint256 nonce)
bridgeToBTCConfirm(address fromUser, uint256 nonce, bytes32 txID)
confirmBridgeBtcToEth(string memory txid, string memory inscriptonID, string memory inscription, string memory tick, uint256 amount, address toAddress)
Last updated