package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev
# README
banking
This package provide an engine which is an abstraction on top of the Collateral engined and the External Resource checker.
One method will be provided for each type of ChainEvent dealing with Collateral and for each asset supported, as of now:
- Asset_Allowlisted
- Asset_Deposited
- Asset_Withdrawn
Once one of these methods called, the banking will setup into the external resource checker some validation to be done, e.g: Asset_Deposited validation for an erc20 token requires to look at the eth event logs to confirm that the deposit really did happen.
After the validation is confirmed, the engine will finalize the processing of the ChainEvent by calling the appropriate function on the Collateral engine.
# Packages
Package mocks is a generated GoMock package.
# Functions
No description provided by the author
EstimateFee returns a transaction fee estimate with potential discount that can be applied to it.
No description provided by the author
NewDefaultConfig creates an instance of the package specific configuration.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
Collateral engine.
Epochervice ...
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TimeService provide the time of the vega node using the tm time.
Topology ...
Witness provide foreign chain resources validations.