package
0.0.1
Repository: https://github.com/mysgate/demo_backend.git
Documentation: pkg.go.dev

# README

1

npm install -g solc@xxx

npm install solc

2

solcjs --abi .\CrossController_flattened.sol

3

abigen --abi=.\CrossController_flattened_sol_CrossController.abi --pkg=cross --out=CrossController.go

4

solcjs --abi .\Bridge_flattened.sol

5

abigen --abi=.\Bridge_flattened_sol_Bridge.abi --pkg=bridge --out=Bridge.go

6 rename pkg to contracts

# Functions

NewBridge creates a new instance of Bridge, bound to a specific deployed contract.
NewBridgeCaller creates a new read-only instance of Bridge, bound to a specific deployed contract.
NewBridgeFilterer creates a new log filterer instance of Bridge, bound to a specific deployed contract.
NewBridgeTransactor creates a new write-only instance of Bridge, bound to a specific deployed contract.
NewCross creates a new instance of Cross, bound to a specific deployed contract.
NewCrossCaller creates a new read-only instance of Cross, bound to a specific deployed contract.
NewCrossFilterer creates a new log filterer instance of Cross, bound to a specific deployed contract.
NewCrossTransactor creates a new write-only instance of Cross, bound to a specific deployed contract.

# Variables

BridgeABI is the input ABI used to generate the binding from.
BridgeMetaData contains all meta data concerning the Bridge contract.
CrossABI is the input ABI used to generate the binding from.
CrossMetaData contains all meta data concerning the Cross contract.

# Structs

Bridge is an auto generated Go binding around an Ethereum contract.
BridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
BridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
BridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
BridgeCommitmentAdded represents a CommitmentAdded event raised by the Bridge contract.
BridgeCommitmentAddedIterator is returned from FilterCommitmentAdded and is used to iterate over the raw logs and unpacked data for CommitmentAdded events raised by the Bridge contract.
BridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
BridgeLeafAdded represents a LeafAdded event raised by the Bridge contract.
BridgeLeafAddedIterator is returned from FilterLeafAdded and is used to iterate over the raw logs and unpacked data for LeafAdded events raised by the Bridge contract.
BridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
BridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
BridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
BridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
BridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
Cross is an auto generated Go binding around an Ethereum contract.
CrossCaller is an auto generated read-only Go binding around an Ethereum contract.
CrossCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
CrossCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
CrossCommitReceipt represents a CommitReceipt event raised by the Cross contract.
CrossCommitReceiptIterator is returned from FilterCommitReceipt and is used to iterate over the raw logs and unpacked data for CommitReceipt events raised by the Cross contract.
CrossCommitReceiptWithZk represents a CommitReceiptWithZk event raised by the Cross contract.
CrossCommitReceiptWithZkIterator is returned from FilterCommitReceiptWithZk and is used to iterate over the raw logs and unpacked data for CommitReceiptWithZk events raised by the Cross contract.
CrossControllerOrder is an auto generated low-level Go binding around an user-defined struct.
CrossControllerProof is an auto generated low-level Go binding around an user-defined struct.
CrossControllerReceipt is an auto generated low-level Go binding around an user-defined struct.
CrossCrossFrom represents a CrossFrom event raised by the Cross contract.
CrossCrossFromIterator is returned from FilterCrossFrom and is used to iterate over the raw logs and unpacked data for CrossFrom events raised by the Cross contract.
CrossCrossTo represents a CrossTo event raised by the Cross contract.
CrossCrossToIterator is returned from FilterCrossTo and is used to iterate over the raw logs and unpacked data for CrossTo events raised by the Cross contract.
CrossEnabledZkVerifier represents a EnabledZkVerifier event raised by the Cross contract.
CrossEnabledZkVerifierIterator is returned from FilterEnabledZkVerifier and is used to iterate over the raw logs and unpacked data for EnabledZkVerifier events raised by the Cross contract.
CrossFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
CrossInitialized represents a Initialized event raised by the Cross contract.
CrossInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Cross contract.
CrossPaused represents a Paused event raised by the Cross contract.
CrossPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Cross contract.
CrossRaw is an auto generated low-level Go binding around an Ethereum contract.
CrossSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
CrossSettedFloatFee represents a SettedFloatFee event raised by the Cross contract.
CrossSettedFloatFeeIterator is returned from FilterSettedFloatFee and is used to iterate over the raw logs and unpacked data for SettedFloatFee events raised by the Cross contract.
CrossSettedPorterFactory represents a SettedPorterFactory event raised by the Cross contract.
CrossSettedPorterFactoryIterator is returned from FilterSettedPorterFactory and is used to iterate over the raw logs and unpacked data for SettedPorterFactory events raised by the Cross contract.
CrossSettedZkVerifier represents a SettedZkVerifier event raised by the Cross contract.
CrossSettedZkVerifierIterator is returned from FilterSettedZkVerifier and is used to iterate over the raw logs and unpacked data for SettedZkVerifier events raised by the Cross contract.
CrossTransactor is an auto generated write-only Go binding around an Ethereum contract.
CrossTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
CrossTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
CrossUnpaused represents a Unpaused event raised by the Cross contract.
CrossUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Cross contract.