synapsecns/sanguine

View on GitHub
agents/contracts/lightinbox/generate.go

Summary

Maintainability
A
0 mins
Test Coverage
package lightinbox

//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../packages/contracts-core/flattened/LightInbox.sol --pkg lightinbox --sol-version 0.8.17 --filename lightinbox

// here we generate some interfaces we use in for our mocks. TODO this should be automated in abigen for all contracts + be condensed
//go:generate go run github.com/vburenin/ifacemaker -f lightinbox.abigen.go -s LightInboxCaller -i ILightInboxCaller -p lightinbox -o icaller_generated.go -c "autogenerated file"
//go:generate go run github.com/vburenin/ifacemaker -f lightinbox.abigen.go -s LightInboxTransactor -i ILightInboxTransactor -p lightinbox -o itransactor_generated.go -c "autogenerated file"
//go:generate go run github.com/vburenin/ifacemaker -f lightinbox.abigen.go -s LightInboxFilterer  -i ILightInboxFilterer  -p lightinbox  -o filterer_generated.go -c "autogenerated file"
//go:generate go run github.com/vektra/mockery/v2 --name ILightInbox --output ./mocks --case=underscore
// last line must be null