Skip to content

Instantly share code, notes, and snippets.

0x3B6baC34d2D2CBC435d35B9462c019532436C231
pragma solidity ^0.4.14;
contract Message{
string message;
address sender;
address recipient;
function Message(string _message, address _sender, address _recipient ){
message = _message;
pragma solidity ^0.4.14;
contract Message{
string message;
address sender;
address recipient;
function Message(string _message, address _sender, address _recipient ){
message = _message;
@snissn
snissn / cultured_orangutan_polygon.sol
Created March 28, 2022 00:13
cultured_orangutan_polygon.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
Input file: /Users/mikeseiler/dev/estuary/postman/swagger.json
Writing to file: false /Users/mikeseiler/dev/estuary/postman/posty.json { result: true, output: [ { type: 'collection', data: [Object] } ] }
Conversion successful, collection written to file
newman
Estuary API
❏ admin / autoretrieve
↳ Register autoretrieve server
POST http://localhost:3004/admin/autoretrieve/init
package main
import (
"github.com/application-research/estuary/pinner/types"
"github.com/libp2p/go-libp2p-core/peer"
"bytes"
"encoding/gob"
"fmt"
"github.com/ipfs/go-cid"
panic: interface conversion: interface is nil, not encoding.BinaryUnmarshaler [recovered]
panic: interface conversion: interface is nil, not encoding.BinaryUnmarshaler
goroutine 1 [running]:
encoding/gob.catchError(0xc000252070)
/usr/local/go/src/encoding/gob/error.go:38 +0x6d
panic({0x1275860, 0xc00007b9b0})
/usr/local/go/src/runtime/panic.go:838 +0x207
encoding/gob.(*Decoder).decodeGobDecoder(0x40?, 0xc00002bbc0, 0xc00006a9a0, {0x1291580?, 0xc000013f10?, 0xc00020b718?})
/usr/local/go/src/encoding/gob/decode.go:736 +0x196
package main
import (
"github.com/google/uuid"
"github.com/libp2p/go-libp2p-core/peer"
"fmt"
ma "github.com/multiformats/go-multiaddr"
"bytes"
package main
import (
"github.com/application-research/estuary/pinner/types"
"github.com/libp2p/go-libp2p-core/peer"
"bytes"
"encoding/gob"
"fmt"
"github.com/ipfs/go-cid"
package main
import (
"bytes"
"encoding/gob"
"encoding/json"
"fmt"
"github.com/application-research/estuary/pinner"
"github.com/libp2p/go-libp2p-core/peer"