Documentation ¶
Index ¶
- Constants
- func BiteSignature() string
- func CatABI() string
- func CatFileChopLumpSignature() string
- func CatFileFlipSignature() string
- func CatFileVowSignature() string
- func CdpManagerABI() string
- func DealSignature() string
- func DentSignature() string
- func FlapABI() string
- func FlapKickSignature() string
- func FlipABI() string
- func FlipKickSignature() string
- func FlopABI() string
- func FlopKickSignature() string
- func GetContractAddress(contract string) string
- func GetContractAddresses(contractNames []string) (addresses []string)
- func GetContractsABI(contractNames []string) string
- func GetMinDeploymentBlock(contractNames []string) int64
- func GetTransformerContractNames(transformerLabel string) []string
- func JugABI() string
- func JugDripSignature() string
- func JugFileBaseSignature() string
- func JugFileIlkSignature() string
- func JugFileVowSignature() string
- func JugInitSignature() string
- func NewCdpSignature() string
- func SpotABI() string
- func SpotFileMatSignature() string
- func SpotFilePipSignature() string
- func SpotPokeSignature() string
- func TendSignature() string
- func TickSignature() string
- func VatABI() string
- func VatFileDebtCeilingSignature() string
- func VatFileIlkSignature() string
- func VatFluxSignature() string
- func VatFoldSignature() string
- func VatForkSignature() string
- func VatFrobSignature() string
- func VatGrabSignature() string
- func VatHealSignature() string
- func VatInitSignature() string
- func VatMoveSignature() string
- func VatSlipSignature() string
- func VatSuckSignature() string
- func VowABI() string
- func VowFessSignature() string
- func VowFileSignature() string
- func VowFlogSignature() string
- func YankSignature() string
- type ContractMethod
- type ForeignKeyField
- type MethodInput
Constants ¶
View Source
const ( BidId utils.Key = "bid_id" Ilk utils.Key = "ilk" Guy utils.Key = "guy" Flip utils.Key = "flip" Timestamp utils.Key = "timestamp" Cdpi utils.Key = "cdpi" Owner utils.Key = "owner" )
View Source
const ( HeaderFK = "header_id" LogFK = "log_id" )
View Source
const ( IlkColumn event.ColumnName = "ilk_id" UrnColumn event.ColumnName = "urn_id" AddressColumn event.ColumnName = "address_id" )
View Source
const ( BiteLabel = "bite" CatFileChopLumpLabel = "cat_file_chop_lump" CatFileFlipLabel = "cat_file_flip" CatFileVowLabel = "cat_file_vow" DealLabel = "deal" DentLabel = "dent" FlapKickLabel = "flap_kick" FlipKickLabel = "flip_kick" FlopKickLabel = "flop_kick" JugDripLabel = "jug_drip" JugFileBaseLabel = "jug_file_base" JugFileIlkLabel = "jug_file_ilk" JugFileVowLabel = "jug_file_vow" JugInitLabel = "jug_init" NewCdpLabel = "new_cdp" SpotFileMatLabel = "spot_file_mat" SpotFilePipLabel = "spot_file_pip" SpotPokeLabel = "spot_poke" TendLabel = "tend" TickLabel = "tick" VatFileDebtCeilingLabel = "vat_file_debt_ceiling" VatFileIlkLabel = "vat_file_ilk" VatFluxLabel = "vat_flux" VatFoldLabel = "vat_fold" VatForkLabel = "vat_fork" VatFrobLabel = "vat_frob" VatGrabLabel = "vat_grab" VatHealLabel = "vat_heal" VatInitLabel = "vat_init" VatMoveLabel = "vat_move" VatSlipLabel = "vat_slip" VatSuckLabel = "vat_suck" VowFessLabel = "vow_fess" VowFileLabel = "vow_file" VowFlogLabel = "vow_flog" YankLabel = "yank" )
Variables ¶
This section is empty.
Functions ¶
func BiteSignature ¶ added in v0.2.4
func BiteSignature() string
func CatFileChopLumpSignature ¶ added in v0.2.4
func CatFileChopLumpSignature() string
func CatFileFlipSignature ¶ added in v0.2.4
func CatFileFlipSignature() string
func CatFileVowSignature ¶ added in v0.2.4
func CatFileVowSignature() string
func CdpManagerABI ¶ added in v0.2.11
func CdpManagerABI() string
func DealSignature ¶ added in v0.2.4
func DealSignature() string
func DentSignature ¶ added in v0.2.4
func DentSignature() string
func FlapKickSignature ¶ added in v0.2.4
func FlapKickSignature() string
func FlipKickSignature ¶ added in v0.2.4
func FlipKickSignature() string
func FlopKickSignature ¶ added in v0.2.4
func FlopKickSignature() string
func GetContractAddress ¶ added in v0.2.10
func GetContractAddresses ¶ added in v0.2.10
Get the addresses for multiple contracts from config
func GetContractsABI ¶ added in v0.2.10
Get the ABI for multiple contracts from config Makes sure the ABI matches for all, since a single transformer may run against many contracts.
func GetMinDeploymentBlock ¶ added in v0.2.10
Get the minimum deployment block for multiple contracts from config
func GetTransformerContractNames ¶ added in v0.2.10
Returns all contract config names from transformer configuration:
[exporter.vow_file]
path = "transformers/events/vow_file/initializer" type = "eth_event" repository = "github.com/vulcanize/mcd_transformers" migrations = "db/migrations" contracts = ["MCD_VOW"] <---- rank = "0"
func JugDripSignature ¶ added in v0.2.4
func JugDripSignature() string
func JugFileBaseSignature ¶ added in v0.2.4
func JugFileBaseSignature() string
func JugFileIlkSignature ¶ added in v0.2.4
func JugFileIlkSignature() string
func JugFileVowSignature ¶ added in v0.2.4
func JugFileVowSignature() string
func JugInitSignature ¶ added in v0.2.6
func JugInitSignature() string
func NewCdpSignature ¶ added in v0.2.11
func NewCdpSignature() string
func SpotFileMatSignature ¶ added in v0.2.7
func SpotFileMatSignature() string
func SpotFilePipSignature ¶ added in v0.2.7
func SpotFilePipSignature() string
func SpotPokeSignature ¶ added in v0.2.7
func SpotPokeSignature() string
func TendSignature ¶ added in v0.2.4
func TendSignature() string
func TickSignature ¶ added in v0.2.11
func TickSignature() string
func VatFileDebtCeilingSignature ¶ added in v0.2.4
func VatFileDebtCeilingSignature() string
func VatFileIlkSignature ¶ added in v0.2.4
func VatFileIlkSignature() string
func VatFluxSignature ¶ added in v0.2.4
func VatFluxSignature() string
func VatFoldSignature ¶ added in v0.2.4
func VatFoldSignature() string
func VatForkSignature ¶ added in v0.2.6
func VatForkSignature() string
func VatFrobSignature ¶ added in v0.2.4
func VatFrobSignature() string
func VatGrabSignature ¶ added in v0.2.4
func VatGrabSignature() string
func VatHealSignature ¶ added in v0.2.4
func VatHealSignature() string
func VatInitSignature ¶ added in v0.2.4
func VatInitSignature() string
func VatMoveSignature ¶ added in v0.2.4
func VatMoveSignature() string
func VatSlipSignature ¶ added in v0.2.4
func VatSlipSignature() string
func VatSuckSignature ¶ added in v0.2.6
func VatSuckSignature() string
func VowFessSignature ¶ added in v0.2.4
func VowFessSignature() string
func VowFileSignature ¶ added in v0.2.4
func VowFileSignature() string
func VowFlogSignature ¶ added in v0.2.4
func VowFlogSignature() string
func YankSignature ¶ added in v0.2.8
func YankSignature() string
Types ¶
type ContractMethod ¶ added in v0.2.8
type ContractMethod struct { Name string Inputs []MethodInput }
type ForeignKeyField ¶ added in v0.2.8
type ForeignKeyField string
TODO remove after transition to ColumnName
const ( IlkFK ForeignKeyField = "ilk_id" UrnFK ForeignKeyField = "urn_id" AddressFK ForeignKeyField = "address_id" )
type MethodInput ¶ added in v0.2.8
type MethodInput struct {
Type string
}
Click to show internal directories.
Click to hide internal directories.