cic-custodial/internal/api
Mohamed Sohail 9e1d62a014
feat: add transfer authorization (#100)
* wip: add transfer auithorization

* feat: update transferAuthPayload

* switch to MAX_INT for value and use revoke flag
* tranfer handler: fix nonce rollback on EOA account

* feat: switch to session based session transfer auth

* Demurrage contracts require setting the approval value to 0 before updating the value after the initial limit is set
* This implementation auto-revokes every 15 min after arequest is created. Subsequent requests will fail untill the value is set back to 0

* feat: settable approve session timeout
2023-07-10 14:32:05 +08:00
..
account.go docs: add godocs comments to all routes 2023-04-14 07:57:43 +00:00
errors.go refactor: ctx propagation, api handlers 2023-02-24 16:46:46 +00:00
network.go docs: add godocs comments to all routes 2023-04-14 07:57:43 +00:00
sign_transfer_auth.go feat: add transfer authorization (#100) 2023-07-10 14:32:05 +08:00
sign_transfer.go feat: add transfer authorization (#100) 2023-07-10 14:32:05 +08:00
swagger.go docs: add godocs comments to all routes 2023-04-14 07:57:43 +00:00
track.go docs: add godocs comments to all routes 2023-04-14 07:57:43 +00:00
types.go refactor: use sigChan for shutdown, ctx fixes 2023-03-02 15:46:02 +00:00
validator.go deps(go-playground-validator): use inbuilt eth_addr_checksum validator on routes 2023-03-28 06:30:29 +00:00